/external/pcre/dist/ |
D | pcre_scanner_unittest.cc | 84 CHECK_EQ(comments[0].as_string(), " // this sets alpha\n"); in TestScanner() 92 CHECK_EQ(comments[0].as_string(), " // bravo is set here\n"); in TestScanner() 100 CHECK_EQ(comments[0].as_string(), " /* and here is gamma */\n"); in TestScanner() 105 CHECK_EQ(comments[0].as_string(), " // this sets alpha\n"); in TestScanner() 106 CHECK_EQ(comments[1].as_string(), " // bravo is set here\n"); in TestScanner() 107 CHECK_EQ(comments[2].as_string(), " /* and here is gamma */\n"); in TestScanner() 117 CHECK_EQ(comments[0].as_string(), " // this sets alpha\n"); in TestScanner() 118 CHECK_EQ(comments[1].as_string(), " // bravo is set here\n"); in TestScanner() 119 CHECK_EQ(comments[2].as_string(), " /* and here is gamma */\n"); in TestScanner() 125 CHECK_EQ(comments[0].as_string(), " // this sets alpha\n"); in TestScanner()
|
/external/chromium_org/base/strings/ |
D | string_piece_unittest.cc | 17 static const T as_string(const char* input) { in as_string() function in base::CommonStringPieceTest 20 static const T& as_string(const T& input) { in as_string() function in base::CommonStringPieceTest 28 static const string16 as_string(const char* input) { in as_string() function in base::CommonStringPieceTest 31 static const string16 as_string(const std::string& input) { in as_string() function in base::CommonStringPieceTest 43 TypeParam lhs(TestFixture::as_string(x)); \ in TYPED_TEST() 44 TypeParam rhs(TestFixture::as_string(y)); \ in TYPED_TEST() 53 TypeParam lhs(TestFixture::as_string(x)); \ in TYPED_TEST() 54 TypeParam rhs(TestFixture::as_string(y)); \ in TYPED_TEST() 136 TypeParam alphabet(TestFixture::as_string("abcdefghijklmnopqrstuvwxyz")); in TYPED_TEST() 137 TypeParam abc(TestFixture::as_string("abc")); in TYPED_TEST() [all …]
|
/external/libcxx/src/ |
D | string.cpp | 360 as_string(P sprintf_like, S s, const typename S::value_type* fmt, V a) in as_string() function 443 return as_string(snprintf, initial_string<string, int>()(), "%d", val); in to_string() 448 return as_string(snprintf, initial_string<string, unsigned>()(), "%u", val); in to_string() 453 return as_string(snprintf, initial_string<string, long>()(), "%ld", val); in to_string() 458 return as_string(snprintf, initial_string<string, unsigned long>()(), "%lu", val); in to_string() 463 return as_string(snprintf, initial_string<string, long long>()(), "%lld", val); in to_string() 468 return as_string(snprintf, initial_string<string, unsigned long long>()(), "%llu", val); in to_string() 473 return as_string(snprintf, initial_string<string, float>()(), "%f", val); in to_string() 478 return as_string(snprintf, initial_string<string, double>()(), "%f", val); in to_string() 483 return as_string(snprintf, initial_string<string, long double>()(), "%Lf", val); in to_string() [all …]
|
/external/chromium_org/extensions/browser/api/storage/ |
D | storage_api.cc | 132 std::string as_string; in AddAllStringValues() local 135 if ((*it)->GetAsString(&as_string)) { in AddAllStringValues() 136 to->push_back(as_string); in AddAllStringValues() 188 std::string as_string; in RunWithStorage() local 189 input->GetAsString(&as_string); in RunWithStorage() 190 return UseReadResult(storage->Get(as_string), storage); in RunWithStorage() 234 std::string as_string; in RunWithStorage() local 235 input->GetAsString(&as_string); in RunWithStorage() 236 bytes_in_use = storage->GetBytesInUse(as_string); in RunWithStorage() 277 std::string as_string; in RunWithStorage() local [all …]
|
/external/chromium_org/net/tools/flip_server/ |
D | spdy_interface.cc | 433 std::string key = hi->first.as_string(); in CopyHeaders() 437 dest[key] = hi->second.as_string(); in CopyHeaders() 454 block["method"] = headers.request_method().as_string(); in SendSynStreamImpl() 456 block["version"] = headers.request_version().as_string(); in SendSynStreamImpl() 459 headers.GetHeader("X-Original-Url").as_string(); in SendSynStreamImpl() 462 block["url"] = headers.request_uri().as_string(); in SendSynStreamImpl() 465 block[":method"] = headers.request_method().as_string(); in SendSynStreamImpl() 466 block[":version"] = headers.request_version().as_string(); in SendSynStreamImpl() 469 headers.GetHeader("X-Original-Url").as_string(); in SendSynStreamImpl() 473 block[":path"] = headers.request_uri().as_string(); in SendSynStreamImpl() [all …]
|
/external/chromium_org/net/tools/quic/ |
D | spdy_utils.cc | 41 DVLOG(1) << "Dropping empty header " << hi->first.as_string() in PopulateSpdyHeaderBlock() 48 string name = hi->first.as_string(); in PopulateSpdyHeaderBlock() 56 block->insert(make_pair(name, hi->second.as_string())); in PopulateSpdyHeaderBlock() 70 block->insert(make_pair(kV3Host, host_header.as_string())); in PopulateSpdy3RequestHeaderBlock() 78 block->insert(make_pair(kV3Method, headers.request_method().as_string())); in PopulateSpdy3RequestHeaderBlock() 82 (*block)[kV3Version] = headers.request_version().as_string(); in PopulateSpdy3RequestHeaderBlock() 88 string status = headers.response_code().as_string(); in PopulateSpdyResponseHeaderBlock() 90 status.append(headers.response_reason_phrase().as_string()); in PopulateSpdyResponseHeaderBlock() 93 headers.response_version().as_string(); in PopulateSpdyResponseHeaderBlock() 106 string url = request_headers.request_uri().as_string(); in RequestHeadersToSpdyHeaders()
|
/external/chromium_org/remoting/protocol/ |
D | authentication_method.cc | 130 bool SharedSecretHash::Parse(const std::string& as_string) { in Parse() argument 131 size_t separator = as_string.find(':'); in Parse() 135 std::string function_name = as_string.substr(0, separator); in Parse() 144 if (!base::Base64Decode(as_string.substr(separator + 1), &value)) { in Parse()
|
/external/chromium_org/net/quic/ |
D | quic_in_memory_cache.cc | 51 GURL url("http://" + path.as_string()); in AddSimpleResponse() 53 string status_line = version.as_string() + " " + in AddSimpleResponse() 54 response_code.as_string() + " " + in AddSimpleResponse() 55 response_detail.as_string(); in AddSimpleResponse() 84 GURL url("http://" + path.as_string()); in AddSpecialResponse()
|
/external/chromium_org/chrome/browser/extensions/api/context_menus/ |
D | context_menus_api.cc | 66 if (params->id.as_string) in RunSync() 67 item_id.string_uid = *params->id.as_string; in RunSync() 85 if (params->menu_item_id.as_string) in RunSync() 86 id.string_uid = *params->menu_item_id.as_string; in RunSync()
|
/external/chromium_org/net/websockets/ |
D | websocket_extension_parser.cc | 42 *extension = WebSocketExtension(name.as_string()); in ConsumeExtension() 61 *parameter = WebSocketExtension::Parameter(name.as_string()); in ConsumeExtensionParameter() 69 value_string = value.as_string(); in ConsumeExtensionParameter() 72 *parameter = WebSocketExtension::Parameter(name.as_string(), value_string); in ConsumeExtensionParameter()
|
/external/chromium_org/tools/json_schema_compiler/test/ |
D | choices_unittest.cc | 50 EXPECT_EQ("asdf", *params->string_info.strings.as_string); in TEST() 60 EXPECT_EQ("asdf", *params->string_info.strings.as_string); in TEST() 124 EXPECT_FALSE(out.strings->as_string.get()); in TEST() 198 ASSERT_TRUE(obj->as_choice1->as_string); in TEST() 200 EXPECT_EQ("foo", *obj->as_choice1->as_string); in TEST() 214 EXPECT_FALSE(obj->as_choice1->as_string); in TEST() 258 ASSERT_TRUE(choice_type->strings->as_string); in TEST() 259 EXPECT_EQ("foo", *choice_type->strings->as_string); in TEST()
|
/external/chromium_org/tools/gn/ |
D | function_get_path_info.cc | 55 return FindFilename(&input_string).as_string(); in GetOnePathInfo() 58 std::string file = FindFilename(&input_string).as_string(); in GetOnePathInfo() 66 return FindExtension(&input_string).as_string(); in GetOnePathInfo() 79 return dir_incl_slash.substr(0, dir_incl_slash.size() - 1).as_string(); in GetOnePathInfo()
|
D | filesystem_utils_unittest.cc | 23 EXPECT_EQ("", FindExtension(&input).as_string()); in TEST() 25 EXPECT_EQ("", FindExtension(&input).as_string()); in TEST() 27 EXPECT_EQ("", FindExtension(&input).as_string()); in TEST() 29 EXPECT_EQ("bar", FindExtension(&input).as_string()); in TEST() 31 EXPECT_EQ("", FindExtension(&input).as_string()); in TEST() 33 EXPECT_EQ("", FindExtension(&input).as_string()); in TEST()
|
/external/chromium_org/chrome/browser/extensions/api/web_view/ |
D | chrome_web_view_internal_api.cc | 60 if (params->id.as_string) in RunAsync() 61 item_id.string_uid = *params->id.as_string; in RunAsync() 85 if (params->menu_item_id.as_string) { in RunAsync() 86 id.string_uid = *params->menu_item_id.as_string; in RunAsync()
|
/external/chromium_org/net/quic/crypto/ |
D | crypto_utils.cc | 56 string canonicalized_host(CanonicalizeHost(sni.as_string(), &host_info)); in IsValidSNI() 99 nonce_storage = client_nonce.as_string() + server_nonce.as_string(); in DeriveKeys() 145 string info = label.as_string(); in ExportKeyingMaterial()
|
D | source_address_token.h | 35 serving_region_ = serving_region.as_string(); in set_serving_region() 115 ip_ = ip.as_string(); in set_ip()
|
D | null_decrypter.cc | 37 string buffer = associated_data.as_string(); in Decrypt() 62 string buffer = associated_data.as_string(); in DecryptPacket()
|
/external/chromium_org/third_party/re2/re2/testing/ |
D | search_test.cc | 316 atom.push_back(StringPiece(t.regexp).as_string()); in TEST() 317 alpha.push_back(StringPiece(t.text).as_string()); in TEST()
|
/external/regex-re2/re2/testing/ |
D | search_test.cc | 316 atom.push_back(StringPiece(t.regexp).as_string()); in TEST() 317 alpha.push_back(StringPiece(t.text).as_string()); in TEST()
|
/external/chromium_org/base/test/expectations/ |
D | expectation.cc | 80 out_platform->name = modifier.as_string(); in PlatformFromString() 83 out_platform->name = modifier.substr(0, sep).as_string(); in PlatformFromString() 84 out_platform->variant = modifier.substr(sep + 1).as_string(); in PlatformFromString()
|
/external/chromium_org/net/http/ |
D | http_request_headers.cc | 87 DCHECK(HttpUtil::IsValidHeaderName(key.as_string())); in SetHeader() 88 DCHECK(HttpUtil::IsValidHeaderValue(value.as_string())); in SetHeader() 98 DCHECK(HttpUtil::IsValidHeaderName(key.as_string())); in SetHeaderIfMissing() 99 DCHECK(HttpUtil::IsValidHeaderValue(value.as_string())); in SetHeaderIfMissing() 160 base::SplitStringUsingSubstr(headers.as_string(), "\r\n", in AddHeadersFromString()
|
/external/chromium_org/extensions/renderer/ |
D | user_script_injector.cc | 45 .as_string()) { in GreasemonkeyApiJsString() 171 std::string content = iter->GetContent().as_string(); in GetJsSources() 202 sources.push_back(iter->GetContent().as_string()); in GetCssSources()
|
/external/chromium_org/base/debug/ |
D | crash_logging.cc | 132 : key_(key.as_string()) { in ScopedCrashKey() 167 CrashKeyMap::const_iterator it = g_crash_keys_->find(key.as_string()); in LookupCrashKey() 183 std::string value_string = value.substr(0, crash_key.max_length).as_string(); in ChunkCrashKeyValue()
|
/external/chromium_org/chrome/common/ |
D | crash_keys_unittest.cc | 46 self_->keys_[key.as_string()] = value.as_string(); in SetCrashKeyValue() 50 self_->keys_.erase(key.as_string()); in ClearCrashKey()
|
/external/chromium_org/components/search_engines/ |
D | template_url_prepopulate_data.cc | 1058 data->SetURL(search_url.as_string()); in MakePrepopulatedTemplateURLData() 1059 data->suggestions_url = suggest_url.as_string(); in MakePrepopulatedTemplateURLData() 1060 data->instant_url = instant_url.as_string(); in MakePrepopulatedTemplateURLData() 1061 data->image_url = image_url.as_string(); in MakePrepopulatedTemplateURLData() 1062 data->new_tab_url = new_tab_url.as_string(); in MakePrepopulatedTemplateURLData() 1063 data->contextual_search_url = contextual_search_url.as_string(); in MakePrepopulatedTemplateURLData() 1064 data->search_url_post_params = search_url_post_params.as_string(); in MakePrepopulatedTemplateURLData() 1065 data->suggestions_url_post_params = suggest_url_post_params.as_string(); in MakePrepopulatedTemplateURLData() 1066 data->instant_url_post_params = instant_url_post_params.as_string(); in MakePrepopulatedTemplateURLData() 1067 data->image_url_post_params = image_url_post_params.as_string(); in MakePrepopulatedTemplateURLData() [all …]
|