Home
last modified time | relevance | path

Searched refs:NULL (Results 1 - 25 of 517) sorted by relevance

12345678910>>...21

/5.5.2/moxi/tests/conflate/
H A Dcheck_kvpair.c9 static kvpair_t *pair = NULL;
12 pair = NULL; in setup()
21 char* args[] = {"arg1", "arg2", NULL}; in test_mk_pair_with_arg()
24 fail_if(pair == NULL, "Didn't create a pair."); in test_mk_pair_with_arg()
31 fail_unless(pair->next == NULL, "Next pointer is non-null."); in test_mk_pair_with_arg()
36 pair = mk_kvpair("some_key", NULL); in test_mk_pair_without_arg()
38 fail_if(pair == NULL, "Didn't create a pair."); in test_mk_pair_without_arg()
43 fail_unless(pair->values[0] == NULL, "First value isn't null."); in test_mk_pair_without_arg()
44 fail_unless(pair->next == NULL, "Next pointer is non-null."); in test_mk_pair_without_arg()
49 pair = mk_kvpair("some_key", NULL); in test_add_value_to_empty_values()
[all...]
/5.5.2/couchstore/tests/mapreduce/
H A Dreduce.c74 void *context = NULL; in test_bad_syntax_functions()
75 char *error_msg = NULL; in test_bad_syntax_functions()
84 cb_assert(error_msg != NULL); in test_bad_syntax_functions()
86 cb_assert(context == NULL); in test_bad_syntax_functions()
93 void *context = NULL; in test_runtime_exception()
94 char *error_msg = NULL; in test_runtime_exception()
99 mapreduce_json_list_t *result = NULL; in test_runtime_exception()
105 cb_assert(error_msg == NULL); in test_runtime_exception()
106 cb_assert(context != NULL); in test_runtime_exception()
113 cb_assert(result == NULL); in test_runtime_exception()
[all...]
H A Dbuiltin.c48 void *context = NULL; in test_sum_function()
49 char *error_msg = NULL; in test_sum_function()
54 mapreduce_map_result_list_t *result = NULL; in test_sum_function()
58 cb_assert(error_msg == NULL); in test_sum_function()
59 cb_assert(context != NULL); in test_sum_function()
63 cb_assert(result != NULL); in test_sum_function()
65 cb_assert(result->list != NULL); in test_sum_function()
84 void *context = NULL; in test_b64decode_function()
85 char *error_msg = NULL; in test_b64decode_function()
92 mapreduce_map_result_list_t *result = NULL; in test_b64decode_function()
[all...]
H A Dmap.c60 void *context = NULL; in test_bad_syntax_functions()
61 char *error_msg = NULL; in test_bad_syntax_functions()
70 cb_assert(error_msg != NULL); in test_bad_syntax_functions()
72 cb_assert(context == NULL); in test_bad_syntax_functions()
80 void *context = NULL; in test_runtime_exception()
81 char *error_msg = NULL; in test_runtime_exception()
86 mapreduce_map_result_list_t *result = NULL; in test_runtime_exception()
90 cb_assert(error_msg == NULL); in test_runtime_exception()
91 cb_assert(context != NULL); in test_runtime_exception()
95 cb_assert(result != NULL); in test_runtime_exception()
[all...]
/5.5.2/kv_engine/testsuite/basic/
H A Dbasic_engine_testsuite.cc644 TEST_CASE("allocate test", allocate_test, NULL, NULL, NULL, NULL, NULL),
645 TEST_CASE("set test", set_test, NULL, NULL, NULL, NULL, NULL),
[all...]
/5.5.2/moxi/src/
H A Dcproxy.c101 .conn_close = NULL,
102 .conn_connect = NULL,
103 .conn_process_ascii_command = NULL,
104 .conn_process_binary_command = NULL,
105 .conn_complete_nread_ascii = NULL,
106 .conn_complete_nread_binary = NULL,
107 .conn_pause = NULL,
108 .conn_realtime = NULL,
109 .conn_state_change = NULL,
114 .conn_init = NULL,
[all...]
H A Dcproxy_protocol_a2a.c26 cb_assert(c != NULL); in cproxy_process_a2a_downstream()
27 cb_assert(c->next == NULL); in cproxy_process_a2a_downstream()
28 cb_assert(c->extra != NULL); in cproxy_process_a2a_downstream()
30 cb_assert(c->item == NULL); in cproxy_process_a2a_downstream()
31 cb_assert(line != NULL); in cproxy_process_a2a_downstream()
43 cb_assert(d != NULL); in cproxy_process_a2a_downstream()
44 cb_assert(d->ptd != NULL); in cproxy_process_a2a_downstream()
45 cb_assert(d->ptd->proxy != NULL); in cproxy_process_a2a_downstream()
65 if (it != NULL) { in cproxy_process_a2a_downstream()
90 if (it != NULL) { in cproxy_process_a2a_downstream()
[all...]
H A Dcproxy_protocol_b2b.c36 cb_assert(d != NULL); in cproxy_forward_b2b_downstream()
37 cb_assert(d->ptd != NULL); in cproxy_forward_b2b_downstream()
38 cb_assert(d->ptd->proxy != NULL); in cproxy_forward_b2b_downstream()
39 cb_assert(d->downstream_conns != NULL); in cproxy_forward_b2b_downstream()
41 cb_assert(d->multiget == NULL); in cproxy_forward_b2b_downstream()
42 cb_assert(d->merger == NULL); in cproxy_forward_b2b_downstream()
52 cb_assert(uc != NULL); in cproxy_forward_b2b_downstream()
55 cb_assert(uc->cmd_start == NULL); in cproxy_forward_b2b_downstream()
56 cb_assert(uc->thread != NULL); in cproxy_forward_b2b_downstream()
57 cb_assert(uc->thread->base != NULL); in cproxy_forward_b2b_downstream()
[all...]
H A Dagent_config.c57 char *n = NULL; in agent_logger()
119 if (cfg_str == NULL) { in cproxy_init_agent()
142 if (buff != NULL) { in cproxy_init_agent()
165 while (next != NULL) { in cproxy_init_agent()
168 char *jpwmem = NULL; in cproxy_init_agent()
169 char *dbpath = NULL; in cproxy_init_agent()
170 char *host = NULL; in cproxy_init_agent()
174 while (cur != NULL) { in cproxy_init_agent()
176 if (key_val != NULL) { in cproxy_init_agent()
182 if (key != NULL in cproxy_init_agent()
[all...]
H A Dcproxy_front.c49 m->map = NULL; in mcache_init()
51 m->lru_head = NULL; in mcache_init()
52 m->lru_tail = NULL; in mcache_init()
57 if (m->lock != NULL) { in mcache_init()
61 m->lock = NULL; in mcache_init()
98 cb_assert(m->map == NULL); in mcache_start()
100 cb_assert(m->lru_head == NULL); in mcache_start()
101 cb_assert(m->lru_tail == NULL); in mcache_start()
109 if (m->map != NULL) { in mcache_start()
111 m->lru_head = NULL; in mcache_start()
[all...]
H A Dgenhash.c37 genhash_t* rv=NULL; in genhash_init()
40 return NULL; in genhash_init()
43 cb_assert(ops.hashfunc != NULL); in genhash_init()
44 cb_assert(ops.hasheq != NULL); in genhash_init()
45 cb_assert(ops.dupKey != NULL); in genhash_init()
46 cb_assert(ops.dupValue != NULL); in genhash_init()
47 cb_assert(ops.freeKey != NULL); in genhash_init()
48 cb_assert(ops.freeValue != NULL); in genhash_init()
53 cb_assert(rv != NULL); in genhash_init()
63 if(b != NULL) { in free_bucket()
[all...]
/5.5.2/couchdb/src/couch_view_parser/yajl/
H A Dyajl_tree.c54 if ((ctx)->errbuf != NULL) \
64 if (v == NULL) return (NULL); in value_alloc()
80 v->u.object.keys[i] = NULL; in yajl_object_free()
82 v->u.object.values[i] = NULL; in yajl_object_free()
99 v->u.array.values[i] = NULL; in yajl_array_free()
118 if (stack == NULL) in context_push()
122 assert ((ctx->stack == NULL) in context_push()
138 if (ctx->stack == NULL) in context_pop()
139 RETURN_ERROR (ctx, NULL, "context_po in context_pop()
[all...]
/5.5.2/couchstore/src/views/
H A Dreducers.cc44 NULL,
138 view_id_btree_reduction_t *r = NULL; in view_id_btree_reduce()
145 if (r == NULL) { in view_id_btree_reduce()
151 for (i = leaflist; i != NULL && count > 0; i = i->next, count--) { in view_id_btree_reduce()
152 view_id_btree_value_t *v = NULL; in view_id_btree_reduce()
177 view_id_btree_reduction_t *r = NULL; in view_id_btree_rereduce()
184 if (r == NULL) { in view_id_btree_rereduce()
189 for (i = itmlist; i != NULL && count > 0; i = i->next, count--) { in view_id_btree_rereduce()
190 view_id_btree_reduction_t *r2 = NULL; in view_id_btree_rereduce()
227 if (keys == NULL) { in builtin_sum_reducer()
[all...]
H A Dsorted_list.c48 if (list != NULL) { in sorted_list_create()
50 list->head = NULL; in sorted_list_create()
62 sorted_list_node_t *prev = NULL; in sorted_list_add()
67 if (new_node == NULL) { in sorted_list_add()
71 if (new_node->element == NULL) { in sorted_list_add()
77 if (l->head == NULL) { in sorted_list_add()
78 new_node->next = NULL; in sorted_list_add()
84 while (n != NULL) { in sorted_list_add()
93 if (prev != NULL) { in sorted_list_add()
118 while (n != NULL) { in sorted_list_get()
[all...]
H A Dkeys.cc20 view_btree_key_t *k = NULL; in decode_view_btree_key()
24 if (k == NULL) { in decode_view_btree_key()
28 k->json_key.buf = NULL; in decode_view_btree_key()
29 k->doc_id.buf = NULL; in decode_view_btree_key()
40 if (k->json_key.buf == NULL) { in decode_view_btree_key()
55 if (k->doc_id.buf == NULL) { in decode_view_btree_key()
75 char *buf = NULL, *b = NULL; in encode_view_btree_key()
83 if (buf == NULL) { in encode_view_btree_key()
101 *buffer = NULL; in encode_view_btree_key()
[all...]
H A Dview_group.cc207 if (info == NULL) { in couchstore_read_view_group_info()
234 if (dup == NULL) { in couchstore_read_view_group_info()
273 return NULL; in couchstore_read_view_group_info()
290 if (info->view_infos.btree == NULL) { in read_btree_info()
312 if (bti->names == NULL) { in read_btree_info()
321 if (bti->reducers == NULL) { in read_btree_info()
336 if (dup == NULL) { in read_btree_info()
356 if (dup == NULL) { in read_btree_info()
388 if (info->view_infos.spatial == NULL) { in read_spatial_info()
411 if (si->mbb == NULL) { in read_spatial_info()
[all...]
/5.5.2/couchstore/tests/views/
H A Dreducers.cc30 while (tmp != NULL ){ in free_node_list()
60 nodelist *nl = NULL; in test_view_id_btree_reducer()
61 node_pointer *np = NULL; in test_view_id_btree_reducer()
62 node_pointer *np2 = NULL; in test_view_id_btree_reducer()
69 char *key_bin1 = NULL; in test_view_id_btree_reducer()
73 char *data_bin1 = NULL; in test_view_id_btree_reducer()
83 nodelist *nl2 = NULL; in test_view_id_btree_reducer()
86 char *key_bin2 = NULL; in test_view_id_btree_reducer()
90 char *data_bin2 = NULL; in test_view_id_btree_reducer()
101 cb_assert(data1.view_keys_map != NULL); in test_view_id_btree_reducer()
[all...]
/5.5.2/moxi/libmemcached/libmemcached/
H A Dmemcached.c27 self->servers= NULL; in _memcached_init()
28 self->last_disconnected_server= NULL; in _memcached_init()
50 self->user_data= NULL; in _memcached_init()
57 self->continuum= NULL; in _memcached_init()
61 self->on_clone= NULL; in _memcached_init()
62 self->on_cleanup= NULL; in _memcached_init()
63 self->get_key_failure= NULL; in _memcached_init()
64 self->delete_trigger= NULL; in _memcached_init()
65 self->callbacks= NULL; in _memcached_init()
66 self->sasl.callbacks= NULL; in _memcached_init()
[all...]
H A Dfetch.c13 return NULL; in memcached_fetch()
18 if (result_buffer == NULL || *error != MEMCACHED_SUCCESS) in memcached_fetch()
20 WATCHPOINT_ASSERT(result_buffer == NULL); in memcached_fetch()
22 return NULL; in memcached_fetch()
34 return NULL; in memcached_fetch()
54 return NULL; in memcached_fetch_result()
57 if (result == NULL) in memcached_fetch_result()
58 if ((result= memcached_result_create(ptr, NULL)) == NULL) in memcached_fetch_result()
59 return NULL; in memcached_fetch_result()
[all...]
/5.5.2/forestdb/tests/unit/
H A Dbcache_test.cc52 filemgr_open_result result = filemgr_open(fname, get_filemgr_ops(), &config, NULL); in basic_test()
56 filemgr_alloc(file, NULL); in basic_test()
57 filemgr_write(file, i, buf, NULL); in basic_test()
59 filemgr_commit(file, true, NULL); in basic_test()
61 filemgr_alloc(file, NULL); in basic_test()
62 filemgr_write(file, i, buf, NULL); in basic_test()
64 filemgr_commit(file, true, NULL); in basic_test()
66 filemgr_read(file, 8, buf, NULL, true); in basic_test()
67 filemgr_read(file, 9, buf, NULL, true); in basic_test()
69 filemgr_read(file, 1, buf, NULL, tru in basic_test()
[all...]
/5.5.2/forestdb/utils/
H A Diniparser.cc65 if (s==NULL) return NULL ; in strlwc()
96 if (s==NULL) return NULL ;
123 if (s==NULL) return NULL ; in strskp()
150 if (s==NULL) return NULL ; in strcrop()
185 if (s==NULL) return NULL ;
[all...]
/5.5.2/kv_engine/utilities/
H A Dengine_loader.cc30 if (engine->handle != NULL) { in unload_engine()
44 void *create_symbol = NULL; in load_engine()
45 void *destroy_symbol = NULL; in load_engine()
46 char *errmsg = NULL, *create_errmsg = NULL, *destroy_errmsg = NULL; in load_engine()
50 NULL }; in load_engine()
51 const char* const destroy_functions[] = { "destroy_engine", NULL }; in load_engine()
55 if (handle == NULL) { in load_engine()
59 return NULL; in load_engine()
[all...]
/5.5.2/couchstore/src/views/bin/
H A Dcouch_view_index_builder.cc37 view_group_info_t *group_info = NULL; in main()
39 char **source_files = NULL; in main()
40 char *dest_file = NULL; in main()
41 char *tmp_dir = NULL; in main()
45 view_error_t error_info = {NULL, NULL, "GENERIC"}; in main()
55 setvbuf(stdout, (char *) NULL, _IONBF, 0); in main()
56 setvbuf(stderr, (char *) NULL, _IONBF, 0); in main()
64 if (group_info == NULL) { in main()
76 if (tmp_dir == NULL) { in main()
[all...]
/5.5.2/sigar/src/os/win32/
H A Dwmi.cpp39 HRESULT Open(LPCTSTR machine=NULL, LPCTSTR user=NULL, LPCTSTR pass=NULL);
54 wbem = NULL; in WMI()
56 CoInitializeEx(NULL, COINIT_MULTITHREADED); in WMI()
93 CoInitializeSecurity(NULL, //Security Descriptor in Open()
95 NULL, //Authentication services in Open()
96 NULL, //Reserved in Open()
99 NULL, //Authentication info in Open()
101 NULL); //Reserve in Open()
[all...]
/5.5.2/subjson/tests/
H A Dt_validate.cc14 int rv = Validator::validate(txt, NULL); in TEST_F()
18 rv = Validator::validate(txt, NULL); in TEST_F()
25 int rv = Validator::validate(txt, NULL); in TEST_F()
28 rv = Validator::validate(txt, NULL, -1, Validator::PARENT_ARRAY); in TEST_F()
31 rv = Validator::validate(txt, NULL, -1, Validator::PARENT_DICT); in TEST_F()
35 rv = Validator::validate(txt, NULL, -1, Validator::PARENT_ARRAY); in TEST_F()
38 rv = Validator::validate(txt, NULL, -1, Validator::PARENT_DICT); in TEST_F()
41 rv = Validator::validate(txt, NULL, -1, in TEST_F()
46 rv = Validator::validate(txt, NULL, -1, Validator::PARENT_ARRAY); in TEST_F()
49 rv = Validator::validate(txt, NULL, in TEST_F()
[all...]

Completed in 74 milliseconds

12345678910>>...21