Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 232) sorted by relevance

12345678910

/trunk/couchdb/src/ejson/yajl/
H A Dyajl_buf.c49 void yajl_buf_ensure_available(yajl_buf buf, unsigned int want) in yajl_buf_ensure_available()
80 void yajl_buf_free(yajl_buf buf) in yajl_buf_free()
87 void yajl_buf_append(yajl_buf buf, const void * data, unsigned int len) in yajl_buf_append()
98 void yajl_buf_clear(yajl_buf buf) in yajl_buf_clear()
104 const unsigned char * yajl_buf_data(yajl_buf buf) in yajl_buf_data()
109 unsigned int yajl_buf_len(yajl_buf buf) in yajl_buf_len()
115 yajl_buf_truncate(yajl_buf buf, unsigned int len) in yajl_buf_truncate()
/trunk/couchdb/src/couch_view_parser/yajl/
H A Dyajl_buf.c33 void yajl_buf_ensure_available(yajl_buf buf, size_t want) in yajl_buf_ensure_available()
64 void yajl_buf_free(yajl_buf buf) in yajl_buf_free()
71 void yajl_buf_append(yajl_buf buf, const void * data, size_t len) in yajl_buf_append()
82 void yajl_buf_clear(yajl_buf buf) in yajl_buf_clear()
88 const unsigned char * yajl_buf_data(yajl_buf buf) in yajl_buf_data()
93 size_t yajl_buf_len(yajl_buf buf) in yajl_buf_len()
99 yajl_buf_truncate(yajl_buf buf, size_t len) in yajl_buf_truncate()
/trunk/forestdb/src/
H A Dchecksum.cc35 static uint32_t crc32c(const uint8_t* buf, in crc32c()
51 uint32_t get_checksum(const uint8_t* buf, in get_checksum()
70 uint32_t get_checksum(const uint8_t* buf, in get_checksum()
86 bool perform_integrity_check(const uint8_t* buf, in perform_integrity_check()
112 bool detect_and_check_crc(const uint8_t* buf, in detect_and_check_crc()
/trunk/platform/tests/crc32/
H A Dcrc32c_test.cc31 uint32_t zero_32(uint8_t* buf, size_t len) { in zero_32()
37 uint32_t ones_32(uint8_t* buf, size_t len) { in ones_32()
43 uint32_t incrementing_32(uint8_t* buf, size_t len) { in incrementing_32()
51 uint32_t decrementing_32(uint8_t* buf, size_t len) { in decrementing_32()
60 uint32_t iscsi_read(uint8_t* buf, size_t len) { in iscsi_read()
85 uint32_t long_data(uint8_t* buf, size_t len) { in long_data()
98 uint32_t short_data(uint8_t* buf, size_t len) { in short_data()
/trunk/couchstore/src/
H A Dnode_types.cc15 size_t read_kv(const void *buf, sized_buf *key, sized_buf *value) in read_kv()
27 void* write_kv(void *buf, sized_buf key, sized_buf value) in write_kv()
39 node_pointer *read_root(void *buf, int size) in read_root()
69 size_t encode_root(void *buf, node_pointer *node) in encode_root()
103 uint64_t decode_sequence_key(const sized_buf *buf) in decode_sequence_key()
H A Dcouch_file_write.cc29 static ssize_t write_entire_buffer(tree_file *file, const void* buf, in write_entire_buffer()
63 const sized_buf* buf, in raw_write()
96 couchstore_error_t write_header(tree_file *file, sized_buf *buf, cs_off_t *pos) in write_header()
134 int db_write_buf(tree_file *file, const sized_buf *buf, cs_off_t *pos, size_t *disk_size) in db_write_buf()
185 const sized_buf *buf, in db_write_buf_compressed()
H A Dcouchscript.cc115 char buf[256]; in couch_open() local
187 char buf[256]; in couch_get_from_docinfo() local
221 char buf[256]; in couch_get() local
231 char buf[1024]; in couch_get() local
274 char buf[1256]; in couch_truncate() local
314 char buf[256]; in couch_delete() local
410 char buf[256]; in couch_save_bulk() local
472 char buf[256]; in couch_save() local
501 char buf[256]; in couch_save_local() local
529 char buf[256]; in couch_delete_local() local
[all …]
H A Dcrc32.cc104 int perform_integrity_check(const uint8_t* buf, in perform_integrity_check()
125 uint32_t get_checksum(const uint8_t* buf, in get_checksum()
/trunk/kv_engine/include/mcbp/protocol/
H A Dunsigned_leb128.h262 decode(cb::const_byte_buffer buf, NoThrow) { in decode()
297 decode(cb::const_byte_buffer buf) { in decode()
312 decodeCanonical(cb::const_byte_buffer buf) { in decodeCanonical()
326 decodeNoThrow(cb::const_byte_buffer buf) { in decodeNoThrow()
335 skip_unsigned_leb128(cb::const_byte_buffer buf) { in skip_unsigned_leb128()
341 cb::const_byte_buffer buf) { in unsigned_leb128_get_stop_byte_index()
/trunk/platform/src/
H A Dstring_hex.cc52 char buf[32]; in to_hex() local
58 char buf[32]; in to_hex() local
64 char buf[32]; in to_hex() local
70 char buf[32]; in to_hex() local
H A Dcrc32c_hw_accel.cc100 uint32_t crc32c_hw_1way(const uint8_t* buf, size_t len, uint32_t crc_in) { in crc32c_hw_1way()
130 uint32_t crc32c_hw_short_block(const uint8_t* buf, size_t len, uint32_t crc_in) { in crc32c_hw_short_block()
187 uint32_t crc32c_hw(const uint8_t* buf, size_t len, uint32_t crc_in) { in crc32c_hw()
H A Dcrc32c.cc178 uint32_t crc32c_sw_1way(const uint8_t* buf, size_t len, uint32_t crc_in) { in crc32c_sw_1way()
207 uint32_t crc32c_sw_short_block(const uint8_t* buf, size_t len, uint32_t crc_in) { in crc32c_sw_short_block()
260 uint32_t crc32c_sw (const uint8_t* buf, size_t len, uint32_t crc_in) { in crc32c_sw()
401 uint32_t crc32c (const uint8_t* buf, size_t len, uint32_t crc_in) { in crc32c()
/trunk/libcouchbase/tests/htparse/
H A Dt_basic.cc24 string buf; in TEST_F() local
64 string buf = "HTTP/1.0 200 OK\r\n" in TEST_F() local
88 string buf = "blahblahblah"; in TEST_F() local
103 string buf = "HTTP/1.0 200 OK\r\n" in TEST_F() local
142 string buf = "HTTP/1.0 200 OK\r\n" in TEST_F() local
/trunk/kv_engine/statistics/
H A Dcbstat_collector.cc56 fmt::memory_buffer buf; in addStat() local
64 fmt::memory_buffer buf; in addStat() local
72 fmt::memory_buffer buf; in addStat() local
80 fmt::memory_buffer buf; in addStat() local
90 fmt::memory_buffer buf; in addStat() local
190 fmt::memory_buffer buf; in formatKey() local
/trunk/couchstore/src/views/
H A Dindex_header.cc305 char *buf = nullptr, *b = nullptr; in encode_index_header() local
486 static void enc_uint48(uint64_t u, char **buf) in enc_uint48()
495 static void enc_uint64(uint64_t u, char **buf) in enc_uint64()
503 static void enc_seq_list(const void *list, char **buf) in enc_seq_list()
518 static void enc_part_seq_list(const void *list, char **buf) in enc_part_seq_list()
534 static void enc_part_versions_list(const void *list, char **buf) in enc_part_versions_list()
H A Dutil.cc79 int read_view_record(FILE *in, void **buf, void *ctx) in read_view_record()
132 file_merger_error_t write_view_record(FILE *out, void *buf, void *ctx) in write_view_record()
202 char *couchstore_read_line(FILE *in, char *buf, int size) in couchstore_read_line()
218 uint64_t couchstore_read_int(FILE *in, char *buf, size_t size, in couchstore_read_int()
253 char* buf = (char*)cb_malloc(buffersize); in set_error_info() local
H A Dencoding.cc18 void enc_uint16(uint16_t u, char** buf) { in enc_uint16()
H A Dreducers.cc77 #define scan_stats(buf, sum, count, min, max, sumsqr) \ argument
83 static int json_to_str(const mapreduce_json_t *buf, char str[32]) in json_to_str()
95 static int json_to_double(const mapreduce_json_t *buf, double *out_num) in json_to_double()
109 static int json_to_uint64(const mapreduce_json_t *buf, uint64_t *out_num) in json_to_uint64()
171 sized_buf *buf) in builtin_sum_reducer()
222 sized_buf *buf) in builtin_count_reducer()
262 sized_buf *buf) in builtin_stats_reducer()
364 sized_buf *buf) in js_reducer()
663 sized_buf buf; in view_btree_reduce() local
738 sized_buf buf{}; in view_btree_rereduce() local
/trunk/kv_engine/protocol/mcbp/
H A Dmcbp_dump_parser_test.cc18 cb::byte_buffer buf = { in TEST() local
42 cb::byte_buffer buf = { in TEST() local
/trunk/libcouchbase/src/operations/
H A Dpktfwd.cc75 void lcb_backbuf_ref(lcb_BACKBUF buf) in lcb_backbuf_ref()
81 void lcb_backbuf_unref(lcb_BACKBUF buf) in lcb_backbuf_unref()
/trunk/kv_engine/engines/ep/src/collections/
H A Dcollection_persisted_stats.cc19 PersistedStats::PersistedStats(const char* buf, size_t size) { in PersistedStats()
37 PersistedStats::PersistedStats(const char* buf, in PersistedStats()
/trunk/kv_engine/engines/ep/src/kvstore/magma-kvstore/kv_magma_common/
H A Dmagma-kvstore_metadata.cc21 MetaData::MetaData(std::string_view buf) { in MetaData()
49 MetaData::VersionStorage::decode(std::string_view buf) { in decode()
221 std::string_view buf) { in decode()
256 std::string_view MetaData::MetaDataV1::decode(std::string_view buf) { in decode()
/trunk/libcouchbase/src/
H A Dutilities.cc64 int lcb_getenv_nonempty(const char *key, char *buf, lcb_size_t len) in lcb_getenv_nonempty()
79 int lcb_getenv_nonempty(const char *key, char *buf, lcb_size_t len) in lcb_getenv_nonempty()
120 int lcb_getenv_nonempty_multi(char *buf, lcb_size_t nbuf, ...) in lcb_getenv_nonempty_multi()
160 static char buf[MAX_PATH + 1] = {0}; in lcb_get_tmpdir() local
/trunk/forestdb/tests/unit/
H A Dbcache_test.cc44 uint8_t buf[4096]; in basic_test() local
90 uint8_t buf[4096]; in basic_test2() local
131 uint8_t *buf = (uint8_t *)malloc(4096); in worker() local
200 uint8_t *buf; in multi_thread_test() local
/trunk/testrunner/lib/perf_engines/
H A Dsys_helper.py9 def send_bytes(skt, buf, timeout=0): argument
58 def send_bytes_ex(skt, buf, timeout=0): argument

12345678910