/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; 385 ArgType PrintfSpecifier::getArgType(ASTContext &Ctx, 390 return ArgType::Invalid(); 398 return ArgType(ArgType::WIntTy, "wint_t"); 403 return ArgType::Invalid(); 414 return ArgType(Ctx.IntTy, "__int32"); 415 case LengthModifier::AsChar: return ArgType::AnyCharTy; 422 return ArgType(Ctx.LongLongTy, "__int64"); 424 return ArgType(Ctx.getIntMaxType(), "intmax_t") [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()) { 153 CType argType = new CType(); 159 argType.setIsConst(true); 162 argType.setBaseType(argTypeName); 166 argType.setIsPointer(true); 173 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(); 600 JType argType = jfunc.getArgType(i); 602 out.print(indent + indent + argType + " " + argName); 827 JType argType = jfunc.getArgType(i); 828 signature += getJniName(argType); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
MessagePatternUtil.java | 200 public MessagePattern.ArgType getArgType() { 201 return argType; 242 if (argType != MessagePattern.ArgType.NONE) { 244 if (argType == MessagePattern.ArgType.SIMPLE) { 262 private MessagePattern.ArgType argType; 278 public MessagePattern.ArgType getArgType() { 279 return argType; [all...] |
MessagePattern.java | 66 * <li><code>ARG_START.CHOICE</code> stands for an ARG_START Part with ArgType CHOICE. 177 parseMessage(0, 0, 0, ArgType.NONE); 209 parsePluralOrSelectStyle(ArgType.PLURAL, 0, 0); 225 parsePluralOrSelectStyle(ArgType.SELECT, 0, 0); 571 * otherwise ArgType.NONE. 574 public ArgType getArgType() { 579 return ArgType.NONE; 627 * The value is the ordinal value of the ArgType. Use getArgType(). 630 * followed by optional argument sub-parts (see ArgType constants) 637 * The value is the ordinal value of the ArgType. Use getArgType() [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. 184 parseMessage(0, 0, 0, ArgType.NONE); 218 parsePluralOrSelectStyle(ArgType.PLURAL, 0, 0); 235 parsePluralOrSelectStyle(ArgType.SELECT, 0, 0); 610 * otherwise ArgType.NONE. 614 public ArgType getArgType() { 619 return ArgType.NONE; 673 * The value is the ordinal value of the ArgType. Use getArgType(). 676 * followed by optional argument sub-parts (see ArgType constants) 684 * The value is the ordinal value of the ArgType. Use getArgType() [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
MessagePatternUtilTest.java | 65 return expectComplexArg(name, MessagePattern.ArgType.CHOICE); 68 return expectComplexArg(name, MessagePattern.ArgType.PLURAL); 71 return expectComplexArg(name, MessagePattern.ArgType.SELECT); 74 return expectComplexArg(name, MessagePattern.ArgType.SELECTORDINAL); 76 private ExpectComplexArgNode expectComplexArg(Object name, MessagePattern.ArgType argType) { 77 ExpectComplexArgNode complexArg = new ExpectComplexArgNode(this, name, argType); 150 argType = MessagePattern.ArgType.NONE; 152 argType = MessagePattern.ArgType.SIMPLE [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/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/ |
MiniMessageFormatter.java | 17 import com.ibm.icu.text.MessagePattern.ArgType; 108 ArgType argType=part.getArgType(); 127 if(argType==ArgType.NONE) { 129 } else if(argType==ArgType.SELECT) { 149 throw new UnsupportedOperationException("Unsupported argument type "+argType);
|
MessagePatternUtilDemo.java | 47 MessagePattern.ArgType argType = arg.getArgType(); 48 if (argType == MessagePattern.ArgType.NONE) { 52 if (argType == MessagePattern.ArgType.SIMPLE) { 72 MessagePattern.ArgType argType = style.getArgType(); 75 switch (argType) {
|
/external/webrtc/talk/session/media/ |
typewrapping.h.pump | 125 typename ArgType$j]]> 131 typedef SMART_UNWRAPPER_TYPE_(Unwrapper, ArgType$j) OriginalArgType$j; 145 ArgType$j v$j]]) { 149 SMART_UNWRAPPER_(Unwrapper, ArgType$j, v$j)]])); 160 typename ArgType$j]]> 165 ArgType$j]]> { 170 typedef SMART_UNWRAPPER_TYPE_(Unwrapper, ArgType$j) OriginalArgType$j; 184 ArgType$j v$j]]) { 187 SMART_UNWRAPPER_(Unwrapper, ArgType$j, v$j)]]); 280 #define WRAP_CALL$i(ruleSet, toType, function$for j [[, argType$j, arg$j]]) [all...] |
/external/clang/include/clang/Analysis/Analyses/ |
FormatString.h | 231 class ArgType { 244 ArgType(Kind k = UnknownTy, const char *n = nullptr) 246 ArgType(QualType t, const char *n = nullptr) 248 ArgType(CanQualType t) : K(SpecificTy), T(t), Name(nullptr), Ptr(false) {} 250 static ArgType Invalid() { return ArgType(InvalidTy); } 253 /// Create an ArgType which corresponds to the type pointer to A. 254 static ArgType PtrTo(const ArgType& A) { 255 assert(A.K >= InvalidTy && "ArgType cannot be pointer to invalid/unknown") [all...] |
/external/libcxx/test/std/utilities/function.objects/func.require/ |
bullet_1_and_2.pass.cpp | 75 F(ArgType&) 76 F(ArgType&, ...) 77 F(ArgType&, ArgType&) 78 F(ArgType&, ArgType&, ...) 79 F(ArgType&, ArgType&, ArgType&) 80 F(ArgType&, ArgType&, ArgType&, ... [all...] |
bullet_3_and_4.pass.cpp | 159 TestCase<ArgType>::run(); 160 TestCase<ArgType const>::run(); 161 TestCase<ArgType volatile>::run(); 162 TestCase<ArgType const volatile>::run(); 163 TestCase<ArgType*>::run();
|
invoke_helpers.h | 78 // ArgType - A non-copyable type intended to be used as a dummy argument type 80 struct ArgType { 82 explicit ArgType(int val = 0) : value(val) {} 84 ArgType(ArgType const&); 85 ArgType& operator=(ArgType const&); 228 ArgType a0, a1, a2;
|
/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/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}} 122 template<typename ArgType> 128 (void)__builtin_va_arg(va, ArgType); 135 template<typename VaList, typename ArgType> 141 (void)__builtin_va_arg(va, ArgType); // expected-error{{int}}
|
/external/libchrome/sandbox/win/src/ |
internal_types.h | 19 enum ArgType {
|
/external/compiler-rt/lib/profile/ |
InstrProfiling.h | 74 #define VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) ArgType ArgName
|
/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());
|