Home
last modified time | relevance | path

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

123

/external/pdfium/core/src/fxcrt/
Dfx_basic_bstring_unittest.cpp52 CFX_ByteString empty_string(""); in TEST() local
53 EXPECT_TRUE(empty_string == empty_string); in TEST()
54 EXPECT_TRUE(empty_string == null_string); in TEST()
55 EXPECT_TRUE(null_string == empty_string); in TEST()
61 EXPECT_TRUE(deleted_string == empty_string); in TEST()
63 EXPECT_TRUE(empty_string == deleted_string); in TEST()
68 EXPECT_FALSE(byte_string == empty_string); in TEST()
71 EXPECT_FALSE(empty_string == byte_string); in TEST()
96 EXPECT_TRUE(empty_string == null_string_c); in TEST()
97 EXPECT_TRUE(empty_string == empty_string_c); in TEST()
[all …]
Dfx_basic_wstring_unittest.cpp52 CFX_WideString empty_string(L""); in TEST() local
53 EXPECT_TRUE(empty_string == empty_string); in TEST()
54 EXPECT_TRUE(empty_string == null_string); in TEST()
55 EXPECT_TRUE(null_string == empty_string); in TEST()
61 EXPECT_TRUE(deleted_string == empty_string); in TEST()
63 EXPECT_TRUE(null_string == empty_string); in TEST()
68 EXPECT_FALSE(wide_string == empty_string); in TEST()
71 EXPECT_FALSE(empty_string == wide_string); in TEST()
96 EXPECT_TRUE(empty_string == null_string_c); in TEST()
97 EXPECT_TRUE(empty_string == empty_string_c); in TEST()
[all …]
/external/v8/src/
Dstring-builder.cc16 return isolate->factory()->empty_string(); in ToString()
55 accumulator_ = Handle<String>::New(isolate->heap()->empty_string(), isolate); in IncrementalStringBuilder()
65 new_accumulator = factory()->empty_string(); in Accumulate()
Dmessages.cc342 template_index, result_string, factory->empty_string(), in FormatMessage()
343 factory->empty_string()); in FormatMessage()
Dapi-natives.cc456 isolate->factory()->empty_string(), code); in CreateApiFunction()
490 isolate->factory()->empty_string(), code, prototype, type, in CreateApiFunction()
Dbootstrapper.cc561 factory->NewFunctionWithoutPrototype(factory->empty_string(), code); in CreateEmptyFunction()
933 Handle<String> name = Handle<String>(heap()->empty_string()); in CreateNewGlobals()
963 Handle<String> name = Handle<String>(heap()->empty_string()); in CreateNewGlobals()
1737 factory->empty_string(), code, JS_CONTEXT_EXTENSION_OBJECT_TYPE, in InitializeGlobal()
1751 factory->empty_string(), code, JS_OBJECT_TYPE, JSObject::kHeaderSize); in InitializeGlobal()
1760 factory->empty_string(), code, JS_OBJECT_TYPE, JSObject::kHeaderSize); in InitializeGlobal()
2610 factory()->empty_string(), isolate()->builtins()->Illegal(), in InstallNatives()
Dexecution.cc447 return isolate->factory()->empty_string(); in GetStackTraceLine()
/external/google-breakpad/src/common/linux/
Dsynth_elf.h69 empty_string = Add(""); in Section()
87 Label empty_string; variable
Dsynth_elf_unittest.cc71 ASSERT_TRUE(table.empty_string.IsKnownConstant()); in TEST_F()
72 EXPECT_EQ(0U, table.empty_string.Value()); in TEST_F()
114 EXPECT_EQ(0U, table.empty_string.Value()); in TEST_F()
115 EXPECT_EQ(table.empty_string.Value(), l3.Value()); in TEST_F()
/external/v8/src/ic/
Dstub-cache.cc95 primary_[i].key = isolate()->heap()->empty_string(); in Clear()
100 secondary_[j].key = isolate()->heap()->empty_string(); in Clear()
Dic-compiler.cc139 Handle<String> name(isolate->heap()->empty_string()); in ComputeCompareNil()
311 return GetCode(kind(), Code::NORMAL, factory()->empty_string()); in CompileKeyedStoreMonomorphic()
/external/regex-re2/re2/
Dre2.cc57 static const string *empty_string; variable
63 if (empty_string == NULL) { in InitEmpty()
64 empty_string = new string; in InitEmpty()
177 error_ = empty_string; in Init()
193 if (error_ == empty_string) in Init()
235 if (rprog_ == NULL && error_ == empty_string) { in ReverseProg()
256 if (error_ != empty_string) in ~RE2()
/external/v8/test/cctest/
Dtest-identity-map.cc361 Handle<String> empty_string(heap->empty_string()); in TEST() local
364 CHECK_EQ(isolate->factory()->empty_string().location(), in TEST()
365 empty_string.location()); in TEST()
Dtest-field-type-tracking.cc60 Handle<String> empty_string = factory->empty_string(); in CreateAccessorPair() local
62 Handle<JSFunction> func = factory->NewFunction(empty_string); in CreateAccessorPair()
66 Handle<JSFunction> func = factory->NewFunction(empty_string); in CreateAccessorPair()
1349 js_func_ = factory->NewFunction(factory->empty_string()); in TEST()
1381 js_func1_ = factory->NewFunction(factory->empty_string()); in TEST()
1382 js_func2_ = factory->NewFunction(factory->empty_string()); in TEST()
1418 js_func_ = factory->NewFunction(factory->empty_string()); in TEST()
2138 Handle<JSFunction> js_func = factory->NewFunction(factory->empty_string()); in TEST()
2154 Handle<JSFunction> js_func1 = factory->NewFunction(factory->empty_string()); in TEST()
2157 Handle<JSFunction> js_func2 = factory->NewFunction(factory->empty_string()); in TEST()
[all …]
Dtest-elements-kind.cc76 Handle<JSFunction> function = factory->NewFunction(factory->empty_string()); in TEST()
104 Handle<JSFunction> function = factory->NewFunction(factory->empty_string()); in TEST()
150 Handle<JSFunction> function = factory->NewFunction(factory->empty_string()); in TEST()
/external/v8/src/runtime/
Druntime-regexp.cc561 Handle<String> empty_string = isolate->factory()->empty_string(); in StringReplaceGlobalRegExpWithEmptyString() local
564 isolate, subject, regexp, empty_string, last_match_info); in StringReplaceGlobalRegExpWithEmptyString()
567 isolate, subject, regexp, empty_string, last_match_info); in StringReplaceGlobalRegExpWithEmptyString()
586 if (new_length == 0) return isolate->heap()->empty_string(); in StringReplaceGlobalRegExpWithEmptyString()
625 if (position == 0) return isolate->heap()->empty_string(); in StringReplaceGlobalRegExpWithEmptyString()
Druntime-strings.cc467 return isolate->heap()->empty_string(); in RUNTIME_FUNCTION()
518 return isolate->heap()->empty_string(); in RUNTIME_FUNCTION()
1136 if (length == 0) return isolate->heap()->empty_string(); in RUNTIME_FUNCTION()
1183 return isolate->heap()->empty_string(); in RUNTIME_FUNCTION()
1192 if (std::isinf(args.number_at(1))) return isolate->heap()->empty_string(); in RUNTIME_FUNCTION()
1194 if (code->IsNaN()) return isolate->heap()->empty_string(); in RUNTIME_FUNCTION()
Druntime-classes.cc143 : isolate->factory()->empty_string(); in DefineClass()
/external/v8/src/parsing/
Dfunc-name-inferrer.cc49 return MakeNameFromStackHelper(0, ast_value_factory_->empty_string()); in MakeNameFromStack()
Dparser.h1060 return parser_->ast_value_factory()->empty_string(); in EmptyIdentifierString()
1164 : parser_->ast_value_factory()->empty_string(); in AddFormalParameter()
1179 : parser_->ast_value_factory()->empty_string(); in DeclareFormalParameter()
Dparser.cc188 const AstRawString* name = ast_value_factory()->empty_string(); in DefaultConstructor()
497 parser_->ast_value_factory()->empty_string(), pos); in NewThrowReferenceError()
939 ast_value_factory()->empty_string(), scope_, body, in DoParseProgram()
2740 ast_value_factory()->empty_string()); in ParseReturnStatement()
2746 ast_value_factory()->empty_string(), pos); in ParseReturnStatement()
3272 scope_->NewTemporary(ast_value_factory()->empty_string()); in InitializeForEachStatement()
4095 function_name = ast_value_factory()->empty_string(); in ParseFunctionLiteral()
4444 MessageTemplate::kNonCoercible, ast_value_factory()->empty_string(), in BuildAssertIsCoercible()
5350 scope_->NewTemporary(ast_value_factory()->empty_string()); in SpreadCall()
/external/pcre/dist/
Dpcrecpp.cc78 static const string empty_string; variable
90 error_ = &empty_string; in Init()
103 if (error_ != &empty_string) delete error_; in Cleanup()
145 if (error_ == &empty_string) error_ = new string(compile_error); in Compile()
/external/regex-re2/util/
Dpcre.cc49 static const string empty_string; variable
58 error_ = &empty_string; in Init()
100 if (error_ != &empty_string) delete error_; in ~PCRE()
134 if (error_ == &empty_string) error_ = new string(error); in Compile()
/external/v8/src/ast/
Dast-value-factory.cc89 string_ = isolate->factory()->empty_string(); in Internalize()
/external/v8/src/heap/
Dscavenger.cc327 ConsString::cast(object)->unchecked_second() == heap->empty_string()) { in EvacuateShortcutCandidate()

123