Home
last modified time | relevance | path

Searched refs:empty_string (Results 1 – 18 of 18) sorted by relevance

/third_party/cJSON/tests/
Dparse_with_opts.c41 const char empty_string[] = ""; in parse_with_opts_should_handle_empty_strings() local
44 TEST_ASSERT_NULL(cJSON_ParseWithOpts(empty_string, NULL, false)); in parse_with_opts_should_handle_empty_strings()
45 TEST_ASSERT_EQUAL_PTR(empty_string, cJSON_GetErrorPtr()); in parse_with_opts_should_handle_empty_strings()
47 TEST_ASSERT_NULL(cJSON_ParseWithOpts(empty_string, &error_pointer, false)); in parse_with_opts_should_handle_empty_strings()
48 TEST_ASSERT_EQUAL_PTR(empty_string, error_pointer); in parse_with_opts_should_handle_empty_strings()
49 TEST_ASSERT_EQUAL_PTR(empty_string, cJSON_GetErrorPtr()); in parse_with_opts_should_handle_empty_strings()
/third_party/gn/src/gn/
Dargs.cc382 Value empty_string(nullptr, std::string()); in SetSystemVarsLocked() local
386 dest->SetValue(variables::kTargetOs, empty_string, nullptr); in SetSystemVarsLocked()
387 dest->SetValue(variables::kCurrentOs, empty_string, nullptr); in SetSystemVarsLocked()
391 dest->SetValue(variables::kTargetCpu, empty_string, nullptr); in SetSystemVarsLocked()
392 dest->SetValue(variables::kCurrentCpu, empty_string, nullptr); in SetSystemVarsLocked()
397 declared_arguments[variables::kCurrentOs] = empty_string; in SetSystemVarsLocked()
398 declared_arguments[variables::kTargetOs] = empty_string; in SetSystemVarsLocked()
400 declared_arguments[variables::kCurrentCpu] = empty_string; in SetSystemVarsLocked()
401 declared_arguments[variables::kTargetCpu] = empty_string; in SetSystemVarsLocked()
/third_party/elfio/elfio/
Delfio_strings.hpp69 char empty_string = '\0'; in add_string() local
70 string_section->append_data( &empty_string, 1 ); in add_string()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross_parsed_ir.cpp302 return empty_string; in get_name()
311 return empty_string; in get_member_name()
315 return empty_string; in get_member_name()
642 return empty_string; in get_decoration_string()
647 return empty_string; in get_decoration_string()
655 return empty_string; in get_decoration_string()
813 return empty_string; in get_member_decoration_string()
823 return empty_string; in get_member_decoration_string()
827 return empty_string; in get_member_decoration_string()
Dspirv_cross_parsed_ir.hpp214 return empty_string; in get_empty_string()
242 std::string empty_string; member in SPIRV_CROSS_NAMESPACE::ParsedIR
/third_party/ltp/testcases/kernel/syscalls/nftw/
Dlib.c247 char *empty_string; in test_ENOENT_empty() local
249 empty_string = ""; in test_ENOENT_empty()
258 if ((s2 = (*callback) (empty_string)) == expected) { in test_ENOENT_empty()
Dlib64.c247 char *empty_string; in test_ENOENT_empty() local
249 empty_string = ""; in test_ENOENT_empty()
258 if ((s2 = (*callback) (empty_string)) == expected) { in test_ENOENT_empty()
/third_party/ffmpeg/libavformat/
Dwsddec.c37 static int empty_string(const char *buf, unsigned size) in empty_string() function
86 if (empty_string(buf, size)) { in get_metadata()
/third_party/python/Include/internal/
Dpycore_interp.h57 PyObject *empty_string; member
68 PyObject *empty_string; member
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cArrayOfArraysTests.cpp167 static const std::string empty_string = ""; variable
431 const std::string* cs = &empty_string; \
442 vs = &empty_string; \
443 tcs = &empty_string; \
444 tes = &empty_string; \
445 gs = &empty_string; \
446 fs = &empty_string; \
3721 this->execute_positive_test(empty_string, empty_string, empty_string, empty_string, empty_string, in execute_dispatch_test()
3814 const std::string& compute_shader_source = empty_string; in execute_draw_test()
4634 this->execute_positive_test(empty_string, empty_string, empty_string, empty_string, empty_string, in execute_dispatch_test()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/status/
Dstatus.cc188 static std::string* empty_string = new std::string(); in EmptyString() local
189 return empty_string; in EmptyString()
/third_party/python/Objects/
Dbytesobject.c52 assert(state->empty_string != NULL); in bytes_get_empty()
53 return state->empty_string; in bytes_get_empty()
78 assert(state->empty_string == NULL); in bytes_create_empty_string_singleton()
79 state->empty_string = (PyObject *)op; in bytes_create_empty_string_singleton()
3084 Py_CLEAR(state->empty_string); in _PyBytes_Fini()
Dunicodeobject.c245 assert(state->empty_string != NULL); in unicode_get_empty()
246 return state->empty_string; in unicode_get_empty()
1397 assert(state->empty_string == NULL); in unicode_create_empty_string_singleton()
1398 state->empty_string = empty; in unicode_create_empty_string_singleton()
1999 if (unicode == state->empty_string) { in unicode_is_singleton()
16364 Py_CLEAR(state->empty_string); in _PyUnicode_Fini()
/third_party/benchmark/
DREADME.md165 std::string empty_string;
/third_party/python/Python/
Dcompile.c3383 static PyObject *empty_string; in compiler_from_import() local
3385 if (!empty_string) { in compiler_from_import()
3386 empty_string = PyUnicode_FromString(""); in compiler_from_import()
3387 if (!empty_string) in compiler_from_import()
3416 ADDOP_NAME(c, IMPORT_NAME, empty_string, names); in compiler_from_import()
/third_party/python/Tools/c-analyzer/
DTODO212 Python/compile.c:compiler_from_import():empty_string static PyObject *empty_string
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs6317 let mut empty_string: String = String::new(); localVariable
6320 if let Err(CapacityOverflow) = empty_string.try_reserve(MAX_CAP) {
6324 if let Err(CapacityOverflow) = empty_string.try_reserve(MAX_CAP) {
6330 if let Err(CapacityOverflow) = empty_string.try_reserve(MAX_CAP + 1) {
6336 if let Err(CapacityOverflow) = empty_string.try_reserve(MAX_USIZE) {
6342 if let Err(AllocError { .. }) = empty_string.try_reserve(MAX_CAP + 1) {
6348 if let Err(AllocError { .. }) = empty_string.try_reserve(MAX_USIZE) {
6397 let mut empty_string: String = String::new(); localVariable
6399 if let Err(CapacityOverflow) = empty_string.try_reserve_exact(MAX_CAP) {
6402 if let Err(CapacityOverflow) = empty_string.try_reserve_exact(MAX_CAP) {
[all …]
/third_party/python/Tools/c-analyzer/cpython/
Dignored.tsv2063 Python/compile.c compiler_from_import empty_string -