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) |
1049
|
0 |
0 |
SvGETMAGIC(sv); |
|
0 |
0 |
SvGETMAGIC(sv); |
1050
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
1051
|
0 |
0 |
exptime = SvPV(sv, exptime_len); |
1052
|
0 |
0 |
for (i = 0; i < key_count; ++i) |
1061
|
0 |
0 |
for (i = 0; i <= av_len((AV *) value_res.vals); ++i) |
1064
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
1069
|
0 |
0 |
if (! he) |
1093
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
1096
|
0 |
0 |
if (items > 2) |
1100
|
0 |
0 |
SvGETMAGIC(sv); |
|
0 |
0 |
SvGETMAGIC(sv); |
1101
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
1102
|
0 |
0 |
arg = SvUV(sv); |
1106
|
0 |
0 |
if (! noreply) |
1109
|
0 |
0 |
if (val) |
1131
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
1133
|
0 |
0 |
for (i = 1; i < items; ++i) |
1142
|
0 |
0 |
if (! SvROK(sv)) |
1148
|
0 |
0 |
if (SvTYPE(SvRV(sv)) != SVt_PVAV) |
1153
|
0 |
0 |
if (av_len(av) >= 1) |
1157
|
0 |
0 |
if (ps) |
1158
|
0 |
0 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
1159
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
1160
|
0 |
0 |
arg = SvUV(*ps); |
1167
|
0 |
0 |
if (! noreply) |
1169
|
0 |
0 |
if (GIMME_V == G_SCALAR) |
|
0 |
0 |
if (GIMME_V == G_SCALAR) |
1172
|
0 |
0 |
for (i = 0; i <= av_len(object.arg); ++i) |
1175
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
1181
|
0 |
0 |
if (SvROK(key)) |
1185
|
0 |
0 |
if (! he) |
1195
|
0 |
0 |
EXTEND(SP, max_index + 1); |
|
0 |
0 |
EXTEND(SP, max_index + 1); |
1196
|
0 |
0 |
for (i = 0; i <= max_index; ++i) |
1199
|
0 |
0 |
if (val) |
1222
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
1225
|
0 |
0 |
if (items > 2) |
1231
|
0 |
0 |
SvGETMAGIC(sv); |
|
0 |
0 |
SvGETMAGIC(sv); |
1232
|
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) |
1237
|
0 |
0 |
if (! noreply) |
1240
|
0 |
0 |
if (val) |
1260
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
1262
|
0 |
0 |
for (i = 1; i < items; ++i) |
1269
|
0 |
0 |
if (! SvROK(sv)) |
1279
|
0 |
0 |
if (SvTYPE(SvRV(sv)) != SVt_PVAV) |
1284
|
0 |
0 |
if (av_len(av) >= 1) |
1288
|
0 |
0 |
if (ps) |
1289
|
0 |
0 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
1290
|
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) |
1298
|
0 |
0 |
if (! noreply) |
1300
|
0 |
0 |
if (GIMME_V == G_SCALAR) |
|
0 |
0 |
if (GIMME_V == G_SCALAR) |
1303
|
0 |
0 |
for (i = 0; i <= av_len(object.arg); ++i) |
1306
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
1312
|
0 |
0 |
if (SvROK(key)) |
1316
|
0 |
0 |
if (! he) |
1326
|
0 |
0 |
EXTEND(SP, max_index + 1); |
|
0 |
0 |
EXTEND(SP, max_index + 1); |
1327
|
0 |
0 |
for (i = 0; i <= max_index; ++i) |
1330
|
0 |
0 |
if (val) |
1355
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
1358
|
0 |
0 |
if (items > 2) |
1362
|
0 |
0 |
SvGETMAGIC(sv); |
|
0 |
0 |
SvGETMAGIC(sv); |
1363
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
1364
|
0 |
0 |
exptime = SvIV(sv); |
1368
|
0 |
0 |
if (! noreply) |
1371
|
0 |
0 |
if (val) |
1391
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
1393
|
0 |
0 |
for (i = 1; i < items; ++i) |
1403
|
0 |
0 |
if (! (SvROK(sv) && SvTYPE(SvRV(sv)) == SVt_PVAV)) |
|
0 |
0 |
if (! (SvROK(sv) && SvTYPE(SvRV(sv)) == SVt_PVAV)) |
1410
|
0 |
0 |
if (av_len(av) >= 1) |
1414
|
0 |
0 |
if (ps) |
1415
|
0 |
0 |
SvGETMAGIC(*ps); |
|
0 |
0 |
SvGETMAGIC(*ps); |
1416
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
|
0 |
0 |
if (ps && SvOK(*ps)) |
1417
|
0 |
0 |
exptime = SvIV(*ps); |
1423
|
0 |
0 |
if (! noreply) |
1425
|
0 |
0 |
if (GIMME_V == G_SCALAR) |
|
0 |
0 |
if (GIMME_V == G_SCALAR) |
1428
|
0 |
0 |
for (i = 0; i <= av_len(object.arg); ++i) |
1431
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
|
0 |
0 |
if (val && SvOK(*val)) |
1437
|
0 |
0 |
if (SvROK(key)) |
1441
|
0 |
0 |
if (! he) |
1451
|
0 |
0 |
EXTEND(SP, max_index + 1); |
|
0 |
0 |
EXTEND(SP, max_index + 1); |
1452
|
0 |
0 |
for (i = 0; i <= max_index; ++i) |
1455
|
0 |
0 |
if (val) |
1479
|
0 |
0 |
if (items > 1) |
1482
|
0 |
0 |
SvGETMAGIC(sv); |
|
0 |
0 |
SvGETMAGIC(sv); |
1483
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
|
0 |
0 |
if (SvOK(sv)) |
1484
|
0 |
0 |
delay = SvUV(sv); |
1486
|
0 |
0 |
noreply = (GIMME_V == G_VOID); |
1488
|
0 |
0 |
if (! noreply) |
1491
|
0 |
0 |
for (i = 0; i <= av_len(object.arg); ++i) |
1495
|
0 |
0 |
if (version && SvOK(*version)) |
|
0 |
0 |
if (version && SvOK(*version)) |
|
0 |
0 |
if (version && SvOK(*version)) |
|
0 |
0 |
if (version && SvOK(*version)) |
1499
|
0 |
0 |
if (! he) |
1530
|
0 |
16 |
for (i = 0; i <= av_len(object.arg); ++i) |
1534
|
0 |
0 |
if (version && SvOK(*version)) |
|
0 |
0 |
if (version && SvOK(*version)) |
|
0 |
0 |
if (version && SvOK(*version)) |
|
0 |
0 |
if (version && SvOK(*version)) |
1538
|
0 |
0 |
if (! he) |
1556
|
0 |
0 |
if (items > 1) |
1558
|
0 |
0 |
ns = SvPV(ST(1), len); |
1559
|
0 |
0 |
if (client_set_prefix(memd->c, ns, len) != MEMCACHED_SUCCESS) |