Home
last modified time | relevance | path

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

12

/external/chromium_org/sync/util/
Ddata_type_histogram_unittest.cc21 #define PER_DATA_TYPE_MACRO(type_str) \ in TEST() argument
22 HISTOGRAM_COUNTS("Prefix" type_str "Suffix", 1); in TEST()
33 #define PER_DATA_TYPE_MACRO(type_str) \ in TEST() argument
34 SYNC_FREQ_HISTOGRAM("Prefix" type_str "Suffix", \ in TEST()
51 #define PER_DATA_TYPE_MACRO(type_str) \ in TEST() argument
52 UMA_HISTOGRAM_ENUMERATION("Prefix" type_str "Suffix", \ in TEST()
/external/chromium_org/chrome/browser/chromeos/file_manager/
Durl_util.cc24 std::string type_str; in GetDialogTypeAsString() local
27 type_str = "full-page"; in GetDialogTypeAsString()
31 type_str = "folder"; in GetDialogTypeAsString()
35 type_str = "upload-folder"; in GetDialogTypeAsString()
39 type_str = "saveas-file"; in GetDialogTypeAsString()
43 type_str = "open-file"; in GetDialogTypeAsString()
47 type_str = "open-multi-file"; in GetDialogTypeAsString()
54 return type_str; in GetDialogTypeAsString()
/external/chromium/chrome/browser/extensions/
Dfile_manager_util.cc227 std::string type_str; in GetDialogTypeAsString() local
230 type_str = "full-page"; in GetDialogTypeAsString()
234 type_str = "folder"; in GetDialogTypeAsString()
238 type_str = "saveas-file"; in GetDialogTypeAsString()
242 type_str = "open-file"; in GetDialogTypeAsString()
246 type_str = "open-multi-file"; in GetDialogTypeAsString()
253 return type_str; in GetDialogTypeAsString()
Dextension_webrequest_api.cc84 static bool ParseResourceType(const std::string& type_str, in ParseResourceType() argument
87 std::find(kResourceTypeStrings, ARRAYEND(kResourceTypeStrings), type_str); in ParseResourceType()
230 std::string type_str; in InitFromValue() local
232 if (!types_value->GetString(i, &type_str) || in InitFromValue()
233 !ParseResourceType(type_str, &type)) in InitFromValue()
Dextension_tabs_module.cc469 std::string type_str; in RunImpl() local
472 &type_str)); in RunImpl()
473 if (type_str == keys::kWindowTypeValueNormal) { in RunImpl()
475 } else if (type_str == keys::kWindowTypeValuePopup) { in RunImpl()
477 } else if (type_str == keys::kWindowTypeValuePanel) { in RunImpl()
/external/chromium_org/ppapi/generators/
Didl_gen_pnacl.py87 (type_str, name, array_dims, more_args) = arg
88 if self.TypeNeedsWrapping(type_str, array_dims):
118 for type_str, name, array_dims, more_args in args_spec:
119 if self.TypeNeedsWrapping(type_str, array_dims):
120 type_str += '*'
121 args.append((type_str, name, array_dims, more_args))
127 for type_str, name, array_dims, more_args in args_spec:
128 if self.TypeNeedsWrapping(type_str, array_dims):
/external/chromium_org/chrome/browser/sync/glue/
Dgeneric_change_processor.cc266 const std::string& type_str, in AttemptDelete() argument
276 "Failed to delete " + type_str + " node. Local data, empty tag. " + in AttemptDelete()
290 "Failed to delete " + type_str + " node. Local data. " + in AttemptDelete()
300 "Failed to delete " + type_str + " node. Non-local data. " + in AttemptDelete()
330 std::string type_str = syncer::ModelTypeToString(type); in ProcessSyncChanges() local
334 AttemptDelete(change, type, type_str, &sync_node, in ProcessSyncChanges()
354 type_str, in ProcessSyncChanges()
367 std::string error_prefix = "Failed to create " + type_str + " node: " + in ProcessSyncChanges()
426 std::string error_prefix = "Failed to load " + type_str + " node. " + in ProcessSyncChanges()
467 "nigori mismatch for " + type_str + ".", in ProcessSyncChanges()
[all …]
Dfrontend_data_type_controller.cc267 #define PER_DATA_TYPE_MACRO(type_str) \ in RecordAssociationTime() argument
268 UMA_HISTOGRAM_TIMES("Sync." type_str "AssociationTime", time); in RecordAssociationTime()
278 #define PER_DATA_TYPE_MACRO(type_str) \ in RecordStartFailure() argument
279 UMA_HISTOGRAM_ENUMERATION("Sync." type_str "StartFailure", result, \ in RecordStartFailure()
Dui_data_type_controller.cc322 #define PER_DATA_TYPE_MACRO(type_str) \ in RecordAssociationTime() argument
323 UMA_HISTOGRAM_TIMES("Sync." type_str "AssociationTime", time); in RecordAssociationTime()
333 #define PER_DATA_TYPE_MACRO(type_str) \ in RecordStartFailure() argument
334 UMA_HISTOGRAM_ENUMERATION("Sync." type_str "StartFailure", result, \ in RecordStartFailure()
Dnon_ui_data_type_controller.cc259 #define PER_DATA_TYPE_MACRO(type_str) \ in RecordAssociationTime() argument
260 UMA_HISTOGRAM_TIMES("Sync." type_str "AssociationTime", time); in RecordAssociationTime()
270 #define PER_DATA_TYPE_MACRO(type_str) \ in RecordStartFailure() argument
271 UMA_HISTOGRAM_ENUMERATION("Sync." type_str "StartFailure", result, \ in RecordStartFailure()
Dnon_frontend_data_type_controller.cc379 #define PER_DATA_TYPE_MACRO(type_str) \ in RecordAssociationTime() argument
380 UMA_HISTOGRAM_TIMES("Sync." type_str "AssociationTime", time); in RecordAssociationTime()
390 #define PER_DATA_TYPE_MACRO(type_str) \ in RecordStartFailure() argument
391 UMA_HISTOGRAM_ENUMERATION("Sync." type_str "StartFailure", result, \ in RecordStartFailure()
/external/icu4c/i18n/
Dgender.cpp156 char type_str[256]; in loadInstance() local
157 u_UCharsToChars(s, type_str, resLen + 1); in loadInstance()
158 if (uprv_strcmp(type_str, gNeutralStr) == 0) { in loadInstance()
161 if (uprv_strcmp(type_str, gMixedNeutralStr) == 0) { in loadInstance()
164 if (uprv_strcmp(type_str, gMailTaintsStr) == 0) { in loadInstance()
/external/chromium/chrome/common/
Dsandbox_policy.cc579 std::string type_str = cmd_line->GetSwitchValueASCII(switches::kProcessType); in StartProcessWithAccess() local
580 if (type_str == switches::kRendererProcess) { in StartProcessWithAccess()
582 } else if (type_str == switches::kExtensionProcess) { in StartProcessWithAccess()
585 } else if (type_str == switches::kPluginProcess) { in StartProcessWithAccess()
587 } else if (type_str == switches::kWorkerProcess) { in StartProcessWithAccess()
589 } else if (type_str == switches::kNaClLoaderProcess) { in StartProcessWithAccess()
591 } else if (type_str == switches::kUtilityProcess) { in StartProcessWithAccess()
593 } else if (type_str == switches::kNaClBrokerProcess) { in StartProcessWithAccess()
595 } else if (type_str == switches::kGpuProcess) { in StartProcessWithAccess()
597 } else if (type_str == switches::kPpapiPluginProcess) { in StartProcessWithAccess()
[all …]
/external/chromium_org/chromeos/process_proxy/
Dprocess_proxy_registry.cc145 const char* type_str = ProcessOutputTypeToString(type); in OnProcessOutput() local
146 DCHECK(type_str); in OnProcessOutput()
151 it->second.callback.Run(pid, std::string(type_str), data); in OnProcessOutput()
/external/chromium_org/content/browser/fileapi/
Dfile_system_context_unittest.cc32 GURL CreateRawFileSystemURL(const std::string& type_str, in CreateRawFileSystemURL() argument
36 type_str.c_str(), in CreateRawFileSystemURL()
231 std::string type_str; in TEST_F() member
305 CreateRawFileSystemURL(kTestCases[i].type_str, kTestCases[i].root); in TEST_F()
/external/chromium_org/chrome/common/extensions/api/input_ime/
Dinput_components_handler.cc85 std::string type_str; in Parse() local
86 if (module_value->GetString(keys::kType, &type_str)) { in Parse()
87 if (type_str == "ime") { in Parse()
/external/openssl/crypto/asn1/
Da_mbstr.c68 static int type_str(unsigned long value, void *arg);
161 if(traverse_string(in, len, inform, type_str, &mask) < 0) { in ASN1_mbstring_ncopy()
309 static int type_str(unsigned long value, void *arg) in type_str() function
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/
Da_mbstr.c68 static int type_str(unsigned long value, void *arg);
161 if(traverse_string(in, len, inform, type_str, &mask) < 0) { in ASN1_mbstring_ncopy()
309 static int type_str(unsigned long value, void *arg) in type_str() function
/external/chromium_org/printing/backend/
Dprint_backend_cups.cc165 const char* type_str = cupsGetOption(kCUPSPrinterTypeOpt, in EnumeratePrinters() local
167 if (type_str != NULL) { in EnumeratePrinters()
169 if (base::StringToInt(type_str, &type) && (type & CUPS_PRINTER_SCANNER)) in EnumeratePrinters()
/external/libselinux/src/
Dlabel_file.c29 char *type_str; /* type string for diagnostic messages */ member
338 spec_arr[nspec].type_str = strdup(type); in process_line()
549 free(spec->type_str); in closef()
659 if (spec_arr[i].type_str) { in stats()
663 spec_arr[i].type_str, in stats()
/external/chromium_org/media/tools/layout_tests/
Dlayouttest_analyzer_helpers.py79 def GetDiffString(diff_map_element, type_str): argument
105 if diff > 0 and type_str != 'whole':
117 if type_str == 'whole':
/external/chromium_org/content/common/
Dsandbox_win.cc573 std::string type_str = cmd_line->GetSwitchValueASCII(switches::kProcessType); in StartSandboxedProcess() local
575 TRACE_EVENT_BEGIN_ETW("StartProcessWithAccess", 0, type_str); in StartSandboxedProcess()
599 cmd_line->AppendArg(base::StringPrintf("/prefetch:%d", base::Hash(type_str))); in StartSandboxedProcess()
635 if (type_str != switches::kRendererProcess) { in StartSandboxedProcess()
/external/chromium_org/remoting/protocol/
Djingle_session.cc334 std::string type_str = JingleMessage::GetActionName(request_type); in OnMessageResponse() local
342 LOG(ERROR) << type_str << " request timed out."; in OnMessageResponse()
349 LOG(ERROR) << "Received error in response to " << type_str in OnMessageResponse()
/external/chromium/chrome/browser/sync/engine/
Dsyncapi_unittest.cc415 std::string type_str; in CheckNodeValue() local
416 EXPECT_TRUE(value.GetString("type", &type_str)); in CheckNodeValue()
419 syncable::ModelTypeFromString(type_str); in CheckNodeValue()
422 EXPECT_EQ("Top-level folder", type_str); in CheckNodeValue()
424 EXPECT_EQ("Unspecified", type_str); in CheckNodeValue()
/external/chromium/chrome/browser/autocomplete/
Dsearch_provider.cc498 std::string type_str; in ParseSuggestResults() local
500 type_val->GetAsString(&type_str) && (type_str == "NAVIGATION")) { in ParseSuggestResults()

12