Lines Matching refs:vlen
1404 int vlen = 0; // value from data line. in process_mset_command() local
1432 if (!safe_strtol(tokens[KEY_TOKEN + 1].value, (int32_t*)&vlen)) { in process_mset_command()
1437 if (vlen < 0 || vlen > (INT_MAX - 2)) { in process_mset_command()
1441 vlen += 2; in process_mset_command()
1535 it = item_alloc(key, nkey, of.client_flags, exptime, vlen); in process_mset_command()
1541 if (! item_size_ok(nkey, of.client_flags, vlen)) { in process_mset_command()
1601 c->sbytes = vlen; in process_mset_command()
1856 int vlen = strlen(tmpbuf); in process_marithmetic_command() local
1858 it = item_alloc(key, nkey, 0, 0, vlen+2); in process_marithmetic_command()
1860 memcpy(ITEM_data(it), tmpbuf, vlen); in process_marithmetic_command()
1861 memcpy(ITEM_data(it) + vlen, "\r\n", 2); in process_marithmetic_command()
1897 size_t vlen = strlen(tmpbuf); in process_marithmetic_command() local
1900 p = itoa_u32(vlen, p+3); in process_marithmetic_command()
1950 memcpy(p, tmpbuf, vlen); in process_marithmetic_command()
1951 p += vlen; in process_marithmetic_command()
1999 int vlen; in process_update_command() local
2017 && safe_strtol(tokens[4].value, (int32_t *)&vlen))) { in process_update_command()
2032 if (vlen < 0 || vlen > (INT_MAX - 2)) { in process_update_command()
2036 vlen += 2; in process_update_command()
2042 it = item_alloc(key, nkey, flags, exptime, vlen); in process_update_command()
2046 if (! item_size_ok(nkey, flags, vlen)) { in process_update_command()
2063 c->sbytes = vlen; in process_update_command()