Home
last modified time | relevance | path

Searched refs:kbuf (Results 1 – 19 of 19) sorted by relevance

/third_party/iowow/src/kv/tests/
Diwkv_test1.c9 char kbuf[KBUFSZ]; variable
88 snprintf(kbuf, KBUFSZ, "%05dkkk", c); in iwkv_test3_impl()
90 key.data = kbuf; in iwkv_test3_impl()
104 snprintf(kbuf, KBUFSZ, "%05daaa", 1858); in iwkv_test3_impl()
155 snprintf(kbuf, KBUFSZ, "%03dkkk", i); in iwkv_test2_impl()
157 key.data = kbuf; in iwkv_test2_impl()
168 snprintf(kbuf, KBUFSZ, "%03dkkk", i); in iwkv_test2_impl()
171 key.data = kbuf; in iwkv_test2_impl()
440 snprintf(kbuf, KBUFSZ, "%03dkkk", i); in iwkv_test1_impl()
442 key.data = kbuf; in iwkv_test1_impl()
[all …]
Diwkv_test5.c10 static char kbuf[KBUFSZ]; variable
44 snprintf(kbuf, KBUFSZ, "%03dkkk", i); in iwkv_test5_2()
46 key.data = kbuf; in iwkv_test5_2()
76 snprintf(kbuf, KBUFSZ, "%03dkkk", i); in iwkv_test5_2()
78 key.data = kbuf; in iwkv_test5_2()
126 snprintf(kbuf, KBUFSZ, "%03dkkk", i); in iwkv_test5_1()
128 key.data = kbuf; in iwkv_test5_1()
140 snprintf(kbuf, KBUFSZ, "%03dkkk", 25); in iwkv_test5_1()
141 key.data = kbuf; in iwkv_test5_1()
152 snprintf(kbuf, KBUFSZ, "%03dkkk", 29); in iwkv_test5_1()
[all …]
Diwkv_test8.c12 static char kbuf[KBUFSZ]; variable
52 snprintf(kbuf, KBUFSZ, "%d", i); in iwkv_test8_1()
54 key.data = kbuf; in iwkv_test8_1()
84 snprintf(kbuf, KBUFSZ, "%d", i); in iwkv_test8_1()
86 key.data = kbuf; in iwkv_test8_1()
128 snprintf(kbuf, KBUFSZ, "%dkey", i); in t82()
129 key.data = kbuf; in t82()
155 snprintf(kbuf, KBUFSZ, "%dkey", i); in t82()
156 key.data = kbuf; in t82()
Diwkv_test7.c10 char kbuf[KBUFSZ]; variable
45 snprintf(kbuf, KBUFSZ, "5368fce5-c138-4f0d-bfee-dbce07eb28e1%d", i); in iwkv_test7_1_impl()
47 key.data = kbuf; in iwkv_test7_1_impl()
58 snprintf(kbuf, KBUFSZ, "5368fce5-c138-4f0d-bfee-dbce07eb28e1%d", i); in iwkv_test7_1_impl()
60 key.data = kbuf; in iwkv_test7_1_impl()
Diwkv_test10.c10 static char kbuf[KBUFSZ]; variable
40 snprintf(kbuf, KBUFSZ, "%d", j); in iwkv_test10_1_impl()
42 key.data = kbuf; in iwkv_test10_1_impl()
76 snprintf(kbuf, KBUFSZ, "%d", j); in iwkv_test10_1_impl()
78 key.data = kbuf; in iwkv_test10_1_impl()
Diwkv_test6.c89 char kbuf[PREFIX_KEY_LEN_V1]; in iwkv_test6_2_impl() local
100 kbuf[i] = (i % 94) + 33; in iwkv_test6_2_impl()
107 key.data = kbuf; in iwkv_test6_2_impl()
Diwkv_test4.c179 char kbuf[100]; in iwkv_test2_impl() local
206 key.data = kbuf; in iwkv_test2_impl()
210 snprintf(key.data, sizeof(kbuf), "%016d", k); in iwkv_test2_impl()
/third_party/iowow/src/utils/tests/
Diwhmap_test1.c53 char kbuf[64]; in test_basic_crud_str() local
58 snprintf(kbuf, sizeof(kbuf), "key%d", i); in test_basic_crud_str()
60 iwrc rc = iwhmap_put(hm, strdup(kbuf), strdup(vbuf)); in test_basic_crud_str()
64 snprintf(kbuf, sizeof(kbuf), "key%d", i); in test_basic_crud_str()
66 const char *vp = iwhmap_get(hm, kbuf); in test_basic_crud_str()
70 iwhmap_remove(hm, kbuf); in test_basic_crud_str()
78 snprintf(kbuf, sizeof(kbuf), "key%d", i); in test_basic_crud_str()
80 const char *vp = iwhmap_get(hm, kbuf); in test_basic_crud_str()
84 iwhmap_remove(hm, kbuf); in test_basic_crud_str()
/third_party/ejdb/src/jbi/
Djbi_util.c240 char *kbuf = skey; in jbi_node_expr_matched() local
250 rc = iwkv_cursor_copy_key(cur, kbuf, sizeof(skey) - 1, &sz, 0); in jbi_node_expr_matched()
253 kbuf = malloc(sz); in jbi_node_expr_matched()
254 if (!kbuf) { in jbi_node_expr_matched()
258 rc = iwkv_cursor_copy_key(cur, kbuf, sizeof(skey) - 1, &sz, 0); in jbi_node_expr_matched()
262 kbuf[sz] = '\0'; in jbi_node_expr_matched()
264 lv.vstr = kbuf; in jbi_node_expr_matched()
266 memcpy(&lv.vi64, kbuf, sizeof(lv.vi64)); in jbi_node_expr_matched()
269 kbuf[sz] = '\0'; in jbi_node_expr_matched()
271 lv.vf64 = (double) iwatof(kbuf); in jbi_node_expr_matched()
[all …]
/third_party/musl/src/stat/
Dstatvfs.c46 struct statfs kbuf; in statvfs() local
47 if (__statfs(path, &kbuf)<0) return -1; in statvfs()
48 fixup(buf, &kbuf); in statvfs()
54 struct statfs kbuf; in fstatvfs() local
55 if (__fstatfs(fd, &kbuf)<0) return -1; in fstatvfs()
56 fixup(buf, &kbuf); in fstatvfs()
/third_party/iowow/src/kv/benchmark/
Dbmbase.c322 #define FILLKEY() snprintf(key.data, sizeof(kbuf), bm.ksz == 16 ? "%016d" : bm.ksz == 192 ? "%0192d…
325 char kbuf[1025]; in _do_write() local
327 key.data = kbuf; in _do_write()
350 char kbuf[1025]; in _do_delete() local
352 key.data = kbuf; in _do_delete()
373 char kbuf[1025]; in _do_read_random() local
376 key.data = kbuf; in _do_read_random()
393 char kbuf[1025]; in _do_read_missing() local
396 key.data = kbuf; in _do_read_missing()
399 snprintf(key.data, sizeof(kbuf), in _do_read_missing()
[all …]
/third_party/node/deps/npm/node_modules/sshpk/lib/formats/
Dssh.js35 var kbuf = Buffer.from(m[2], 'base64');
49 key = rfc4253.read(kbuf);
54 kbuf = Buffer.from(m[2], 'base64');
55 key = rfc4253.readInternal(ret, 'public', kbuf);
58 key = rfc4253.readInternal(ret, 'public', kbuf);
/third_party/iowow/src/kv/dbg/
Diwkvdbg.c9 uint8_t *mm, *vbuf, *kbuf; in iwkvd_kvblk() local
23 rc = _kvblk_key_peek(kb, i, mm, &kbuf, &klen); in iwkvd_kvblk()
31 klen, kbuf, MIN(vlen, maxvlen), vbuf); in iwkvd_kvblk()
42 uint8_t *mm, *vbuf, *kbuf; in iwkvd_sblk() local
85 rc = _kvblk_key_peek(sb->kvblk, sb->pi[i], mm, &kbuf, &klen); in iwkvd_sblk()
92 …fprintf(f, " [%03d,%03d] %.*s:%.*s", i, sb->pi[i], klen, kbuf, MIN(vlen, IWKVD_MAX_VALSZ), vbuf… in iwkvd_sblk()
94 fprintf(f, " [%03d,%03d] %.*s", i, sb->pi[i], klen, kbuf); in iwkvd_sblk()
/third_party/iowow/src/kv/
Diwkv.h470 IW_EXPORT iwrc iwkv_cursor_copy_key(IWKV_cursor cur, void *kbuf, size_t kbufsz, size_t *ksz, int64_…
Diwkv.c2057 uint8_t *mm, *kbuf; in _sblk_rmkv() local
2061 rc = _kvblk_key_peek(sblk->kvblk, sblk->pi[idx], mm, &kbuf, &klen); in _sblk_rmkv()
2067 memcpy(sblk->lk, kbuf, sblk->lkl); in _sblk_rmkv()
3920 iwrc iwkv_cursor_copy_key(IWKV_cursor cur, void *kbuf, size_t kbufsz, size_t *ksz, int64_t *compoun… in iwkv_cursor_copy_key() argument
3959 memcpy(kbuf, rkey.data, MIN(kbufsz, rkey.size)); in iwkv_cursor_copy_key()
3961 memcpy(kbuf, okey + (okeysz - rkey.size), MIN(kbufsz, rkey.size)); in iwkv_cursor_copy_key()
3968 memcpy(kbuf, okey, MIN(kbufsz, okeysz)); in iwkv_cursor_copy_key()
/third_party/openssl/engines/
De_loader_attic.c443 char kbuf[PEM_BUFSIZE]; in try_decode_PKCS8Encrypted() local
468 if ((pass = file_get_pass(ui_method, kbuf, PEM_BUFSIZE, in try_decode_PKCS8Encrypted()
/third_party/iowow/src/json/
Diwjson.c365 char *key, kbuf[256]; in jbl_object_copy_to() local
376 memcpy(kbuf, key, klen); in jbl_object_copy_to()
377 kbuf[klen] = '\0'; in jbl_object_copy_to()
378 RCC(rc, finish, jbl_set_nested(target, kbuf, holder)); in jbl_object_copy_to()
/third_party/iowow/
DChangelog440 …* `iwkv_cursor_copy_key` can accept zero kbuf,kbufsz only compound part will returned in this case…
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h16016 void *kbuf; member
34746 char kbuf[1024]; member
45060 struct io_buffer *kbuf; member