Home
last modified time | relevance | path

Searched refs:default_string (Results 1 – 25 of 34) sorted by relevance

12

/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc718 const string& default_string = field->default_value_string(); in DefaultValue() local
719 if (!has_default_value || default_string.length() == 0) { in DefaultValue()
734 uint32 length = ghtonl(default_string.length()); in DefaultValue()
736 bytes.append(default_string); in DefaultValue()
739 return "@\"" + EscapeTrigraphs(CEscape(default_string)) + "\""; in DefaultValue()
784 const string& default_string = field->default_value_string(); in HasNonZeroDefaultValue() local
785 return default_string.length() != 0; in HasNonZeroDefaultValue()
/external/v8/src/builtins/
Dbuiltins-date-gen.cc198 Node* default_string = LoadRoot(Heap::kdefault_stringRootIndex); in TF_BUILTIN() local
199 GotoIf(WordEqual(hint, default_string), &hint_is_string); in TF_BUILTIN()
211 CallBuiltin(Builtins::kStringEqual, context, hint, default_string), in TF_BUILTIN()
/external/protobuf/ruby/src/main/
Dsentinel.proto10 string default_string = 5; field
/external/protobuf/objectivec/Tests/
Dtext_format_unittest_data.txt110 default_string: "415"
/external/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc218 string DataPiece::ValueAsStringOrDefault(StringPiece default_string) const { in ValueAsStringOrDefault()
244 return default_string.ToString(); in ValueAsStringOrDefault()
Ddatapiece.h142 string ValueAsStringOrDefault(StringPiece default_string) const;
/external/protobuf/src/google/protobuf/testdata/
Dtext_format_unittest_data_pointy_oneof.txt122 default_string: "415"
Dtext_format_unittest_data_oneof_implemented.txt122 default_string: "415"
Dtext_format_unittest_data_pointy.txt122 default_string: "415"
Dtext_format_unittest_data.txt122 default_string: "415"
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
Dunittest_reference_types_nano.proto94 optional string default_string = 74 [default = "hello"]; field
Dunittest_has_nano.proto72 optional string default_string = 74 [default = "hello"]; field
Dunittest_accessors_nano.proto72 optional string default_string = 74 [default = "hello"]; field
Dunittest_nano.proto139 optional string default_string = 74 [default = "hello"]; field
/external/oj-libjdwp/src/share/javavm/export/
Djmm.h210 const char* default_string; /* Default value in a parsable string */ member
/external/v8/src/objects/
Dmodule.cc388 if (!export_name->Equals(ReadOnlyRoots(isolate).default_string())) { in ResolveExportUsingStarExports()
810 if (name->Equals(roots.default_string())) continue; in FetchStarExports()
833 DCHECK(!elem.first->Equals(ReadOnlyRoots(isolate).default_string())); in FetchStarExports()
/external/v8/src/parsing/
Dparser.h656 const AstRawString** default_string,
658 *default_string = ast_value_factory()->default_string();
/external/protobuf/python/google/protobuf/internal/
Dtest_util.py180 message.default_string = '415'
584 test_case.assertEqual('415', message.default_string)
/external/v8/src/
Dheap-symbols.h58 V(default_string, "default") \
/external/protobuf/src/google/protobuf/
Dunittest_no_arena.proto167 optional string default_string = 74 [default = "hello"]; field
Dunittest_lite.proto146 optional string default_string = 74 [default = "hello"]; field
/external/golang-protobuf/proto/test_proto/
Dtest.proto359 optional string default_string = 214 [default = "Hello, string,def=foo"]; field
/external/protobuf/php/ext/google/protobuf/
Dupb.c5877 char *default_string; member
6111 free(r->default_string); in field_startmsg()
6112 r->default_string = NULL; in field_startmsg()
6200 if (r->default_string) { in field_endmsg()
6206 upb_fielddef_setdefaultcstr(f, r->default_string, NULL); in field_endmsg()
6208 if (r->default_string && !parse_default(r->default_string, f)) { in field_endmsg()
6308 free(r->default_string); in field_ondefaultval()
6309 r->default_string = upb_strndup(buf, n); in field_ondefaultval()
6432 free(r->default_string); in descreader_cleanup()
6452 r->default_string = NULL; in upb_descreader_create()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc272 EXPECT_EQ("hello", message.default_string()); in TEST()
283 EXPECT_EQ("hello", message.default_string()); in TEST()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c6445 char *default_string; member
6723 upb_gfree(r->default_string); in field_startmsg()
6724 r->default_string = NULL; in field_startmsg()
6812 if (r->default_string) { in field_endmsg()
6818 upb_fielddef_setdefaultcstr(f, r->default_string, NULL); in field_endmsg()
6820 if (r->default_string && !parse_default(r->default_string, f)) { in field_endmsg()
6921 upb_gfree(r->default_string); in field_ondefaultval()
6922 r->default_string = upb_strndup(buf, n); in field_ondefaultval()
7099 upb_gfree(r->default_string); in descreader_cleanup()
7119 r->default_string = NULL; in upb_descreader_create()

12