Home
last modified time | relevance | path

Searched refs:typestr (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Objects/clinic/
Dfloatobject.c.h265 float___getformat___impl(PyTypeObject *type, const char *typestr);
271 const char *typestr; in float___getformat__() local
278 typestr = PyUnicode_AsUTF8AndSize(arg, &typestr_length); in float___getformat__()
279 if (typestr == NULL) { in float___getformat__()
282 if (strlen(typestr) != (size_t)typestr_length) { in float___getformat__()
286 return_value = float___getformat___impl(type, typestr); in float___getformat__()
314 float___set_format___impl(PyTypeObject *type, const char *typestr,
321 const char *typestr; in float___set_format__() local
332 typestr = PyUnicode_AsUTF8AndSize(args[0], &typestr_length); in float___set_format__()
333 if (typestr == NULL) { in float___set_format__()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestaudioinfo.c18 const char *typestr = ((iscapture) ? "capture" : "output"); in print_devices() local
21 SDL_Log("Found %d %s device%s:\n", n, typestr, n != 1 ? "s" : ""); in print_devices()
24 SDL_Log(" Driver can't detect specific %s devices.\n\n", typestr); in print_devices()
26 SDL_Log(" No %s devices found.\n\n", typestr); in print_devices()
Dtestdropfile.c85 const char *typestr = (event.type == SDL_DROPFILE) ? "File" : "Text"; in main() local
87 …SDL_Log("%s dropped on window %u: %s", typestr, (unsigned int) event.drop.windowID, dropped_filedi… in main()
/third_party/toybox/porting/liteos_a/toys/lsb/
Dumount.c95 char *typestr = 0; in umount_main() local
98 for (tal = TT.t; tal; tal = tal->next) comma_collate(&typestr, tal->arg); in umount_main()
100 if (mountlist_istype(ml, typestr)) do_umount(ml->dir, ml->device, flags); in umount_main()
102 free(typestr); in umount_main()
/third_party/libevdev/tools/
Dlibevdev-list-codes.c17 const char *typestr = libevdev_event_type_get_name(type); in list_event_codes() local
19 if (!typestr) in list_event_codes()
22 printf("- %s:\n", typestr); in list_event_codes()
/third_party/toybox/toys/lsb/
Dumount.c126 char *typestr = 0; in umount_main() local
129 for (tal = TT.t; tal; tal = tal->next) comma_collate(&typestr, tal->arg); in umount_main()
131 if (mountlist_istype(ml, typestr)) do_umount(ml->dir, ml->device, flags); in umount_main()
133 free(typestr); in umount_main()
/third_party/elfutils/libasm/
Dasm_newscn.c67 const char *typestr = ""; in text_newscn() local
90 typestr = ",@progbits"; in text_newscn()
92 typestr = ",@nobits"; in text_newscn()
98 result->name, flagstr, typestr); in text_newscn()
/third_party/cups-filters/filter/foomatic-rip/
Doptions.c146 int type_from_string(const char *typestr) in type_from_string() argument
151 if (!strcmp(typestr, "PickOne")) in type_from_string()
153 else if (!strcmp(typestr, "PickMany")) in type_from_string()
155 else if (!strcmp(typestr, "Boolean")) in type_from_string()
159 else if (strcasecmp(typestr, "enum") == 0) in type_from_string()
161 else if (strcasecmp(typestr, "pickmany") == 0) in type_from_string()
163 else if (strcasecmp(typestr, "bool") == 0) in type_from_string()
165 else if (strcasecmp(typestr, "int") == 0) in type_from_string()
167 else if (strcasecmp(typestr, "float") == 0) in type_from_string()
169 else if (strcasecmp(typestr, "string") == 0) in type_from_string()
[all …]
/third_party/gstreamer/gstreamer/libs/gst/helpers/
Dgst_gdb.py576 def typestr(self): member in GdbGstEvent
592 typestr = self.typestr()
594 if typestr == "caps":
597 elif typestr == "stream-start":
601 elif typestr == "segment":
604 elif typestr == "tag":
615 self.structure().print(indent, "%s (seqnum: %s)" % (typestr, seqnum))
663 def typestr(self): member in GdbGstQuery
679 typestr = self.typestr()
680 self.structure().print(indent, typestr)
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instr_export.cpp128 string typestr; in from_string_impl() local
132 is >> typestr >> pos >> value_str; in from_string_impl()
136 if (typestr == "PARAM") in from_string_impl()
138 else if (typestr == "POS") in from_string_impl()
140 else if (typestr == "PIXEL") in from_string_impl()
/third_party/python/Objects/
Dfloatobject.c1717 float___getformat___impl(PyTypeObject *type, const char *typestr) in float___getformat___impl() argument
1722 if (strcmp(typestr, "double") == 0) { in float___getformat___impl()
1725 else if (strcmp(typestr, "float") == 0) { in float___getformat___impl()
1770 float___set_format___impl(PyTypeObject *type, const char *typestr, in float___set_format___impl() argument
1778 if (strcmp(typestr, "double") == 0) { in float___set_format___impl()
1782 else if (strcmp(typestr, "float") == 0) { in float___set_format___impl()
1814 "detected platform value", typestr); in float___set_format___impl()
/third_party/python/Lib/test/
Dtest_dataclasses.py3000 for typestr in ('ClassVar[int]',
3018 with self.subTest(typestr=typestr):
3021 x: typestr
3031 for typestr in ('CV',
3042 with self.subTest(typestr=typestr):
3045 x: typestr
3053 for typestr in ('InitVar[int]',
3071 with self.subTest(typestr=typestr):
3074 x: typestr
3082 for typestr in ('IV',
[all …]
/third_party/openssl/apps/lib/
Dapps.c1904 char *typestr = bp; in parse_name() local
1917 opt_getprog(), typestr, desc); in parse_name()
1944 nid = OBJ_txt2nid(typestr); in parse_name()
1948 opt_getprog(), desc, typestr); in parse_name()
1957 opt_getprog(), desc, typestr); in parse_name()
1966 opt_getprog(), desc, typestr ,valstr); in parse_name()
/third_party/ltp/tools/sparse/sparse-src/
Dshow-parse.c50 static const char *typestr[] = { in do_debug_symbol() local
74 indent, indent_string, typestr[sym->type], in do_debug_symbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsInstrFPU.td255 class CEQS_FT<string typestr, RegisterClass RC, InstrItinClass Itin,
258 !strconcat("c.$cond.", typestr, "\t$fs, $ft"),
260 !strconcat("c.$cond.", typestr)>, HARDFLOAT {
/third_party/libevdev/
Dthird_party_libevdev.diff32598 + const char *typestr = libevdev_event_type_get_name(type);
32600 + if (!typestr)
32603 + printf("- %s:\n", typestr);