line |
true |
false |
branch |
48
|
62 |
0 |
if ( !v || !SvOK(*v) ) |
|
0 |
62 |
if ( !v || !SvOK(*v) ) |
|
0 |
0 |
if ( !v || !SvOK(*v) ) |
|
0 |
0 |
if ( !v || !SvOK(*v) ) |
68
|
0 |
31 |
if (weight <= 0.0) |
71
|
31 |
0 |
host = SvPV(addr_sv, len); |
76
|
31 |
0 |
if (port) |
88
|
0 |
31 |
if (res != MEMCACHED_SUCCESS) |
97
|
16 |
15 |
if (! SvROK(sv)) |
113
|
15 |
0 |
if (addr_sv) |
114
|
0 |
15 |
SvGETMAGIC(*addr_sv); |
|
0 |
0 |
SvGETMAGIC(*addr_sv); |
118
|
15 |
0 |
if (ps) |
119
|
0 |
15 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
120
|
15 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
15 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
121
|
15 |
0 |
weight = SvNV(*ps); |
123
|
0 |
15 |
if (ps) |
124
|
0 |
0 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
125
|
0 |
15 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
126
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
|
0 |
0 |
noreply = SvTRUE(*ps); |
138
|
0 |
0 |
if (addr_sv) |
139
|
0 |
0 |
SvGETMAGIC(*addr_sv); |
|
0 |
0 |
SvGETMAGIC(*addr_sv); |
143
|
0 |
0 |
if (weight_sv) |
144
|
0 |
0 |
weight = SvNV(*weight_sv); |
168
|
16 |
0 |
if (ps) |
169
|
0 |
16 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
170
|
16 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
16 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
171
|
16 |
0 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
16 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
0 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
16 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
0 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
0 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
16 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
0 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
0 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
0 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
0 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
0 |
memd->utf8 = SvTRUE(*ps); |
|
16 |
0 |
memd->utf8 = SvTRUE(*ps); |
|
16 |
0 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
16 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
0 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
0 |
memd->utf8 = SvTRUE(*ps); |
|
16 |
0 |
memd->utf8 = SvTRUE(*ps); |
|
0 |
0 |
memd->utf8 = SvTRUE(*ps); |
174
|
16 |
0 |
if (ps) |
175
|
0 |
16 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
176
|
16 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
16 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
183
|
0 |
16 |
if (! memd->serialize_method) |
186
|
0 |
16 |
if (! memd->deserialize_method) |
203
|
15 |
1 |
if (ps) |
204
|
0 |
15 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
205
|
15 |
1 |
if (ps && SvOK(*ps)) |
|
0 |
15 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
206
|
15 |
0 |
memd->compress_threshold = SvIV(*ps); |
209
|
0 |
16 |
if (ps) |
210
|
0 |
0 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
211
|
0 |
16 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
212
|
0 |
0 |
memd->compress_ratio = SvNV(*ps); |
215
|
15 |
1 |
if (ps) |
216
|
0 |
15 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
217
|
15 |
1 |
if (ps && SvOK(*ps)) |
|
0 |
15 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
223
|
0 |
1 |
else if (memd->compress_threshold > 0) |
241
|
15 |
1 |
if (ps) |
242
|
0 |
15 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
243
|
15 |
1 |
if (ps && SvOK(*ps)) |
|
0 |
15 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
245
|
15 |
0 |
int res = client_set_ketama_points(c, SvIV(*ps)); |
246
|
0 |
15 |
if (res != MEMCACHED_SUCCESS) |
251
|
0 |
16 |
if (ps) |
252
|
0 |
0 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
253
|
0 |
16 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
254
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_hash_namespace(c, SvTRUE(*ps)); |
257
|
16 |
0 |
if (ps) |
258
|
0 |
16 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
259
|
16 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
16 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
264
|
16 |
0 |
if (! SvROK(*ps) || SvTYPE(SvRV(*ps)) != SVt_PVAV) |
|
0 |
16 |
if (! SvROK(*ps) || SvTYPE(SvRV(*ps)) != SVt_PVAV) |
268
|
31 |
16 |
for (i = 0; i <= max_index; ++i) |
271
|
0 |
31 |
if (! ps) |
274
|
0 |
31 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
280
|
16 |
0 |
if (ps) |
281
|
0 |
16 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
282
|
16 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
16 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
286
|
16 |
0 |
ns = SvPV(*ps, len); |
287
|
0 |
16 |
if (client_set_prefix(c, ns, len) != MEMCACHED_SUCCESS) |
292
|
15 |
1 |
if (ps) |
293
|
0 |
15 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
294
|
15 |
1 |
if (ps && SvOK(*ps)) |
|
0 |
15 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
295
|
0 |
15 |
client_set_connect_timeout(c, SvNV(*ps) * 1000.0); |
298
|
15 |
1 |
if (ps) |
299
|
0 |
15 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
300
|
15 |
1 |
if (ps && SvOK(*ps)) |
|
0 |
15 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
301
|
0 |
15 |
client_set_io_timeout(c, SvNV(*ps) * 1000.0); |
305
|
0 |
16 |
if (ps) |
306
|
0 |
0 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
307
|
0 |
16 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
308
|
0 |
0 |
client_set_io_timeout(c, SvNV(*ps) * 1000.0); |
311
|
15 |
1 |
if (ps) |
312
|
0 |
15 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
313
|
15 |
1 |
if (ps && SvOK(*ps)) |
|
0 |
15 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
314
|
15 |
0 |
client_set_max_failures(c, SvIV(*ps)); |
317
|
15 |
1 |
if (ps) |
318
|
0 |
15 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
319
|
15 |
1 |
if (ps && SvOK(*ps)) |
|
0 |
15 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
320
|
15 |
0 |
client_set_failure_timeout(c, SvIV(*ps)); |
323
|
15 |
1 |
if (ps) |
324
|
0 |
15 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
325
|
15 |
1 |
if (ps && SvOK(*ps)) |
|
0 |
15 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
326
|
15 |
0 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
15 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
15 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
15 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
15 |
0 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
15 |
0 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
15 |
0 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
15 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
15 |
client_set_close_on_error(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_close_on_error(c, SvTRUE(*ps)); |
329
|
15 |
1 |
if (ps) |
330
|
0 |
15 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
331
|
15 |
1 |
if (ps && SvOK(*ps)) |
|
0 |
15 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
332
|
15 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
15 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
15 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
15 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
|
15 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
|
15 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
15 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
|
15 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
|
0 |
0 |
client_set_nowait(c, SvTRUE(*ps)); |
335
|
0 |
16 |
if (ps) |
336
|
0 |
0 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
337
|
0 |
16 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
338
|
0 |
0 |
memd->max_size = SvUV(*ps); |
351
|
0 |
1 |
if (memd->compress_threshold > 0) |
358
|
0 |
0 |
if (len < (STRLEN) memd->compress_threshold) |
363
|
0 |
0 |
PUSHMARK(SP); |
364
|
0 |
0 |
XPUSHs(sv_2mortal(newRV_inc(sv))); |
365
|
0 |
0 |
XPUSHs(sv_2mortal(newRV_noinc(csv))); |
372
|
0 |
0 |
if (count != 1) |
376
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
|
0 |
0 |
if (SvTRUE(bsv) && sv_len(csv) <= len * memd->compress_ratio) |
395
|
0 |
0 |
if (flags & F_COMPRESS) |
403
|
0 |
0 |
PUSHMARK(SP); |
404
|
0 |
0 |
XPUSHs(sv_2mortal(newRV_inc(*sv))); |
405
|
0 |
0 |
XPUSHs(sv_2mortal(newRV_inc(rsv))); |
412
|
0 |
0 |
if (count != 1) |
416
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
|
0 |
0 |
if (SvTRUE(bsv)) |
438
|
0 |
1 |
if (SvROK(sv)) |
443
|
0 |
0 |
PUSHMARK(SP); |
444
|
0 |
0 |
XPUSHs(sv); |
451
|
0 |
0 |
if (count != 1) |
459
|
0 |
1 |
else if (SvUTF8(sv)) |
463
|
0 |
0 |
if (memd->utf8) |
484
|
0 |
0 |
if (flags & F_STORABLE) |
490
|
0 |
0 |
PUSHMARK(SP); |
491
|
0 |
0 |
XPUSHs(*sv); |
499
|
0 |
0 |
if (count != 1) |
503
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
|
0 |
0 |
if (! SvTRUE(ERRSV)) |
515
|
0 |
0 |
else if ((flags & F_UTF8) && memd->utf8) |
|
0 |
0 |
else if ((flags & F_UTF8) && memd->utf8) |
533
|
0 |
0 |
res = SvGROW(sv, value_size + 1); /* FIXME: check OOM. */ |
|
0 |
0 |
res = SvGROW(sv, value_size + 1); /* FIXME: check OOM. */ |
573
|
0 |
0 |
if (! decompress(aTHX_ value_res->memd, &value_sv, m->flags) |
574
|
0 |
0 |
|| ! deserialize(aTHX_ value_res->memd, &value_sv, m->flags)) |
580
|
0 |
0 |
if (! m->use_cas) |
604
|
0 |
0 |
if (! decompress(aTHX_ value_res->memd, &value_sv, m->flags) |
605
|
0 |
0 |
|| ! deserialize(aTHX_ value_res->memd, &value_sv, m->flags)) |
611
|
0 |
0 |
if (! m->use_cas) |
637
|
0 |
0 |
if (res) |
672
|
2 |
0 |
if (SvGAMAGIC(sv)) |
|
0 |
2 |
if (SvGAMAGIC(sv)) |
|
0 |
0 |
if (SvGAMAGIC(sv)) |
|
0 |
0 |
if (SvGAMAGIC(sv)) |
675
|
2 |
0 |
return SvPV(sv, *lp); |
692
|
0 |
16 |
if (! memd->c) |
694
|
16 |
0 |
if (! SvROK(conf) || SvTYPE(SvRV(conf)) != SVt_PVHV) |
|
0 |
16 |
if (! SvROK(conf) || SvTYPE(SvRV(conf)) != SVt_PVHV) |
708
|
15 |
1 |
if (memd->compress_method) |
713
|
16 |
0 |
if (memd->serialize_method) |
728
|
0 |
0 |
if (enable && ! memd->compress_method) |
|
0 |
0 |
if (enable && ! memd->compress_method) |
730
|
0 |
0 |
else if ((memd->compress_threshold > 0) != enable) |
760
|
1 |
0 |
noreply = (GIMME_V == G_VOID); |
764
|
0 |
1 |
if (ix == CMD_CAS) |
766
|
0 |
0 |
cas = SvUV(ST(arg)); |
774
|
0 |
1 |
if (buf_len > memd->max_size) |
776
|
0 |
1 |
if (items > arg) |
780
|
0 |
0 |
SvGETMAGIC(sv); |
|
0 |
0 |
SvGETMAGIC(sv); |
781
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
782
|
0 |
0 |
exptime = SvIV(sv); |
784
|
1 |
0 |
if (ix != CMD_CAS) |
795
|
1 |
0 |
if (! noreply) |
798
|
0 |
1 |
if (val) |
824
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
826
|
0 |
0 |
for (i = 1; i < items; ++i) |
844
|
0 |
0 |
if (! (SvROK(sv) && SvTYPE(SvRV(sv)) == SVt_PVAV)) |
|
0 |
0 |
if (! (SvROK(sv) && SvTYPE(SvRV(sv)) == SVt_PVAV)) |
850
|
0 |
0 |
if (ix == CMD_CAS) |
852
|
0 |
0 |
cas = SvUV(*safe_av_fetch(aTHX_ av, arg, 0)); |
860
|
0 |
0 |
if (buf_len > memd->max_size) |
862
|
0 |
0 |
if (av_len(av) >= arg) |
866
|
0 |
0 |
if (ps) |
867
|
0 |
0 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
868
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
869
|
0 |
0 |
exptime = SvIV(*ps); |
872
|
0 |
0 |
if (ix != CMD_CAS) |
884
|
0 |
0 |
if (! noreply) |
886
|
0 |
0 |
if (GIMME_V == G_SCALAR) |
|
0 |
0 |
if (GIMME_V == G_SCALAR) |
889
|
0 |
0 |
for (i = 0; i <= av_len(object.arg); ++i) |
892
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
897
|
0 |
0 |
if (! he) |
907
|
0 |
0 |
EXTEND(SP, max_index + 1); |
|
0 |
0 |
EXTEND(SP, max_index + 1); |
908
|
0 |
0 |
for (i = 0; i <= max_index; ++i) |
911
|
0 |
0 |
if (val) |
937
|
1 |
0 |
key = SvPV(ST(1), key_len); |
940
|
0 |
1 |
if (value_res.vals) |
967
|
0 |
0 |
for (i = 0; i < key_count; ++i) |
977
|
0 |
0 |
for (i = 0; i <= av_len((AV *) value_res.vals); ++i) |
980
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
985
|
0 |
0 |
if (! he) |
1013
|
0 |
0 |
SvGETMAGIC(sv); |
|
0 |
0 |
SvGETMAGIC(sv); |
1014
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
1015
|
0 |
0 |
exptime = SvPV(sv, exptime_len); |
1016
|
0 |
0 |
key = SvPV(ST(2), key_len); |
1019
|
0 |
0 |
if (value_res.vals) |
1046
|
0 |
0 |
if (key_count > 1) |
1050
|
0 |
0 |
SvGETMAGIC(sv); |
|
0 |
0 |
SvGETMAGIC(sv); |
1051
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
1052
|
0 |
0 |
exptime = SvPV(sv, exptime_len); |
1053
|
0 |
0 |
for (i = 0; i < key_count; ++i) |
1062
|
0 |
0 |
for (i = 0; i <= av_len((AV *) value_res.vals); ++i) |
1065
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
1070
|
0 |
0 |
if (! he) |
1094
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
1097
|
0 |
0 |
if (items > 2) |
1101
|
0 |
0 |
SvGETMAGIC(sv); |
|
0 |
0 |
SvGETMAGIC(sv); |
1102
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
1103
|
0 |
0 |
arg = SvUV(sv); |
1107
|
0 |
0 |
if (! noreply) |
1110
|
0 |
0 |
if (val) |
1132
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
1134
|
0 |
0 |
for (i = 1; i < items; ++i) |
1143
|
0 |
0 |
if (! SvROK(sv)) |
1149
|
0 |
0 |
if (SvTYPE(SvRV(sv)) != SVt_PVAV) |
1154
|
0 |
0 |
if (av_len(av) >= 1) |
1158
|
0 |
0 |
if (ps) |
1159
|
0 |
0 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
1160
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
1161
|
0 |
0 |
arg = SvUV(*ps); |
1168
|
0 |
0 |
if (! noreply) |
1170
|
0 |
0 |
if (GIMME_V == G_SCALAR) |
|
0 |
0 |
if (GIMME_V == G_SCALAR) |
1173
|
0 |
0 |
for (i = 0; i <= av_len(object.arg); ++i) |
1176
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
1182
|
0 |
0 |
if (SvROK(key)) |
1186
|
0 |
0 |
if (! he) |
1196
|
0 |
0 |
EXTEND(SP, max_index + 1); |
|
0 |
0 |
EXTEND(SP, max_index + 1); |
1197
|
0 |
0 |
for (i = 0; i <= max_index; ++i) |
1200
|
0 |
0 |
if (val) |
1223
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
1226
|
0 |
0 |
if (items > 2) |
1232
|
0 |
0 |
SvGETMAGIC(sv); |
|
0 |
0 |
SvGETMAGIC(sv); |
1233
|
0 |
0 |
if (SvOK(sv) && SvUV(sv) != 0) |
|
0 |
0 |
if (SvOK(sv) && SvUV(sv) != 0) |
|
0 |
0 |
if (SvOK(sv) && SvUV(sv) != 0) |
|
0 |
0 |
if (SvOK(sv) && SvUV(sv) != 0) |
|
0 |
0 |
if (SvOK(sv) && SvUV(sv) != 0) |
1238
|
0 |
0 |
if (! noreply) |
1241
|
0 |
0 |
if (val) |
1261
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
1263
|
0 |
0 |
for (i = 1; i < items; ++i) |
1270
|
0 |
0 |
if (! SvROK(sv)) |
1280
|
0 |
0 |
if (SvTYPE(SvRV(sv)) != SVt_PVAV) |
1285
|
0 |
0 |
if (av_len(av) >= 1) |
1289
|
0 |
0 |
if (ps) |
1290
|
0 |
0 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
1291
|
0 |
0 |
if (ps && SvOK(*ps) && SvUV(*ps) != 0) |
|
0 |
0 |
if (ps && SvOK(*ps) && SvUV(*ps) != 0) |
|
0 |
0 |
if (ps && SvOK(*ps) && SvUV(*ps) != 0) |
|
0 |
0 |
if (ps && SvOK(*ps) && SvUV(*ps) != 0) |
|
0 |
0 |
if (ps && SvOK(*ps) && SvUV(*ps) != 0) |
|
0 |
0 |
if (ps && SvOK(*ps) && SvUV(*ps) != 0) |
1299
|
0 |
0 |
if (! noreply) |
1301
|
0 |
0 |
if (GIMME_V == G_SCALAR) |
|
0 |
0 |
if (GIMME_V == G_SCALAR) |
1304
|
0 |
0 |
for (i = 0; i <= av_len(object.arg); ++i) |
1307
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
1313
|
0 |
0 |
if (SvROK(key)) |
1317
|
0 |
0 |
if (! he) |
1327
|
0 |
0 |
EXTEND(SP, max_index + 1); |
|
0 |
0 |
EXTEND(SP, max_index + 1); |
1328
|
0 |
0 |
for (i = 0; i <= max_index; ++i) |
1331
|
0 |
0 |
if (val) |
1356
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
1359
|
0 |
0 |
if (items > 2) |
1363
|
0 |
0 |
SvGETMAGIC(sv); |
|
0 |
0 |
SvGETMAGIC(sv); |
1364
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
1365
|
0 |
0 |
exptime = SvIV(sv); |
1369
|
0 |
0 |
if (! noreply) |
1372
|
0 |
0 |
if (val) |
1392
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
1394
|
0 |
0 |
for (i = 1; i < items; ++i) |
1404
|
0 |
0 |
if (! (SvROK(sv) && SvTYPE(SvRV(sv)) == SVt_PVAV)) |
|
0 |
0 |
if (! (SvROK(sv) && SvTYPE(SvRV(sv)) == SVt_PVAV)) |
1411
|
0 |
0 |
if (av_len(av) >= 1) |
1415
|
0 |
0 |
if (ps) |
1416
|
0 |
0 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
1417
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
1418
|
0 |
0 |
exptime = SvIV(*ps); |
1424
|
0 |
0 |
if (! noreply) |
1426
|
0 |
0 |
if (GIMME_V == G_SCALAR) |
|
0 |
0 |
if (GIMME_V == G_SCALAR) |
1429
|
0 |
0 |
for (i = 0; i <= av_len(object.arg); ++i) |
1432
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
1438
|
0 |
0 |
if (SvROK(key)) |
1442
|
0 |
0 |
if (! he) |
1452
|
0 |
0 |
EXTEND(SP, max_index + 1); |
|
0 |
0 |
EXTEND(SP, max_index + 1); |
1453
|
0 |
0 |
for (i = 0; i <= max_index; ++i) |
1456
|
0 |
0 |
if (val) |
1480
|
0 |
0 |
if (items > 1) |
1483
|
0 |
0 |
SvGETMAGIC(sv); |
|
0 |
0 |
SvGETMAGIC(sv); |
1484
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
1485
|
0 |
0 |
delay = SvUV(sv); |
1487
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
1489
|
0 |
0 |
if (! noreply) |
1492
|
0 |
0 |
for (i = 0; i <= av_len(object.arg); ++i) |
1496
|
0 |
0 |
if (version && SvOK(*version)) |
|
0 |
0 |
if (version && SvOK(*version)) |
|
0 |
0 |
if (version && SvOK(*version)) |
|
0 |
0 |
if (version && SvOK(*version)) |
1500
|
0 |
0 |
if (! he) |
1531
|
0 |
16 |
for (i = 0; i <= av_len(object.arg); ++i) |
1535
|
0 |
0 |
if (version && SvOK(*version)) |
|
0 |
0 |
if (version && SvOK(*version)) |
|
0 |
0 |
if (version && SvOK(*version)) |
|
0 |
0 |
if (version && SvOK(*version)) |
1539
|
0 |
0 |
if (! he) |
1557
|
0 |
0 |
if (items > 1) |
1559
|
0 |
0 |
ns = SvPV(ST(1), len); |
1560
|
0 |
0 |
if (client_set_prefix(memd->c, ns, len) != MEMCACHED_SUCCESS) |