/external/clang/lib/Analysis/ |
ScanfFormatString.cpp | 19 using clang::analyze_format_string::ArgType; 221 ArgType ScanfSpecifier::getArgType(ASTContext &Ctx) const { 225 return ArgType::Invalid(); 234 return ArgType::PtrTo(Ctx.IntTy); 236 return ArgType::PtrTo(ArgType::AnyCharTy); 238 return ArgType::PtrTo(Ctx.ShortTy); 240 return ArgType::PtrTo(Ctx.LongTy); 243 return ArgType::PtrTo(Ctx.LongLongTy); 245 return ArgType::PtrTo(ArgType(Ctx.LongLongTy, "__int64")) [all...] |
PrintfFormatString.cpp | 19 using clang::analyze_format_string::ArgType; 323 ArgType PrintfSpecifier::getArgType(ASTContext &Ctx, 328 return ArgType::Invalid(); 336 return ArgType(ArgType::WIntTy, "wint_t"); 341 return ArgType::Invalid(); 352 return ArgType(Ctx.IntTy, "__int32"); 353 case LengthModifier::AsChar: return ArgType::AnyCharTy; 360 return ArgType(Ctx.LongLongTy, "__int64"); 362 return ArgType(Ctx.getIntMaxType(), "intmax_t") [all...] |
FormatString.cpp | 19 using clang::analyze_format_string::ArgType; 256 // Methods on ArgType. 259 clang::analyze_format_string::ArgType::MatchKind 260 ArgType::matchesType(ASTContext &C, QualType argTy) const { 276 llvm_unreachable("ArgType must be valid"); 412 llvm_unreachable("Invalid ArgType Kind!"); 415 QualType ArgType::getRepresentativeType(ASTContext &C) const { 419 llvm_unreachable("No representative type for Invalid ArgType"); 421 llvm_unreachable("No representative type for Unknown ArgType"); 451 std::string ArgType::getRepresentativeTypeName(ASTContext &C) const [all...] |
/frameworks/native/opengl/tools/glgen/src/ |
CFunc.java | 57 public void addArgument(String argName, CType argType) { 59 argTypes.add(argType); 61 if (argType.isPointer()) { 64 if (argType.isTypedPointer()) { 67 if (argType.isEGLHandle()) { 150 CType argType = new CType(); 156 argType.setIsConst(true); 159 argType.setBaseType(argTypeName); 167 argType.setIsPointer(true); 174 cfunc.addArgument(argName, argType); [all...] |
JFunc.java | 80 public void addArgument(String argName, JType argType, int cindex) { 82 argTypes.add(argType); 85 if (argType.isBuffer()) { 89 if (argType.isTypedBuffer()) {
|
JniCodeEmitter.java | 173 JType argType = jfunc.getArgType(i); 175 if (grabArray && argType.isTypedBuffer()) { 176 String typeName = argType.getBaseType(); 552 JType argType = jfunc.getArgType(i); 554 out.print(indent + indent + argType + " " + argName); 779 JType argType = jfunc.getArgType(i); 780 signature += getJniName(argType); 826 JType argType = jfunc.getArgType(i); 828 if (!argType.isPrimitive()) { 829 if (argType.isArray()) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
MessagePatternUtil.java | 217 public MessagePattern.ArgType getArgType() { 218 return argType; 265 if (argType != MessagePattern.ArgType.NONE) { 267 if (argType == MessagePattern.ArgType.SIMPLE) { 285 private MessagePattern.ArgType argType; 303 public MessagePattern.ArgType getArgType() { 304 return argType; [all...] |
MessagePattern.java | 65 * <li><code>ARG_START.CHOICE</code> stands for an ARG_START Part with ArgType CHOICE. 183 parseMessage(0, 0, 0, ArgType.NONE); 217 parsePluralOrSelectStyle(ArgType.PLURAL, 0, 0); 234 parsePluralOrSelectStyle(ArgType.SELECT, 0, 0); 609 * otherwise ArgType.NONE. 613 public ArgType getArgType() { 618 return ArgType.NONE; 672 * The value is the ordinal value of the ArgType. Use getArgType(). 675 * followed by optional argument sub-parts (see ArgType constants) 683 * The value is the ordinal value of the ArgType. Use getArgType() [all...] |
MessageFormat.java | 37 import com.ibm.icu.text.MessagePattern.ArgType; 108 * simpleArg = '{' argNameOrNumber ',' argType [',' argStyle] '}' 122 * argType = "number" | "date" | "time" | "spellout" | "ordinal" | "duration" 149 * <p>The <code>argType</code> and <code>argStyle</code> values are used to create 157 * <th>argType [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
MessagePatternUtilTest.java | 61 return expectComplexArg(name, MessagePattern.ArgType.CHOICE); 64 return expectComplexArg(name, MessagePattern.ArgType.PLURAL); 67 return expectComplexArg(name, MessagePattern.ArgType.SELECT); 70 return expectComplexArg(name, MessagePattern.ArgType.SELECTORDINAL); 72 private ExpectComplexArgNode expectComplexArg(Object name, MessagePattern.ArgType argType) { 73 ExpectComplexArgNode complexArg = new ExpectComplexArgNode(this, name, argType); 146 argType = MessagePattern.ArgType.NONE; 148 argType = MessagePattern.ArgType.SIMPLE [all...] |
/external/mockito/src/org/mockito/internal/configuration/injection/ |
ConstructorInjection.java | 78 for (Class<?> argType : argTypes) { 79 argumentInstances.add(objectThatIsAssignableFrom(argType)); 84 private Object objectThatIsAssignableFrom(Class<?> argType) { 86 if(argType.isAssignableFrom(object.getClass())) return object;
|
/external/clang/include/clang/Analysis/Analyses/ |
FormatString.h | 230 class ArgType { 243 ArgType(Kind k = UnknownTy, const char *n = nullptr) 245 ArgType(QualType t, const char *n = nullptr) 247 ArgType(CanQualType t) : K(SpecificTy), T(t), Name(nullptr), Ptr(false) {} 249 static ArgType Invalid() { return ArgType(InvalidTy); } 252 /// Create an ArgType which corresponds to the type pointer to A. 253 static ArgType PtrTo(const ArgType& A) { 254 assert(A.K >= InvalidTy && "ArgType cannot be pointer to invalid/unknown") [all...] |
/external/eigen/Eigen/src/Core/util/ |
Meta.h | 119 template<typename Func, typename ArgType, int SizeOf=sizeof(has_none)> 120 struct unary_result_of_select {typedef ArgType type;}; 122 template<typename Func, typename ArgType> 123 struct unary_result_of_select<Func, ArgType, sizeof(has_std_result_type)> {typedef typename Func::result_type type;}; 125 template<typename Func, typename ArgType> 126 struct unary_result_of_select<Func, ArgType, sizeof(has_tr1_result)> {typedef typename Func::template result<Func(ArgType)>::type type;}; 128 template<typename Func, typename ArgType> 129 struct result_of<Func(ArgType)> { 133 static has_tr1_result testFunctor(T const *, typename T::template result<T(ArgType)>::type const * = 0) [all...] |
/external/messageformat/java/com/ibm/icu/text/ |
MessagePattern.java | 65 * <li><code>ARG_START.CHOICE</code> stands for an ARG_START Part with ArgType CHOICE. 183 parseMessage(0, 0, 0, ArgType.NONE); 217 parsePluralOrSelectStyle(ArgType.PLURAL, 0, 0); 234 parsePluralOrSelectStyle(ArgType.SELECT, 0, 0); 609 * otherwise ArgType.NONE. 613 public ArgType getArgType() { 618 return ArgType.NONE; 672 * The value is the ordinal value of the ArgType. Use getArgType(). 675 * followed by optional argument sub-parts (see ArgType constants) 683 * The value is the ordinal value of the ArgType. Use getArgType() [all...] |
/external/deqp/modules/gles3/scripts/ |
gen-invalid-texture-funcs.py | 31 def getValueExpr (argType): 32 return "%s(0)" % argType
|
/external/clang/test/SemaTemplate/ |
instantiate-expr-3.cpp | 94 template<typename ArgType> 100 (void)__builtin_va_arg(va, ArgType); 107 template<typename VaList, typename ArgType> 113 (void)__builtin_va_arg(va, ArgType); // expected-error{{int}}
|
/frameworks/compile/libbcc/lib/Renderscript/ |
RSInvokeHelperPass.cpp | 176 llvm::Type *argType = arg->getType(); 177 if (!argType->isPointerTy() || !argType->getPointerElementType()->isStructTy()) 180 llvm::StructType *argStructType = llvm::dyn_cast<llvm::StructType>(argType->getPointerElementType());
|
RSInvariant.cpp | 79 const llvm::Type *ArgType = Arg.getType(); 80 if (ArgType->isPointerTy()) { 81 const llvm::Type *ArgPtrDomainType = ArgType->getPointerElementType();
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncId.java | 117 int argType = arg.getType(); 121 if (XObject.CLASS_NODESET == argType) 138 else if (XObject.CLASS_NULL == argType)
|
/external/llvm/lib/DebugInfo/PDB/DIA/ |
DIARawSymbol.cpp | 75 template <typename ArgType> 76 ArgType PrivateGetDIAValue(IDiaSymbol *Symbol, 77 HRESULT (__stdcall IDiaSymbol::*Method)(ArgType *)) { 78 ArgType Value; 80 return static_cast<ArgType>(Value); 82 return ArgType(); 85 template <typename ArgType, typename RetType> 87 HRESULT (__stdcall IDiaSymbol::*Method)(ArgType *)) { 88 ArgType Value; 124 template <typename ArgType> [all...] |
/frameworks/native/opengl/libs/GLES_trace/tools/ |
genapi.py | 162 <!--(for argname, argtype in parsedArgs)--> 167 arg_$!argname!$->set_type(GLMessage::DataType::$!argtype!$); 168 arg_$!argname!$->$!argtype.getProtobufCall()!$$!argname!$); 192 <!--(for argname, argtype in parsedArgs)--> 193 <!--(if argtype == DataType.POINTER)--> 255 (name, argtype) = argtypelist[0] 256 if argtype == DataType.VOID:
|
/external/icu/icu4c/source/common/ |
messagepattern.cpp | 540 UMessagePatternArgType argType=UMSGPAT_ARG_TYPE_NONE; 541 addPart(UMSGPAT_PART_TYPE_ARG_START, index, argStartLength, argType, errorCode); 613 argType=UMSGPAT_ARG_TYPE_SIMPLE; 617 argType=UMSGPAT_ARG_TYPE_CHOICE; 619 argType=UMSGPAT_ARG_TYPE_PLURAL; 621 argType=UMSGPAT_ARG_TYPE_SELECT; 625 argType=UMSGPAT_ARG_TYPE_SELECTORDINAL; 628 // change the ARG_START type from NONE to argType 629 partsList->a[argStart].value=(int16_t)argType; 630 if(argType==UMSGPAT_ARG_TYPE_SIMPLE) [all...] |
/external/messageformat/java/com/ibm/icu/simple/ |
MessageFormat.java | 41 import com.ibm.icu.text.MessagePattern.ArgType; 109 * simpleArg = '{' argNameOrNumber ',' argType [',' argStyle] '}' 123 * argType = "number" | "date" | "time" | "spellout" | "ordinal" | "duration" 150 * <p>The <code>argType</code> and <code>argStyle</code> values are used to create 158 * <th>argType [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_numbers.py | 22 ArgType = type(byref(c_int(0))) 96 self.assertEqual(ArgType, type(t.from_param(0))) 102 self.assertEqual(ArgType, type(parm))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_numbers.py | 22 ArgType = type(byref(c_int(0))) 96 self.assertEqual(ArgType, type(t.from_param(0))) 102 self.assertEqual(ArgType, type(parm))
|