Home
last modified time | relevance | path

Searched refs:argType (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/third_party/ocmock/OCMock/
DNSInvocation+OCMAdditions.m13 const char* argType;
15 argType = [[self methodSignature] getArgumentTypeAtIndex:argIndex];
16 while(strchr("rnNoORV", argType[0]) != NULL)
17 argType += 1;
19 if((strlen(argType) > 1) && (strchr("{^", argType[0]) == NULL) && (strcmp("@?", argType) != 0))
20 …NSException raise:NSInvalidArgumentException format:@"Cannot handle argument type '%s'.", argType];
22 switch (argType[0])
127 return [NSValue valueWithBytes:[argumentData bytes] objCType:argType];
131 [NSException raise:NSInvalidArgumentException format:@"Argument type '%s' not supported", argType];
157 const char *argType = [[self methodSignature] getArgumentTypeAtIndex:argIndex];
[all …]
/external/mockito/src/org/mockito/internal/configuration/injection/
DConstructorInjection.java78 for (Class<?> argType : argTypes) { in resolveTypeInstances()
79 argumentInstances.add(objectThatIsAssignableFrom(argType)); in resolveTypeInstances()
84 private Object objectThatIsAssignableFrom(Class<?> argType) { in objectThatIsAssignableFrom() argument
86 if(argType.isAssignableFrom(object.getClass())) return object; in objectThatIsAssignableFrom()
/external/icu4c/common/
Dmessagepattern.cpp540 UMessagePatternArgType argType=UMSGPAT_ARG_TYPE_NONE; in parseArg() local
541 addPart(UMSGPAT_PART_TYPE_ARG_START, index, argStartLength, argType, errorCode); in parseArg()
613 argType=UMSGPAT_ARG_TYPE_SIMPLE; in parseArg()
617 argType=UMSGPAT_ARG_TYPE_CHOICE; in parseArg()
619 argType=UMSGPAT_ARG_TYPE_PLURAL; in parseArg()
621 argType=UMSGPAT_ARG_TYPE_SELECT; in parseArg()
625 argType=UMSGPAT_ARG_TYPE_SELECTORDINAL; in parseArg()
629 partsList->a[argStart].value=(int16_t)argType; in parseArg()
630 if(argType==UMSGPAT_ARG_TYPE_SIMPLE) { in parseArg()
635 if(argType!=UMSGPAT_ARG_TYPE_SIMPLE) { in parseArg()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFuncId.java117 int argType = arg.getType(); in execute() local
121 if (XObject.CLASS_NODESET == argType) in execute()
138 else if (XObject.CLASS_NULL == argType) in execute()
/external/icu4c/common/unicode/
Dmessagepattern.h270 #define UMSGPAT_ARG_TYPE_HAS_PLURAL_STYLE(argType) \ argument
271 ((argType)==UMSGPAT_ARG_TYPE_PLURAL || (argType)==UMSGPAT_ARG_TYPE_SELECTORDINAL)
850 …int32_t parsePluralOrSelectStyle(UMessagePatternArgType argType, int32_t index, int32_t nestingLev…
/external/chromium_org/third_party/icu/source/i18n/
Dmsgfmt.cpp1526 Formattable::Type argType; in makeFormat() local
1536 argType = Formattable::kString; in makeFormat()
1540 argType = Formattable::kDouble; in makeFormat()
1553 argType = Formattable::kLong; in makeFormat()
1570 argType = Formattable::kDate; in makeFormat()
1589 argType = Formattable::kDouble; in makeFormat()
1595 argType = Formattable::kDouble; in makeFormat()
1599 argType = Formattable::kDouble; in makeFormat()
1603 argType = Formattable::kDouble; in makeFormat()
1609 argType = Formattable::kDouble; in makeFormat()
[all …]
/external/icu4c/i18n/
Dmsgfmt.cpp984 UMessagePatternArgType argType = part->getArgType(); in format() local
1040 …} else if (argType == UMSGPAT_ARG_TYPE_NONE || (cachedFormatters && uhash_iget(cachedFormatters, i… in format()
1053 } else if (argType == UMSGPAT_ARG_TYPE_CHOICE) { in format()
1064 } else if (UMSGPAT_ARG_TYPE_HAS_PLURAL_STYLE(argType)) { in format()
1070 argType == UMSGPAT_ARG_TYPE_PLURAL ? pluralProvider : ordinalProvider; in format()
1079 } else if (argType == UMSGPAT_ARG_TYPE_SELECT) { in format()
1294 UMessagePatternArgType argType=part->getArgType(); in parse() local
1313argType==UMSGPAT_ARG_TYPE_NONE || (cachedFormatters && uhash_iget(cachedFormatters, i -2))) { in parse()
1344 } else if(argType==UMSGPAT_ARG_TYPE_CHOICE) { in parse()
1354 } else if(UMSGPAT_ARG_TYPE_HAS_PLURAL_STYLE(argType) || argType==UMSGPAT_ARG_TYPE_SELECT) { in parse()
[all …]
/external/chromium_org/chrome/renderer/resources/extensions/
Dschema_utils.js60 var argType = JSONSchemaValidator.getType(args[i]);
61 if (!schemaValidator.isValidSchemaType(argType,
/external/srec/srec/cfront/
Dnisthdr.h198 #define Nist1AHeaderSetDef(fname, argType, unionKey, fieldId)\ argument
199 inline void Nist1AHeader::##fname(argType x) {\
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dtypewrapping.h.pump280 #define WRAP_CALL$i(ruleSet, toType, function$for j [[, argType$j, arg$j]]) \
285 argType$j]]>::Call( \
292 argType$j]]>::OriginalFunctionType)$for j [[, \
/external/chromium_org/third_party/icu/source/io/
Duprntf_p.c1217 ufmt_type_info argType; in u_printf_parse() local
1500 argType = g_u_printf_infos[ handlerNum ].info; in u_printf_parse()
1506 switch(argType) { in u_printf_parse()
1533 switch(argType) { in u_printf_parse()
/external/icu4c/io/
Duprntf_p.c1217 ufmt_type_info argType; in u_printf_parse() local
1500 argType = g_u_printf_infos[ handlerNum ].info; in u_printf_parse()
1506 switch(argType) { in u_printf_parse()
1533 switch(argType) { in u_printf_parse()
/external/clang/utils/TableGen/
DNeonEmitter.cpp1649 char argType = ClassifyType(typestr, argQuad, argPoly, argUsgn); in GenBuiltin() local
1650 argType = ModType(proto[i], argType, argQuad, argPoly, argUsgn, argScalar, in GenBuiltin()
1657 if (argType != 'c' || argPoly || argUsgn) in GenBuiltin()
1676 ((ck == ClassB && argType != 'c') || argPoly || argUsgn)) { in GenBuiltin()
1679 argTypeStr = argType; in GenBuiltin()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp2125 QualType argType = Context->getPointerType(Context->CharTy); in RewriteAtSelector() local
2129 argType, SourceLocation())); in RewriteAtSelector()
2678 QualType argType = Context->getPointerType(Context->CharTy); in RewriteObjCBoxedExpr() local
2688 argType, SourceLocation())); in RewriteObjCBoxedExpr()
2701 argType, SourceLocation())); in RewriteObjCBoxedExpr()
2815 QualType argType = Context->getPointerType(Context->CharTy); in RewriteObjCArrayLiteralExpr() local
2826 argType, SourceLocation())); in RewriteObjCArrayLiteralExpr()
2840 argType, SourceLocation())); in RewriteObjCArrayLiteralExpr()
2978 QualType argType = Context->getPointerType(Context->CharTy); in RewriteObjCDictionaryLiteralExpr() local
2989 argType, SourceLocation())); in RewriteObjCDictionaryLiteralExpr()
[all …]
DRewriteObjC.cpp2031 QualType argType = Context->getPointerType(Context->CharTy); in RewriteAtSelector() local
2035 argType, SourceLocation())); in RewriteAtSelector()
2718 QualType argType = Context->getPointerType(Context->CharTy); in SynthMessageExpr() local
2722 argType, SourceLocation())); in SynthMessageExpr()
2792 QualType argType = Context->getPointerType(Context->CharTy); in SynthMessageExpr() local
2799 argType, SourceLocation())); in SynthMessageExpr()
2827 QualType argType = Context->getPointerType(Context->CharTy); in SynthMessageExpr() local
2830 StringLiteral::Ascii, false, argType, in SynthMessageExpr()
2912 QualType argType = Context->getPointerType(Context->CharTy); in SynthMessageExpr() local
2916 argType, SourceLocation())); in SynthMessageExpr()
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/
Dcode_generator_v8.pm2625 my $argType = $parameter->type;
2626 if (IsWrapperType($argType)) {
2629 …$parameterCheckString .= " if (!V8${argType}::hasInstance(info[i], info.GetIsolate(), world…
2630 …", \"$interfaceName\", \"parameter $humanFriendlyIndex is not of type \'$argType\'.\"), info.GetIs…
2633 …$parameterCheckString .= " $parameterName.append(V8${argType}::toNative(v8::Handle<v8::Obje…
2671 my $argType = $parameter->type;
2672 if (IsWrapperType($argType)) {
2673 …if (info.Length() > $paramIndex && !isUndefinedOrNull($argValue) && !V8${argType}::hasInstance($ar…
2674 …", \"$interfaceName\", \"parameter $humanFriendlyIndex is not of type \'$argType\'.\"), info.GetIs…
/external/clang/lib/CodeGen/
DCGExprCXX.cpp1231 QualType argType = allocatorType->getArgType(i); in EmitCXXNewExpr() local
1233 assert(getContext().hasSameUnqualifiedType(argType.getNonReferenceType(), in EmitCXXNewExpr()
1237 EmitCallArg(allocatorArgs, *placementArg, argType); in EmitCXXNewExpr()
DCGCall.cpp955 llvm::Type *argType = argAI.getCoerceToType(); in GetFunctionType() local
956 if (llvm::StructType *st = dyn_cast<llvm::StructType>(argType)) { in GetFunctionType()
960 argTypes.push_back(argType); in GetFunctionType()
DCGObjC.cpp1224 QualType argType = argDecl->getType().getNonReferenceType(); in generateObjCSetterBody() local
1225 DeclRefExpr arg(argDecl, false, argType, VK_LValue, SourceLocation()); in generateObjCSetterBody()
1227 argType.getUnqualifiedType(), CK_LValueToRValue, in generateObjCSetterBody()