Home
last modified time | relevance | path

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

12345

/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/c-ares/
Dacountry.c97 static void find_country_from_cname(const char *cname, struct in_addr addr);
226 const char *cname; in callback() local
241 cname = host->h_name; /* CNAME gets put here */ in callback()
242 if (!cname) in callback()
245 find_country_from_cname(cname, *(struct in_addr*)host->h_addr); in callback()
554 static void find_country_from_cname(const char *cname, struct in_addr addr) in find_country_from_cname() argument
562 z0 = TOLOWER(cname[0]); in find_country_from_cname()
563 z1 = TOLOWER(cname[1]); in find_country_from_cname()
564 ccopy = strdup(cname); in find_country_from_cname()
567 ver_1 = (z0 == 'z' && z1 == 'z' && !strcasecmp(cname+4,nerd_ver1)); in find_country_from_cname()
[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()
124 const char *cname; in sepol_bool_exists() local
126 sepol_bool_key_unpack(key, &cname); in sepol_bool_exists()
127 name = strdup(cname); in sepol_bool_exists()
131 "if user %s exists", cname); in sepol_bool_exists()
148 const char *cname; in sepol_bool_query() local
150 sepol_bool_key_unpack(key, &cname); in sepol_bool_query()
[all …]
Dusers.c109 const char *cname, *cmls_level, *cmls_range; in sepol_user_modify() local
127 sepol_user_key_unpack(key, &cname); in sepol_user_modify()
138 (const hashtab_key_t)cname); in sepol_user_modify()
165 roles[i], cname); in sepol_user_modify()
185 "default level was defined for user %s", cname); in sepol_user_modify()
205 "range was defined for user %s", cname); in sepol_user_modify()
222 "was found for user %s", cname); in sepol_user_modify()
246 name = strdup(cname); in sepol_user_modify()
294 const char *cname; in sepol_user_exists() local
295 sepol_user_key_unpack(key, &cname); in sepol_user_exists()
[all …]
/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/regex-re2/re2/
Dmake_perl_groups.pl57 my ($cname, $name, @ranges) = @_;
58 print "static URange16 code${cname}[] = { /* $name */\n";
73 return "{ \"$escname\", +1, code$cname, $n }", "{ \"$negname\", -1, code$cname, $n }";
79 my ($cname, @classes) = @_;
85 print "UGroup ${cname}_groups[] = {\n";
91 print "int num_${cname}_groups = $count;\n";
/external/opencv3/modules/python/src2/
Dgen2.py250 self.cname = name.replace(".", "::")
290 …to(PyObject* src, %s& dst, const char* name)\n{\n PyObject* tmp;\n bool ok;\n" % (self.cname)
293 … code += "\n return pyopencv_to(src, (%s&)dst, name);\n}\n" % all_classes[self.base].cname
314 …et_code.write(gen_template_get_prop_algo.substitute(name=self.name, cname=self.cname, member=pname…
321 …et_code.write(gen_template_set_prop_algo.substitute(name=self.name, cname=self.cname, member=pname…
340 code = gen_template_type_impl.substitute(name=self.name, wname=self.wname, cname=self.cname,
497 def __init__(self, classname, name, cname, isconstructor, namespace): argument
500 self.cname = cname
565 … code += gen_template_check_self_algo.substitute(name=selfinfo.name, cname=selfinfo.cname, amp=amp)
568 …code += gen_template_check_self.substitute(name=selfinfo.name, cname=selfinfo.cname, amp=amp, get=…
[all …]
/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/javassist/src/main/javassist/compiler/
DMemberResolver.java243 String cname = desc.substring(i, j); in compareSignature()
244 if (!cname.equals(argClassNames[n])) { in compareSignature()
247 if (clazz.subtypeOf(lookupClassByJvmName(cname))) in compareSignature()
344 String cname = ""; in lookupClass() local
349 cname = clazz.getName(); in lookupClass()
354 cname = getTypeName(type); in lookupClass()
357 cname += "[]"; in lookupClass()
359 return lookupClass(cname, false); in lookupClass()
366 String cname = ""; in getTypeName() local
369 cname = "boolean"; in getTypeName()
[all …]
DCodeGen.java833 String cname = className; in atArrayAssign() local
835 atAssignCore(expr, op, right, aType, aDim, cname); in atArrayAssign()
846 className = cname; in atArrayAssign()
853 int type, int dim, String cname) in atAssignCore() argument
857 atStringPlusEq(expr, type, dim, cname, right); in atAssignCore()
860 if (invalidDim(exprType, arrayDim, className, type, dim, cname, in atAssignCore()
880 private void atStringPlusEq(Expr expr, int type, int dim, String cname, in atStringPlusEq() argument
884 if (!jvmJavaLangString.equals(cname)) in atStringPlusEq()
1362 String cname = resolveClassName(expr.getClassName()); in atCastExpr() local
1363 String toClass = checkCastExpr(expr, cname); in atCastExpr()
[all …]
DParser.java1093 String cname = toClassName(className); in parseDotClass() local
1099 sbuf.append('L').append(cname.replace('.', '/')).append(';'); in parseDotClass()
1100 cname = sbuf.toString(); in parseDotClass()
1103 return Expr.make('.', new Symbol(cname), new Member("class")); in parseDotClass()
1114 String cname = CodeGen.toJvmTypeName(builtinType, dim); in parseDotClass() local
1115 return Expr.make('.', new Symbol(cname), new Member("class")); in parseDotClass()
1118 String cname; in parseDotClass() local
1121 cname = "java.lang.Boolean"; in parseDotClass()
1124 cname = "java.lang.Byte"; in parseDotClass()
1127 cname = "java.lang.Character"; in parseDotClass()
[all …]
DTypeChecker.java78 int type, int dim, String cname) { in typeToString() argument
81 s = MemberResolver.jvmToJavaName(cname); in typeToString()
146 String cname = clazz.getName(); in atNewExpr() local
151 className = MemberResolver.javaToJvmName(cname); in atNewExpr()
260 String cname = className; in atArrayAssign() local
264 className = cname; in atArrayAssign()
274 String cname = className; in atFieldAssign() local
278 className = cname; in atFieldAssign()
369 String cname = className; in atPlusExpr() local
375 if ((type1 == CLASS && dim1 == 0 && jvmJavaLangString.equals(cname)) in atPlusExpr()
[all …]
DMemberCodeGen.java296 String cname = clazz.getName(); in atNewExpr() local
298 bytecode.addNew(cname); in atNewExpr()
306 className = MemberResolver.javaToJvmName(cname); in atNewExpr()
797 String cname = className; in atFieldAssign() local
799 atAssignCore(expr, op, right, fType, fDim, cname); in atFieldAssign()
816 className = cname; in atFieldAssign()
966 String cname = f.getDeclaringClass().getName(); in addFieldrefInfo() local
967 int ci = cp.addClassInfo(cname); in addFieldrefInfo()
973 protected void atClassObject2(String cname) throws CompileError { in atClassObject2() argument
975 super.atClassObject2(cname); in atClassObject2()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/
Dcfadmin13 for cname in d.cnames:
14 print " "*12, "CNAME => %s" % cname
34 for cname in dir(self):
35 if not cname.startswith("_"):
36 cmd = getattr(self, cname)
39 print "\t%s - %s" % (cname, doc)
Dcwutil113 for cname in dir(self):
114 if not cname.startswith("_") and not cname == "cmd":
115 cmd = getattr(self, cname)
118 print "\t%s - %s" % (cname, doc)
/external/javassist/src/main/javassist/expr/
DMethodCall.java83 String cname; in getClassName() local
91 cname = cp.getInterfaceMethodrefClassName(index); in getClassName()
93 cname = cp.getMethodrefClassName(index); in getClassName()
95 if (cname.charAt(0) == '[') in getClassName()
96 cname = Descriptor.toClassName(cname); in getClassName()
98 return cname; in getClassName()
/external/javassist/src/main/javassist/
DLoaderClassPath.java65 String cname = classname.replace('.', '/') + ".class"; in openClassfile() local
70 return cl.getResourceAsStream(cname); in openClassfile()
81 String cname = classname.replace('.', '/') + ".class"; in find() local
86 return cl.getResource(cname); in find()
DByteArrayClassPath.java88 String cname = classname.replace('.', '/') + ".class"; in find() local
91 return new URL("file:/ByteArrayClassPath/" + cname); in find()
/external/javassist/src/main/javassist/runtime/
DDesc.java144 String cname; in getClassType() local
146 cname = desc.substring(start + 1, end); in getClassType()
148 cname = desc.substring(start, end + 1); in getClassType()
152 result[num] = getClassObject(cname.replace('/', '.')); in getClassType()
/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/autotest/client/cros/audio/
Dalsa_utils.py115 def get_first_soundcard_with_control(cname, scname): argument
122 cpat = re.compile(r'\b%s\b' % cname, re.IGNORECASE)
138 card_id = get_first_soundcard_with_control(cname='Headphone Jack',
151 card_id = get_first_soundcard_with_control(cname='Mic Jack', scname='Mic')
/external/javassist/src/main/javassist/convert/
DTransformCall.java72 String cname = cp.eqMember(methodname, methodDescriptor, index); in transform() local
73 if (cname != null && matchClass(cname, clazz.getClassPool())) { in transform()
/external/testng/src/main/java/org/testng/reporters/util/
DStackTraceTools.java18 String cname = method.getTestClass().getName(); in getTestRoot() local
20 if(cname.equals(stack[x].getClassName()) in getTestRoot()

12345