Home
last modified time | relevance | path

Searched refs:cname (Results 1 – 25 of 136) sorted by relevance

123456

/external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/
Dir.go326 cname := C.CString(name)
327 defer C.free(unsafe.Pointer(cname))
328 id = int(C.LLVMGetMDKindIDInContext(c.C, cname, C.unsigned(len(name))))
333 cname := C.CString(name)
334 defer C.free(unsafe.Pointer(cname))
335 id = int(C.LLVMGetMDKindID(cname, C.unsigned(len(name))))
344 cname := C.CString(name)
345 defer C.free(unsafe.Pointer(cname))
346 id = uint(C.LLVMGetEnumAttributeKindForName(cname, C.size_t(len(name))))
403 cname := C.CString(name)
[all …]
/external/llvm/bindings/go/llvm/
Dir.go356 cname := C.CString(name)
357 defer C.free(unsafe.Pointer(cname))
358 id = int(C.LLVMGetMDKindIDInContext(c.C, cname, C.unsigned(len(name))))
363 cname := C.CString(name)
364 defer C.free(unsafe.Pointer(cname))
365 id = int(C.LLVMGetMDKindID(cname, C.unsigned(len(name))))
376 cname := C.CString(name)
377 defer C.free(unsafe.Pointer(cname))
378 m.C = C.LLVMModuleCreateWithName(cname)
383 cname := C.CString(name)
[all …]
/external/tensorflow/tensorflow/go/
Dattrs.go39 cname := C.CString(name)
40 defer C.free(unsafe.Pointer(cname))
43 meta := C.TF_OperationGetAttrMetadata(op.c, cname, status.c)
49 return listAttribute(op, cname, meta)
51 return scalarAttribute(op, cname, meta)
54 func listAttribute(op *Operation, cname *C.char, meta C.TF_AttrMetadata) (interface{}, error) {
66 …C.TF_OperationGetAttrStringList(op.c, cname, &values[0], &lengths[0], C.int(meta.list_size), unsaf…
82 C.TF_OperationGetAttrIntList(op.c, cname, &list[0], C.int(meta.list_size), status.c)
97 C.TF_OperationGetAttrFloatList(op.c, cname, &list[0], C.int(meta.list_size), status.c)
112 C.TF_OperationGetAttrBoolList(op.c, cname, &list[0], C.int(meta.list_size), status.c)
[all …]
/external/selinux/libsepol/src/
Dbooleans.c19 const char *cname; in bool_update() local
23 sepol_bool_key_unpack(key, &cname); in bool_update()
24 name = strdup(cname); in bool_update()
50 ERR(handle, "could not update boolean %s", cname); in bool_update()
123 const char *cname; in sepol_bool_exists() local
125 sepol_bool_key_unpack(key, &cname); in sepol_bool_exists()
126 name = strdup(cname); in sepol_bool_exists()
130 "if user %s exists", cname); in sepol_bool_exists()
147 const char *cname; in sepol_bool_query() local
149 sepol_bool_key_unpack(key, &cname); in sepol_bool_query()
[all …]
Dusers.c114 const char *cname, *cmls_level, *cmls_range; in sepol_user_modify() local
132 sepol_user_key_unpack(key, &cname); in sepol_user_modify()
142 usrdatum = hashtab_search(policydb->p_users.table, cname); in sepol_user_modify()
168 roles[i], cname); in sepol_user_modify()
188 "default level was defined for user %s", cname); in sepol_user_modify()
208 "range was defined for user %s", cname); in sepol_user_modify()
225 "was found for user %s", cname); in sepol_user_modify()
251 name = strdup(cname); in sepol_user_modify()
299 const char *cname; in sepol_user_exists() local
300 sepol_user_key_unpack(key, &cname); in sepol_user_exists()
[all …]
/external/tensorflow/tensorflow/java/src/main/native/
Doperation_builder_jni.cc150 const char* cname = env->GetStringUTFChars(name, nullptr); in Java_org_tensorflow_OperationBuilder_setAttrString() local
152 TF_SetAttrString(d, cname, cvalue, env->GetArrayLength(value)); in Java_org_tensorflow_OperationBuilder_setAttrString()
154 env->ReleaseStringUTFChars(name, cname); in Java_org_tensorflow_OperationBuilder_setAttrString()
165 const char* cname = env->GetStringUTFChars(name, nullptr); \
166 TF_SetAttr##name(d, cname, static_cast<ctype>(value)); \
167 env->ReleaseStringUTFChars(name, cname); \
177 const char* cname = env->GetStringUTFChars(name, nullptr); \
189 TF_SetAttr##name##List(d, cname, cvalue.get(), n); \
191 env->ReleaseStringUTFChars(name, cname); \
213 const char* cname = env->GetStringUTFChars(name, nullptr); in Java_org_tensorflow_OperationBuilder_setAttrTensor() local
[all …]
Doperation_jni.cc78 const char* cname = env->GetStringUTFChars(name, nullptr); in Java_org_tensorflow_Operation_outputListLength() local
79 int result = TF_OperationOutputListLength(op, cname, status); in Java_org_tensorflow_Operation_outputListLength()
80 env->ReleaseStringUTFChars(name, cname); in Java_org_tensorflow_Operation_outputListLength()
169 const char* cname = env->GetStringUTFChars(name, nullptr); in Java_org_tensorflow_Operation_inputListLength() local
170 int result = TF_OperationInputListLength(op, cname, status); in Java_org_tensorflow_Operation_inputListLength()
171 env->ReleaseStringUTFChars(name, cname); in Java_org_tensorflow_Operation_inputListLength()
Dtensorflow_jni.cc40 const char* cname = env->GetStringUTFChars(filename, nullptr); in Java_org_tensorflow_TensorFlow_libraryLoad() local
41 TF_Library* h = TF_LoadLibrary(cname, status); in Java_org_tensorflow_TensorFlow_libraryLoad()
43 env->ReleaseStringUTFChars(filename, cname); in Java_org_tensorflow_TensorFlow_libraryLoad()
/external/libdivsufsort/CMakeModules/
DAppendCompilerFlags.cmake6 string(REGEX REPLACE "[-+/ ]" "_" cname "${_name}")
7 string(TOUPPER "${cname}" cname)
12 set(have_flag "HAVE_${cname}_${flagname}")
24 string(REGEX REPLACE "[-+/ ]" "_" cname "${_name}")
25 string(TOUPPER "${cname}" cname)
30 set(have_flag "HAVE_${cname}_${flagname}")
/external/syzkaller/vendor/github.com/google/go-cmp/cmp/cmpopts/
Dstruct_filter.go49 cname, err := canonicalName(t, name)
51 panic(fmt.Sprintf("%s: %v", strings.Join(cname, "."), err))
53 ft.insert(cname)
95 func (ft *fieldTree) insert(cname []string) {
99 if len(cname) == 0 {
103 sub := ft.sub[cname[0]]
104 sub.insert(cname[1:])
105 ft.sub[cname[0]] = sub
/external/mksh/src/
Demacsfn.h23 #define FN(cname,sname,flags) static int x_##cname(int); argument
25 #define FN(cname,sname,flags) XFUNC_##cname, argument
26 #define F0(cname,sname,flags) XFUNC_##cname = 0, argument
28 #define FN(cname,sname,flags) { x_##cname, sname, flags }, argument
Dsh_flags.gen26 #define FN(sname,cname,flags,ochar) cname,
27 #define F0(sname,cname,flags,ochar) cname = 0,
29 #define FN(sname,cname,flags,ochar) ((const char *)(&shoptione_ ## cname)) + 2,
Dsh_flags.opt24 #define FN(sname,cname,flags,ochar) cname,
25 #define F0(sname,cname,flags,ochar) cname = 0,
27 #define FN(sname,cname,flags,ochar) ((const char *)(&shoptione_ ## cname)) + 2,
/external/perfetto/protos/perfetto/trace/ftrace/
Dcgroup.proto14 optional string cname = 5; field
19 optional string cname = 3; field
29 optional string cname = 3; field
36 optional string cname = 5; field
46 optional string cname = 3; field
51 optional string cname = 3; field
/external/python/cpython2/Tools/framer/framer/
Dmember.py36 def __init__(self, cname=None, type=None, flags=None, doc=None): argument
39 self.cname = cname
52 if self.cname is not None:
53 v["CName"] = self.cname
/external/swiftshader/third_party/subzero/pydir/
Dbuild-pnacl-ir.py29 for cname in args.cfile:
30 basename = os.path.splitext(cname)[0]
35 shellcmd('pnacl-clang -O2 -c {0} -o {1}'.format(cname, llname))
/external/perfetto/test/
Dend_to_end_benchmark.cc78 auto cname = "produced.and.committed." + std::to_string(iterations++); in BenchmarkProducer() local
79 auto on_produced_and_committed = task_runner.CreateCheckpoint(cname); in BenchmarkProducer()
81 task_runner.RunUntilCheckpoint(cname, time_for_messages_ms); in BenchmarkProducer()
160 auto cname = "produced.and.committed." + std::to_string(iterations++); in BenchmarkConsumer() local
161 auto on_produced_and_committed = task_runner.CreateCheckpoint(cname); in BenchmarkConsumer()
167 task_runner.RunUntilCheckpoint(cname); in BenchmarkConsumer()
/external/apache-http/src/org/apache/commons/logging/impl/
DJdk14Logger.java95 String cname="unknown"; in log() local
99 cname=caller.getClassName(); in log()
103 logger.logp( level, cname, method, msg ); in log()
105 logger.logp( level, cname, method, msg, ex ); in log()
/external/python/cpython3/Objects/
Dstructseq.c193 const char *cname, *crepr; in structseq_repr() local
195 cname = typ->tp_members[i].name; in structseq_repr()
196 if (cname == NULL) { in structseq_repr()
212 len = strlen(cname) + strlen(crepr) + 3; in structseq_repr()
214 strcpy(pbuf, cname); in structseq_repr()
215 pbuf += strlen(cname); in structseq_repr()
/external/libaom/libaom/av1/common/
Dentropy.c60 #define RESET_CDF_COUNTER(cname, nsymbs) \ argument
61 RESET_CDF_COUNTER_STRIDE(cname, nsymbs, CDF_SIZE(nsymbs))
63 #define RESET_CDF_COUNTER_STRIDE(cname, nsymbs, cdf_stride) \ argument
65 aom_cdf_prob *cdf_ptr = (aom_cdf_prob *)cname; \
66 int array_size = (int)sizeof(cname) / sizeof(aom_cdf_prob); \
/external/tensorflow/tensorflow/go/genop/internal/
Dapi_def_map.go101 cname := C.CString(opname)
102 defer C.free(unsafe.Pointer(cname))
106 m.c, cname, C.size_t(len(opname)), status)
/external/iproute2/misc/
Dlnstat.c189 char *cname, *fname = fps->params[i].lf->name; in build_hdr_string() local
195 cname = fname; in build_hdr_string()
197 if (cname - fname >= strlen(fname)) in build_hdr_string()
203 "%*.*s|", width, width, cname); in build_hdr_string()
205 cname += width; in build_hdr_string()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dparse_example_dataset_test.py681 cname = "c"
684 cname: int64_feature([2]),
696 cname: int64_feature([3]),
734 cname = "c"
738 cname: int64_feature([2]),
753 cname: int64_feature([3]),
773 cname:
787 cname:
819 cname:
856 cname:
[all …]
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cgroup/cgroup_rmdir/
Dformat11 field:char cname[20]; offset:16; size:20; signed:0;
13 print fmt: "root=%d id=%d cgroup=%s", REC->root, REC->id, REC->cname
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cgroup/cgroup_rename/
Dformat11 field:char cname[20]; offset:16; size:20; signed:0;
13 print fmt: "root=%d id=%d cgroup=%s", REC->root, REC->id, REC->cname

123456