Home
last modified time | relevance | path

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

123

/external/u-boot/cmd/
Dtpm-common.c98 int type_string_get_num_values(const char *type_str) in type_string_get_num_values() argument
100 return strlen(type_str); in type_string_get_num_values()
110 size_t type_string_get_space_size(const char *type_str) in type_string_get_space_size() argument
114 for (size = 0; *type_str; type_str++) { in type_string_get_space_size()
115 switch (*type_str) { in type_string_get_space_size()
141 void *type_string_alloc(const char *type_str, u32 *count) in type_string_alloc() argument
146 size = type_string_get_space_size(type_str); in type_string_alloc()
165 int type_string_pack(const char *type_str, char * const values[], in type_string_pack() argument
171 for (offset = 0; *type_str; type_str++, values++) { in type_string_pack()
173 switch (*type_str) { in type_string_pack()
[all …]
Dtpm-user-utils.h13 int type_string_get_num_values(const char *type_str);
14 size_t type_string_get_space_size(const char *type_str);
15 void *type_string_alloc(const char *type_str, u32 *count);
16 int type_string_pack(const char *type_str, char * const values[], u8 *data);
17 int type_string_write_vars(const char *type_str, u8 *data, char * const vars[]);
/external/bcc/tools/
Dtcptracer.py545 type_str = "C"
547 type_str = "A"
549 type_str = "X"
551 type_str = "U"
554 print("%-12s " % (verbose_types[type_str]), end="")
556 print("%-2s " % (type_str), end="")
582 type_str = "C"
584 type_str = "A"
586 type_str = "X"
588 type_str = "U"
[all …]
/external/icu/icu4c/source/i18n/
Ddayperiodrules.cpp228 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 …]
Dgender.cpp162 char type_str[256]; in loadInstance() local
163 u_UCharsToChars(s, type_str, resLen + 1); in loadInstance()
164 if (uprv_strcmp(type_str, gNeutralStr) == 0) { in loadInstance()
167 if (uprv_strcmp(type_str, gMixedNeutralStr) == 0) { in loadInstance()
170 if (uprv_strcmp(type_str, gMailTaintsStr) == 0) { in loadInstance()
/external/toybox/toys/pending/
Dhost.c28 char *type_str;
80 if (!TT.type_str && (toys.optflags & FLAG_a)) TT.type_str = "255"; in host_main()
100 if (!TT.type_str) TT.type_str="12"; in host_main()
101 } else if (!TT.type_str) TT.type_str="1"; in host_main()
103 if (TT.type_str[0]-'0' < 10u) type = atoi(TT.type_str); in host_main()
107 if (rrt[i].name && !strcasecmp(TT.type_str, rrt[i].name)) { in host_main()
112 if (!strcasecmp(TT.type_str, "any")) type = 255; in host_main()
113 if (type < 0) error_exit("Invalid query type: %s", TT.type_str); in host_main()
/external/mesa3d/src/gallium/drivers/radeonsi/glsl_tests/
Damdgcn_glslc.c226 char type_str[16], name[128]; in main() local
236 if (sscanf(s + 8, "%s %s", type_str, name) != 2) { in main()
241 if (!strcmp(type_str, "vs")) in main()
243 else if (!strcmp(type_str, "tcs")) in main()
245 else if (!strcmp(type_str, "tes")) in main()
247 else if (!strcmp(type_str, "gs")) in main()
249 else if (!strcmp(type_str, "fs")) in main()
251 else if (!strcmp(type_str, "cs")) in main()
/external/autotest/server/hosts/
Dcros_label.py330 self.type_str = ''
359 type_str = type.stdout.strip()
361 if type_str == 'MMC':
362 self.type_str = 'mmc'
378 self.type_str = 'ufs'
391 self.type_str = rotate_dict.get(rotate_str)
396 self.type_str = 'nvme'
404 return [self.type_str]
/external/selinux/libsemanage/src/
Dfcontexts_local.c100 const char *type_str = semanage_fcontext_get_type_str(type); in validate_handler() local
113 str, expr, type_str); in validate_handler()
117 expr, type_str); in validate_handler()
/external/mesa3d/src/compiler/nir/
Dnir_algebraic.py39 def type_bits(type_str): argument
40 m = _type_re.match(type_str)
95 def __init__(self, name, type_str): argument
97 self.type_str = type_str
101 return "nir_search_value_" + self.type_str
105 return "nir_search_" + self.type_str
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/adf/adf_event_enable/
Dformat11 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/
Dformat11 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/
Dformat11 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/
Dkcmp.c98 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()
Drequest_key.c51 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()
Dadd_key.c51 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()
Dnet-packet_mreq.c65 const char *const type_str; in test_packet_mreq() member
80 optname_str, pmreq->mr_ifindex, a[i].type_str, pmreq->mr_alen); in test_packet_mreq()
/external/strace/tests-m32/
Dkcmp.c98 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()
Drequest_key.c51 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()
Dadd_key.c51 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()
Dnet-packet_mreq.c65 const char *const type_str; in test_packet_mreq() member
80 optname_str, pmreq->mr_ifindex, a[i].type_str, pmreq->mr_alen); in test_packet_mreq()
/external/strace/tests-mx32/
Dkcmp.c98 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()
Drequest_key.c51 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()
Dadd_key.c51 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/adhd/cras/src/server/
Dcras_alsa_mixer_name.c130 const char *type_str = in mixer_name_dump() local
132 syslog(LOG_DEBUG, " %s %s", m_name->name, type_str); in mixer_name_dump()

123