Home
last modified time | relevance | path

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

/external/python/cpython3/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 …]
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/apollo3/
Dcompare_1k.py39 typestr = 'b'
42 typestr = 'h'
45 typestr = 'i'
48 typestr = 'B'
51 typestr = 'H'
54 typestr = 'I'
57 y = np.array(struct.unpack('<' + typestr * arraylen, b))
/external/OpenCL-CTS/test_conformance/api/
Dtest_null_buffer_arg.cpp65 const char *typestr; in test_setargs_and_execution() local
69 typestr = "non-NULL"; in test_setargs_and_execution()
73 typestr = "&NULL"; in test_setargs_and_execution()
76 typestr = "NULL"; in test_setargs_and_execution()
79 log_info("Testing setKernelArgs with %s buffer.\n", typestr); in test_setargs_and_execution()
142 log_info("\t%s ok.\n", typestr); in test_setargs_and_execution()
/external/ppp/pppd/plugins/radius/
Ddict.c43 char typestr[AUTH_ID_LEN]; in rc_read_dictionary() local
108 n = sscanf(buffer, "%s%s%s%s%s", dummystr, namestr, valstr, typestr, vendorstr); in rc_read_dictionary()
145 if (strcmp (typestr, "string") == 0) in rc_read_dictionary()
149 else if (strcmp (typestr, "integer") == 0) in rc_read_dictionary()
153 else if (strcmp (typestr, "ipaddr") == 0) in rc_read_dictionary()
157 else if (strcmp (typestr, "date") == 0) in rc_read_dictionary()
/external/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()
/external/elfutils/libasm/
Dasm_newscn.c68 const char *typestr = ""; in text_newscn() local
91 typestr = ",@progbits"; in text_newscn()
93 typestr = ",@nobits"; in text_newscn()
99 result->name, flagstr, typestr); in text_newscn()
/external/iproute2/devlink/
Ddevlink.c681 static int port_type_get(const char *typestr, enum devlink_port_type *p_type) in port_type_get() argument
683 if (strcmp(typestr, "auto") == 0) { in port_type_get()
685 } else if (strcmp(typestr, "eth") == 0) { in port_type_get()
687 } else if (strcmp(typestr, "ib") == 0) { in port_type_get()
690 pr_err("Unknown port type \"%s\"\n", typestr); in port_type_get()
696 static int pool_type_get(const char *typestr, enum devlink_sb_pool_type *p_type) in pool_type_get() argument
698 if (strcmp(typestr, "ingress") == 0) { in pool_type_get()
700 } else if (strcmp(typestr, "egress") == 0) { in pool_type_get()
703 pr_err("Unknown pool type \"%s\"\n", typestr); in pool_type_get()
709 static int threshold_type_get(const char *typestr, in threshold_type_get() argument
[all …]
/external/iptables/extensions/
Dlibip6t_dst.c32 parse_opts_num(const char *idstr, const char *typestr) in parse_opts_num() argument
41 "dst: no valid digits in %s `%s'", typestr, idstr); in parse_opts_num()
46 typestr, idstr); in parse_opts_num()
50 "dst: error parsing %s `%s'", typestr, idstr); in parse_opts_num()
Dlibip6t_hbh.c32 parse_opts_num(const char *idstr, const char *typestr) in parse_opts_num() argument
41 "hbh: no valid digits in %s `%s'", typestr, idstr); in parse_opts_num()
46 typestr, idstr); in parse_opts_num()
50 "hbh: error parsing %s `%s'", typestr, idstr); in parse_opts_num()
/external/libpcap/
Dgencode.c4903 const char *typestr; in gen_host() local
4906 typestr = "net"; in gen_host()
4908 typestr = "host"; in gen_host()
4927 bpf_error(cstate, "link-layer modifier applied to %s", typestr); in gen_host()
4939 bpf_error(cstate, "'sctp' modifier applied to %s", typestr); in gen_host()
4942 bpf_error(cstate, "'tcp' modifier applied to %s", typestr); in gen_host()
4945 bpf_error(cstate, "'udp' modifier applied to %s", typestr); in gen_host()
4948 bpf_error(cstate, "'icmp' modifier applied to %s", typestr); in gen_host()
4951 bpf_error(cstate, "'igmp' modifier applied to %s", typestr); in gen_host()
4954 bpf_error(cstate, "'igrp' modifier applied to %s", typestr); in gen_host()
[all …]
/external/OpenCL-CTS/test_conformance/basic/
Dtest_intmath.cpp32 cl_command_queue queue, int num_elements, std::string typestr) in test_intmath() argument
145 build_options += typestr; in test_intmath()
/external/python/cpython3/Objects/
Dfloatobject.c1671 float___getformat___impl(PyTypeObject *type, const char *typestr) in float___getformat___impl() argument
1676 if (strcmp(typestr, "double") == 0) { in float___getformat___impl()
1679 else if (strcmp(typestr, "float") == 0) { in float___getformat___impl()
1724 float___set_format___impl(PyTypeObject *type, const char *typestr, in float___set_format___impl() argument
1732 if (strcmp(typestr, "double") == 0) { in float___set_format___impl()
1736 else if (strcmp(typestr, "float") == 0) { in float___set_format___impl()
1768 "detected platform value", typestr); in float___set_format___impl()
/external/python/cpython3/Lib/test/
Dtest_dataclasses.py2813 for typestr in ('ClassVar[int]',
2831 with self.subTest(typestr=typestr):
2834 x: typestr
2844 for typestr in ('CV',
2855 with self.subTest(typestr=typestr):
2858 x: typestr
2866 for typestr in ('InitVar[int]',
2884 with self.subTest(typestr=typestr):
2887 x: typestr
2895 for typestr in ('IV',
[all …]
/external/dnsmasq/src/
Dcache.c34 } typestr[] = {{1, "A"}, {2, "NS"}, {5, "CNAME"}, {6, "SOA"}, {10, "NULL"}, variable
106 const unsigned char* mix_tab = (const unsigned char*) typestr; in hash_bucket()
1026 for (i = 0; i < (sizeof(typestr) / sizeof(typestr[0])); i++) in querystr()
1027 if (typestr[i].type == type) sprintf(str, "query[%s]", typestr[i].name); in querystr()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientshim.c187 char typestr[MAX_ESCAPED_DOMAIN_NAME]; in RegCallback() local
191 if (!ConvertDomainNameToCString(&type, typestr)) return; in RegCallback()
197 x->callback((DNSServiceRef)x, 0, result, namestr, typestr, domstr, x->context); in RegCallback()
207 x->callback((DNSServiceRef)x, 0, result, namestr, typestr, domstr, x->context); in RegCallback()
Duds_daemon.c410 char typestr[MAX_ESCAPED_DOMAIN_NAME]; in GenerateNTDResponse() local
416 ConvertDomainNameToCString(&type, typestr); in GenerateNTDResponse()
424 len += (int) (strlen(typestr) + 1); in GenerateNTDResponse()
436 put_string(typestr, &data); in GenerateNTDResponse()
449 char typestr[MAX_ESCAPED_DOMAIN_NAME]; in GenerateBonjourBrowserResponse() local
460 mDNS_snprintf(typestr, sizeof(typestr), "%#s.local.", SecondLabel(servicename)); in GenerateBonjourBrowserResponse()
467 len += (int) (strlen(typestr) + 1); in GenerateBonjourBrowserResponse()
479 put_string(typestr, &data); in GenerateBonjourBrowserResponse()
/external/tensorflow/tensorflow/compiler/xla/python/
Dpy_buffer.cc186 TF_ASSIGN_OR_RETURN(py::str typestr, in CudaArrayInterface()
189 result["typestr"] = std::move(typestr); in CudaArrayInterface()
/external/bcc/src/lua/bpf/
Dproto.lua277 M.type = function(typestr, t)
279 t.__dissector=ffi.typeof(typestr)
/external/tcpdump/
Dprint-ppp.c417 const char *typestr; in handle_ctrl_proto() local
425 typestr = tok2str(ppptype2str, "unknown ctrl-proto (0x%04x)", proto); in handle_ctrl_proto()
426 ND_PRINT((ndo, "%s, ", typestr)); in handle_ctrl_proto()
576 ND_PRINT((ndo, "[|%s]", typestr)); in handle_ctrl_proto()
/external/tensorflow/tensorflow/c/
Dc_api.cc1290 const string& typestr = a.type(); in TF_OperationGetAttrMetadata() local
1291 if (typestr == "list(string)") { in TF_OperationGetAttrMetadata()
1293 } else if (typestr == "list(int)") { in TF_OperationGetAttrMetadata()
1295 } else if (typestr == "list(float)") { in TF_OperationGetAttrMetadata()
1297 } else if (typestr == "list(bool)") { in TF_OperationGetAttrMetadata()
1299 } else if (typestr == "list(type)") { in TF_OperationGetAttrMetadata()
1301 } else if (typestr == "list(shape)") { in TF_OperationGetAttrMetadata()
1303 } else if (typestr == "list(tensor)") { in TF_OperationGetAttrMetadata()
1305 } else if (typestr == "list(func)") { in TF_OperationGetAttrMetadata()
1310 "' has an empty value of an unrecognized type '", typestr, "'"); in TF_OperationGetAttrMetadata()
/external/python/cpython2/Objects/
Dfloatobject.c1919 char* typestr; in float_setformat() local
1925 if (!PyArg_ParseTuple(args, "ss:__setformat__", &typestr, &format)) in float_setformat()
1928 if (strcmp(typestr, "double") == 0) { in float_setformat()
1932 else if (strcmp(typestr, "float") == 0) { in float_setformat()
1964 "detected platform value", typestr); in float_setformat()
/external/llvm/lib/Target/Mips/
DMipsInstrFPU.td224 class CEQS_FT<string typestr, RegisterClass RC, InstrItinClass Itin,
227 !strconcat("c.$cond.", typestr, "\t$fs, $ft"),
229 !strconcat("c.$cond.", typestr)>, HARDFLOAT {
/external/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 {
/external/llvm-project/llvm/lib/Target/Mips/
DMipsInstrFPU.td258 class CEQS_FT<string typestr, RegisterClass RC, InstrItinClass Itin,
261 !strconcat("c.$cond.", typestr, "\t$fs, $ft"),
263 !strconcat("c.$cond.", typestr)>, HARDFLOAT {