• Home
  • Raw
  • Download

Lines Matching refs:dbuf

23   char dbuf[1024];  in ejdb_test3_1()  local
37 snprintf(dbuf, sizeof(dbuf), "{\"f\":{\"b\":%d},\"n\":%d}", i, i); in ejdb_test3_1()
38 rc = put_json(db, "c1", dbuf); in ejdb_test3_1()
41 rc = put_json(db, "c1", dbuf); in ejdb_test3_1()
44 rc = put_json(db, "c2", dbuf); in ejdb_test3_1()
351 char dbuf[1024]; in ejdb_test3_2() local
384 snprintf(dbuf, sizeof(dbuf), "{\"f\":{\"b\":%d},\"n\":%d}", v, i); in ejdb_test3_2()
385 rc = put_json(db, "a1", dbuf); in ejdb_test3_2()
388 snprintf(dbuf, sizeof(dbuf), "{\"f\":{\"b\":%d},\"n\":%d}", 126, 11); in ejdb_test3_2()
389 rc = put_json(db, "a1", dbuf); in ejdb_test3_2()
391 snprintf(dbuf, sizeof(dbuf), "{\"f\":{\"b\":%d},\"n\":%d}", 126, 12); in ejdb_test3_2()
392 rc = put_json(db, "a1", dbuf); in ejdb_test3_2()
530 char dbuf[1024]; in ejdb_test3_3() local
573 snprintf(dbuf, sizeof(dbuf), "{\"f\":{\"b\":\"%s\"},\"n\":%d}", data[0], 1); in ejdb_test3_3()
574 rc = put_json(db, "a2", dbuf); in ejdb_test3_3()
577 snprintf(dbuf, sizeof(dbuf), "{\"f\":{\"b\":\"%s\"},\"n\":%d}", data[1], 2); in ejdb_test3_3()
578 rc = put_json(db, "a2", dbuf); in ejdb_test3_3()
581 snprintf(dbuf, sizeof(dbuf), "{\"f\":{\"b\":\"%s\"},\"n\":%" PRId64 "}", data[1], INT64_MAX - 1); in ejdb_test3_3()
582 rc = put_json(db, "a2", dbuf); in ejdb_test3_3()
585 snprintf(dbuf, sizeof(dbuf), "{\"f\":{\"b\":\"%s\"},\"n\":%d}", data[2], 3); in ejdb_test3_3()
586 rc = put_json(db, "a2", dbuf); in ejdb_test3_3()
589 snprintf(dbuf, sizeof(dbuf), "{\"f\":{\"b\":\"%s\"},\"n\":%d}", data[2], 4); in ejdb_test3_3()
590 rc = put_json(db, "a2", dbuf); in ejdb_test3_3()
594 snprintf(dbuf, sizeof(dbuf), "{\"f\":{\"b\":\"%s\"},\"n\":%d}", data[3], 5); in ejdb_test3_3()
595 rc = put_json(db, "a2", dbuf); in ejdb_test3_3()
701 char dbuf[1024]; in ejdb_test3_4() local
720 snprintf(dbuf, sizeof(dbuf), "{\"tags\": [\"foo\", \"bar\", \"gaz\"],\"n\":%d}", 1); in ejdb_test3_4()
721 rc = put_json(db, "a3", dbuf); in ejdb_test3_4()
724 snprintf(dbuf, sizeof(dbuf), "{\"tags\": [\"gaz\", \"zaz\"],\"n\":%d}", 2); in ejdb_test3_4()
725 rc = put_json2(db, "a3", dbuf, &docId); in ejdb_test3_4()
848 char dbuf[1024]; in ejdb_test3_5() local
856 snprintf(dbuf, sizeof(dbuf), "{\"f\":{\"b\":%d},\"n\":%d}", i, i); in ejdb_test3_5()
857 rc = put_json(db, "c1", dbuf); in ejdb_test3_5()