/external/cronet/net/base/ |
D | mime_util.cc | 468 bool ParseMimeType(const std::string& type_str, in ParseMimeType() argument 474 size_t type_val = type_str.find_first_not_of(HTTP_LWS); in ParseMimeType() 475 type_val = std::min(type_val, type_str.length()); in ParseMimeType() 476 size_t type_end = type_str.find_first_of(HTTP_LWS ";(", type_val); in ParseMimeType() 478 type_end = type_str.length(); in ParseMimeType() 481 size_t slash_pos = type_str.find_first_of('/'); in ParseMimeType() 485 *mime_type = type_str.substr(type_val, type_end - type_val); in ParseMimeType() 494 std::string::size_type offset = type_str.find_first_of(';', type_end); in ParseMimeType() 495 while (offset < type_str.size()) { in ParseMimeType() 496 DCHECK_EQ(';', type_str[offset]); in ParseMimeType() [all …]
|
/external/bcc/tools/ |
D | tcptracer.py | 551 type_str = "C" 553 type_str = "A" 555 type_str = "X" 557 type_str = "U" 560 print("%-12s " % (verbose_types[type_str]), end="") 562 print("%-2s " % (type_str), end="") 588 type_str = "C" 590 type_str = "A" 592 type_str = "X" 594 type_str = "U" [all …]
|
/external/cronet/third_party/icu/source/i18n/ |
D | dayperiodrules.cpp | 228 static CutoffType getCutoffTypeFromString(const char *type_str) { in getCutoffTypeFromString() 229 if (uprv_strcmp(type_str, "from") == 0) { in getCutoffTypeFromString() 231 } else if (uprv_strcmp(type_str, "before") == 0) { in getCutoffTypeFromString() 233 } else if (uprv_strcmp(type_str, "after") == 0) { in getCutoffTypeFromString() 235 } else if (uprv_strcmp(type_str, "at") == 0) { in getCutoffTypeFromString() 468 DayPeriodRules::DayPeriod DayPeriodRules::getDayPeriodFromString(const char *type_str) { in getDayPeriodFromString() argument 469 if (uprv_strcmp(type_str, "midnight") == 0) { in getDayPeriodFromString() 471 } else if (uprv_strcmp(type_str, "noon") == 0) { in getDayPeriodFromString() 473 } else if (uprv_strcmp(type_str, "morning1") == 0) { in getDayPeriodFromString() 475 } else if (uprv_strcmp(type_str, "afternoon1") == 0) { in getDayPeriodFromString() [all …]
|
D | gender.cpp | 163 char type_str[256] = ""; in loadInstance() local 164 u_UCharsToChars(s, type_str, resLen + 1); in loadInstance() 165 if (uprv_strcmp(type_str, gNeutralStr) == 0) { in loadInstance() 168 if (uprv_strcmp(type_str, gMixedNeutralStr) == 0) { in loadInstance() 171 if (uprv_strcmp(type_str, gMailTaintsStr) == 0) { in loadInstance()
|
/external/icu/icu4c/source/i18n/ |
D | dayperiodrules.cpp | 228 static CutoffType getCutoffTypeFromString(const char *type_str) { in getCutoffTypeFromString() 229 if (uprv_strcmp(type_str, "from") == 0) { in getCutoffTypeFromString() 231 } else if (uprv_strcmp(type_str, "before") == 0) { in getCutoffTypeFromString() 233 } else if (uprv_strcmp(type_str, "after") == 0) { in getCutoffTypeFromString() 235 } else if (uprv_strcmp(type_str, "at") == 0) { in getCutoffTypeFromString() 468 DayPeriodRules::DayPeriod DayPeriodRules::getDayPeriodFromString(const char *type_str) { in getDayPeriodFromString() argument 469 if (uprv_strcmp(type_str, "midnight") == 0) { in getDayPeriodFromString() 471 } else if (uprv_strcmp(type_str, "noon") == 0) { in getDayPeriodFromString() 473 } else if (uprv_strcmp(type_str, "morning1") == 0) { in getDayPeriodFromString() 475 } else if (uprv_strcmp(type_str, "afternoon1") == 0) { in getDayPeriodFromString() [all …]
|
D | gender.cpp | 163 char type_str[256] = ""; in loadInstance() local 164 u_UCharsToChars(s, type_str, resLen + 1); in loadInstance() 165 if (uprv_strcmp(type_str, gNeutralStr) == 0) { in loadInstance() 168 if (uprv_strcmp(type_str, gMixedNeutralStr) == 0) { in loadInstance() 171 if (uprv_strcmp(type_str, gMailTaintsStr) == 0) { in loadInstance()
|
/external/pigweed/pw_trace_tokenized/py/pw_trace_tokenized/ |
D | trace_tokenized.py | 63 def get_trace_type(type_str): argument 64 if type_str == "PW_TRACE_EVENT_TYPE_INSTANT": 66 if type_str == "PW_TRACE_EVENT_TYPE_INSTANT_GROUP": 68 if type_str == "PW_TRACE_EVENT_TYPE_ASYNC_START": 70 if type_str == "PW_TRACE_EVENT_TYPE_ASYNC_STEP": 72 if type_str == "PW_TRACE_EVENT_TYPE_ASYNC_END": 74 if type_str == "PW_TRACE_EVENT_TYPE_DURATION_START": 76 if type_str == "PW_TRACE_EVENT_TYPE_DURATION_END": 78 if type_str == "PW_TRACE_EVENT_TYPE_DURATION_GROUP_START": 80 if type_str == "PW_TRACE_EVENT_TYPE_DURATION_GROUP_END":
|
/external/webrtc/api/ |
D | jsep.cc | 43 absl::optional<SdpType> SdpTypeFromString(const std::string& type_str) { in SdpTypeFromString() argument 44 if (type_str == SessionDescriptionInterface::kOffer) { in SdpTypeFromString() 46 } else if (type_str == SessionDescriptionInterface::kPrAnswer) { in SdpTypeFromString() 48 } else if (type_str == SessionDescriptionInterface::kAnswer) { in SdpTypeFromString() 50 } else if (type_str == SessionDescriptionInterface::kRollback) { in SdpTypeFromString()
|
/external/mesa3d/src/gallium/drivers/radeonsi/glsl_tests/ |
D | amdgcn_glslc.c | 227 char type_str[16], name[128]; in main() local 237 if (sscanf(s + 8, "%s %s", type_str, name) != 2) { in main() 242 if (!strcmp(type_str, "vs")) in main() 244 else if (!strcmp(type_str, "tcs")) in main() 246 else if (!strcmp(type_str, "tes")) in main() 248 else if (!strcmp(type_str, "gs")) in main() 250 else if (!strcmp(type_str, "fs")) in main() 252 else if (!strcmp(type_str, "cs")) in main()
|
/external/tensorflow/tensorflow/core/profiler/convert/ |
D | op_stats_to_pod_stats.cc | 79 absl::string_view type_str = in ConvertOpStatsToPodStats() local 81 event.set_name(type_str.data(), type_str.size()); in ConvertOpStatsToPodStats()
|
/external/selinux/libsemanage/src/ |
D | fcontexts_local.c | 98 const char *type_str = semanage_fcontext_get_type_str(type); in validate_handler() local 111 str, expr, type_str); in validate_handler() 115 expr, type_str); in validate_handler()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/adf/adf_event_enable/ |
D | format | 11 field:char type_str[32]; offset:16; size:32; signed:0; 13 print fmt: "obj=%s type=%u (%s)", __get_str(name), REC->type, REC->type_str
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/adf/adf_event/ |
D | format | 11 field:char type_str[32]; offset:16; size:32; signed:0; 13 print fmt: "obj=%s type=%u (%s)", __get_str(name), REC->type, REC->type_str
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/adf/adf_event_disable/ |
D | format | 11 field:char type_str[32]; offset:16; size:32; signed:0; 13 print fmt: "obj=%s type=%u (%s)", __get_str(name), REC->type, REC->type_str
|
/external/strace/tests-m32/ |
D | kcmp.c | 98 const char *type_str, kernel_ulong_t idx1, kernel_ulong_t idx2, ...) in do_kcmp() argument 108 if (type_str) in do_kcmp() 109 printf("%s", type_str); in do_kcmp()
|
D | request_key.c | 51 do_request_key(const char *type, const char *type_str, const char *desc, in do_request_key() argument 58 print_val_str(type, type_str); in do_request_key()
|
/external/strace/tests/ |
D | kcmp.c | 98 const char *type_str, kernel_ulong_t idx1, kernel_ulong_t idx2, ...) in do_kcmp() argument 108 if (type_str) in do_kcmp() 109 printf("%s", type_str); in do_kcmp()
|
D | request_key.c | 51 do_request_key(const char *type, const char *type_str, const char *desc, in do_request_key() argument 58 print_val_str(type, type_str); in do_request_key()
|
D | add_key.c | 51 do_add_key(const char *type, const char *type_str, const char *desc, in do_add_key() argument 58 print_val_str(type, type_str); in do_add_key()
|
/external/strace/tests-mx32/ |
D | kcmp.c | 98 const char *type_str, kernel_ulong_t idx1, kernel_ulong_t idx2, ...) in do_kcmp() argument 108 if (type_str) in do_kcmp() 109 printf("%s", type_str); in do_kcmp()
|
D | request_key.c | 51 do_request_key(const char *type, const char *type_str, const char *desc, in do_request_key() argument 58 print_val_str(type, type_str); in do_request_key()
|
D | add_key.c | 51 do_add_key(const char *type, const char *type_str, const char *desc, in do_add_key() argument 58 print_val_str(type, type_str); in do_add_key()
|
/external/tensorflow/tensorflow/core/util/ |
D | ragged_to_dense_util_common.h | 64 for (const auto& type_str : row_partition_type_strings) { in GetRowPartitionTypesHelper() local 65 const auto iter = kStringToType->find(type_str); in GetRowPartitionTypesHelper()
|
/external/webrtc/examples/peerconnection/client/ |
D | conductor.cc | 329 std::string type_str; in OnMessageFromPeer() local 333 &type_str); in OnMessageFromPeer() 334 if (!type_str.empty()) { in OnMessageFromPeer() 335 if (type_str == "offer-loopback") { in OnMessageFromPeer() 346 webrtc::SdpTypeFromString(type_str); in OnMessageFromPeer() 348 RTC_LOG(LS_ERROR) << "Unknown SDP type: " << type_str; in OnMessageFromPeer()
|
/external/tensorflow/tensorflow/core/framework/ |
D | kernel_def_util.cc | 82 #define RETURN_IF_ATTR_NOT_FOUND(n, oneof_case, type_str) \ in KernelAttrsMatch() argument 85 Status s = AttrValueHasType(*attr_value, type_str); \ in KernelAttrsMatch()
|