Home
last modified time | relevance | path

Searched refs:bson_empty (Results 1 – 25 of 67) sorted by relevance

123

/dports/databases/pecl-mongodb/mongodb-1.9.1/src/libmongoc/src/libmongoc/src/mongoc/
H A Dmongoc-change-stream.c42 if (bson_empty (reply)) { in _is_resumable_error()
130 if (!bson_empty (&stream->resume_token)) { in _make_command()
133 if (!bson_empty (&stream->opts.startAfter) && in _make_command()
157 if (!bson_empty (&stream->opts.resumeAfter)) { in _make_command()
165 if (!bson_empty (&stream->opts.startAfter)) { in _make_command()
355 if (bson_empty (&stream->opts.resumeAfter) && in _make_cursor()
356 bson_empty (&stream->opts.startAfter) && in _make_cursor()
359 bson_empty (&stream->resume_token) && in _make_cursor()
417 if (!bson_empty (pipeline)) { in _change_stream_init()
503 if (!bson_empty (&stream->resume_token)) { in mongoc_change_stream_get_resume_token()
H A Dmongoc-cmd.c334 if (!bson_empty (&rw_opts->collation)) { in mongoc_cmd_parts_append_read_write()
352 if (!bson_empty (&rw_opts->readConcern)) { in mongoc_cmd_parts_append_read_write()
391 if (!bson_empty (&parts->write_concern_document)) { in _mongoc_cmd_parts_add_write_concern()
515 !bson_empty (&parts->read_concern_document) && in _mongoc_cmd_parts_assemble_mongos()
587 if (!bson_empty (&parts->extra)) { in _mongoc_cmd_parts_assemble_mongos()
636 if (!bson_empty (&parts->extra)) { in _mongoc_cmd_parts_assemble_mongod()
640 if (!bson_empty (&parts->read_concern_document) && in _mongoc_cmd_parts_assemble_mongod()
845 BSON_ASSERT (bson_empty (&parts->assembled_body)); in mongoc_cmd_parts_assemble()
898 if (!bson_empty (&parts->extra)) { in mongoc_cmd_parts_assemble()
963 if (!bson_empty (&server_stream->cluster_time)) { in mongoc_cmd_parts_assemble()
[all …]
H A Dmongoc-read-prefs.c155 if (!bson_empty (&read_prefs->tags) || in mongoc_read_prefs_is_valid()
157 !bson_empty (&read_prefs->hedge)) { in mongoc_read_prefs_is_valid()
H A Dmongoc-cursor-change-stream.c186 return !bson_empty (&data->post_batch_resume_token); in _mongoc_cursor_change_stream_has_post_batch_resume_token()
H A Dmongoc-topology-scanner.c262 if (bson_empty (&ts->ismaster_cmd_with_handshake)) { in _mongoc_topology_scanner_get_ismaster()
300 bson_empty (&node->speculative_auth_response) && node->scram.step == 0) { in _begin_ismaster_cmd()
311 if (!bson_empty (&ts->cluster_time)) { in _begin_ismaster_cmd()
H A Dmongoc-topology-background-monitoring.c109 if (!bson_empty (&sd->topology_version)) { in _background_monitor_reconcile_server_monitor()
/dports/devel/mongo-c-driver/mongo-c-driver-1.8.1/src/mongoc/
H A Dmongoc-cmd.c231 BSON_ASSERT (bson_empty (&parts->assembled_body)); in mongoc_cmd_parts_assemble()
281 if (!bson_empty (&parts->extra)) { in mongoc_cmd_parts_assemble()
309 BSON_ASSERT (bson_empty (&parts->assembled_body)); in mongoc_cmd_parts_assemble_simple()
310 BSON_ASSERT (bson_empty (&parts->extra)); in mongoc_cmd_parts_assemble_simple()
H A Dmongoc-read-prefs.c128 if (!bson_empty (&read_prefs->tags) || in mongoc_read_prefs_is_valid()
/dports/www/nginx-full/nginx_http_gridfs_module-7970bab/mongo-c-driver/test/
H A Dreplica_set.c61 res = mongo_find_one( conn, "foo.bar", bson_empty( &b ), bson_empty( &b ), NULL ); in test_reconnect()
H A Dcursors.c52 cursor = mongo_find( conn, "test.cursors", bson_empty( &b ), bson_empty( &b ), 0, 0, 0 ); in test_multiple_getmore()
85 cursor = mongo_find( conn, "test.cursors", &b, bson_empty( &e ), 0, 0, MONGO_TAILABLE ); in test_tailable()
H A Dupdate.c25 … && mongo_find_one( conn, ns, bson_empty( &obj ), bson_empty( &obj ), NULL ) != MONGO_OK ) { in main()
H A Derrors.c53 mongo_find_one( conn, ns, bson_empty( &obj ), bson_empty( &obj ), NULL ); in main()
H A Dsimple.c71 mongo_find_one( conn, ns, bson_empty( &b ), bson_empty( &b ), NULL ); in main()
H A Dbson.c242 bson_iterator_init( i, bson_empty( b ) ); in test_bson_iterator()
246 bson_find( i, bson_empty( b ), "foo" ); in test_bson_iterator()
H A Dvalidate.c76 result = mongo_update( conn, ns, bson_empty( &empty ), &b, 0 ); in main()
/dports/databases/libmongo-client/libmongo-client-libmongo-client-0.1.6.3/tests/unit/bson/
H A Dbson_empty.c22 RUN_TEST (2, bson_empty)
/dports/devel/libbson/libbson-1.8.1/doc/
H A Dbson_t.rst16 * bson_empty:
23 #define bson_empty(b) /* ... */
28 * Like bson_empty() but treats NULL the same as an empty bson_t document.
/dports/devel/mongo-c-driver/mongo-c-driver-1.8.1/tests/
H A Dtest-mongoc-bulk.c486 BSON_ASSERT (bson_empty (&reply)); in test_insert_check_keys()
505 BSON_ASSERT (bson_empty (&reply)); in test_insert_check_keys()
523 BSON_ASSERT (bson_empty (&reply)); in test_insert_check_keys()
973 ASSERT (bson_empty (&reply)); in _test_replace_one_check_keys()
1179 BSON_ASSERT (bson_empty (&reply)); in test_update()
1285 BSON_ASSERT (bson_empty (&reply)); in _test_update_check_keys()
1413 BSON_ASSERT (bson_empty (&reply)); in _test_update_validate()
1428 BSON_ASSERT (bson_empty (&reply)); in _test_update_validate()
1689 BSON_ASSERT (bson_empty (&reply)); in _test_insert_invalid()
1860 BSON_ASSERT (bson_empty (&reply)); in _test_remove_validate()
[all …]
H A Dtest-mongoc-topology.c344 BSON_ASSERT (bson_empty (&sd->last_is_master)); in _test_topology_invalidate_server()
345 BSON_ASSERT (bson_empty (&sd->hosts)); in _test_topology_invalidate_server()
346 BSON_ASSERT (bson_empty (&sd->passives)); in _test_topology_invalidate_server()
347 BSON_ASSERT (bson_empty (&sd->arbiters)); in _test_topology_invalidate_server()
349 BSON_ASSERT (bson_empty (&sd->compressors)); in _test_topology_invalidate_server()
H A Dtest-mongoc-cursor.c769 ASSERT (bson_empty (error_doc)); in test_cursor_new_invalid()
799 ASSERT (bson_empty (error_doc)); in test_cursor_new_invalid_filter()
830 ASSERT (bson_empty (error_doc)); in test_cursor_new_invalid_opts()
844 ASSERT (bson_empty (error_doc)); in test_cursor_new_invalid_opts()
/dports/databases/p5-BSON-XS/BSON-XS-v0.8.4/bson/
H A Dbson.h62 #define bson_empty(b) (((b)->len == 5) || !bson_get_data ((b))[4]) macro
70 #define bson_empty0(b) (!(b) || bson_empty (b))
/dports/devel/libbson/libbson-1.8.1/src/bson/
H A Dbson.h65 #define bson_empty(b) (((b)->len == 5) || !bson_get_data ((b))[4]) macro
73 #define bson_empty0(b) (!(b) || bson_empty (b))
/dports/databases/pecl-mongodb/mongodb-1.9.1/src/libmongoc/src/libbson/src/bson/
H A Dbson.h65 #define bson_empty(b) (((b)->len == 5) || !bson_get_data ((b))[4]) macro
73 #define bson_empty0(b) (!(b) || bson_empty (b))
/dports/devel/libbson/libbson-1.8.1/tests/
H A Dtest-bson-corpus.c203 bson_empty (&invalid_bson) || in test_bson_corpus_decode_error()
/dports/security/duo/duo_unix-1.11.4/lib/
H A Dbson.h93 bson * bson_empty(bson * obj); /* returns pointer to static empty bson object */

123