/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MessagePatternUtil.java | 201 return argType; in getArgType() 242 if (argType != MessagePattern.ArgType.NONE) { in toString() 244 if (argType == MessagePattern.ArgType.SIMPLE) { in toString() 262 private MessagePattern.ArgType argType; field in MessagePatternUtil.ArgNode 279 return argType; in getArgType() 342 sb.append('(').append(argType.toString()).append(" style) "); in toString() 349 private ComplexArgStyleNode(MessagePattern.ArgType argType) { in ComplexArgStyleNode() argument 351 this.argType = argType; in ComplexArgStyleNode() 361 private MessagePattern.ArgType argType; field in MessagePatternUtil.ComplexArgStyleNode 454 MessagePattern.ArgType argType = node.argType = part.getArgType(); in buildArgNode() local [all …]
|
D | MessagePattern.java | 945 ArgType argType=ArgType.NONE; in parseArg() local 946 addPart(Part.Type.ARG_START, index, argStartLength, argType.ordinal()); in parseArg() 1003 argType=ArgType.SIMPLE; in parseArg() 1007 argType=ArgType.CHOICE; in parseArg() 1009 argType=ArgType.PLURAL; in parseArg() 1011 argType=ArgType.SELECT; in parseArg() 1015 argType=ArgType.SELECTORDINAL; in parseArg() 1019 parts.get(argStart).value=(short)argType.ordinal(); in parseArg() 1020 if(argType==ArgType.SIMPLE) { in parseArg() 1025 if(argType!=ArgType.SIMPLE) { in parseArg() [all …]
|
D | MessageFormat.java | 1236 ArgType argType=part.getArgType(); in parse() local 1269 argType==ArgType.NONE || in parse() 1293 } else if(argType==ArgType.CHOICE) { in parse() 1303 } else if(argType.hasPluralStyle() || argType==ArgType.SELECT) { in parse() 1309 throw new IllegalStateException("unexpected argType "+argType); in parse() 1587 ArgType argType=part.getArgType(); in format() local 1657 argType==ArgType.NONE || in format() 1670 } else if(argType==ArgType.CHOICE) { in format() 1677 } else if(argType.hasPluralStyle()) { in format() 1682 if(argType == ArgType.PLURAL) { in format() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MessagePatternUtil.java | 218 return argType; in getArgType() 265 if (argType != MessagePattern.ArgType.NONE) { in toString() 267 if (argType == MessagePattern.ArgType.SIMPLE) { in toString() 285 private MessagePattern.ArgType argType; field in MessagePatternUtil.ArgNode 304 return argType; in getArgType() 372 sb.append('(').append(argType.toString()).append(" style) "); in toString() 379 private ComplexArgStyleNode(MessagePattern.ArgType argType) { in ComplexArgStyleNode() argument 381 this.argType = argType; in ComplexArgStyleNode() 391 private MessagePattern.ArgType argType; field in MessagePatternUtil.ComplexArgStyleNode 490 MessagePattern.ArgType argType = node.argType = part.getArgType(); in buildArgNode() local [all …]
|
D | MessagePattern.java | 1016 ArgType argType=ArgType.NONE; in parseArg() local 1017 addPart(Part.Type.ARG_START, index, argStartLength, argType.ordinal()); in parseArg() 1074 argType=ArgType.SIMPLE; in parseArg() 1078 argType=ArgType.CHOICE; in parseArg() 1080 argType=ArgType.PLURAL; in parseArg() 1082 argType=ArgType.SELECT; in parseArg() 1086 argType=ArgType.SELECTORDINAL; in parseArg() 1090 parts.get(argStart).value=(short)argType.ordinal(); in parseArg() 1091 if(argType==ArgType.SIMPLE) { in parseArg() 1096 if(argType!=ArgType.SIMPLE) { in parseArg() [all …]
|
D | MessageFormat.java | 1267 ArgType argType=part.getArgType(); in parse() local 1300 argType==ArgType.NONE || in parse() 1324 } else if(argType==ArgType.CHOICE) { in parse() 1334 } else if(argType.hasPluralStyle() || argType==ArgType.SELECT) { in parse() 1340 throw new IllegalStateException("unexpected argType "+argType); in parse() 1631 ArgType argType=part.getArgType(); in format() local 1701 argType==ArgType.NONE || in format() 1714 } else if(argType==ArgType.CHOICE) { in format() 1721 } else if(argType.hasPluralStyle()) { in format() 1726 if(argType == ArgType.PLURAL) { in format() [all …]
|
/external/messageformat/java/com/ibm/icu/text/ |
D | MessagePattern.java | 1015 ArgType argType=ArgType.NONE; in parseArg() local 1016 addPart(Part.Type.ARG_START, index, argStartLength, argType.ordinal()); in parseArg() 1073 argType=ArgType.SIMPLE; in parseArg() 1077 argType=ArgType.CHOICE; in parseArg() 1079 argType=ArgType.PLURAL; in parseArg() 1081 argType=ArgType.SELECT; in parseArg() 1085 argType=ArgType.SELECTORDINAL; in parseArg() 1089 parts.get(argStart).value=(short)argType.ordinal(); in parseArg() 1090 if(argType==ArgType.SIMPLE) { in parseArg() 1095 if(argType!=ArgType.SIMPLE) { in parseArg() [all …]
|
/external/mockito/src/org/mockito/internal/configuration/injection/ |
D | ConstructorInjection.java | 78 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MessagePatternUtilTest.java | 72 private ExpectComplexArgNode expectComplexArg(Object name, MessagePattern.ArgType argType) { in expectComplexArg() argument 73 ExpectComplexArgNode complexArg = new ExpectComplexArgNode(this, name, argType); in expectComplexArg() 146 argType = MessagePattern.ArgType.NONE; in ExpectArgNode() 148 argType = MessagePattern.ArgType.SIMPLE; in ExpectArgNode() 163 argType, arg.getArgType()); in matches() 172 … if (argType == MessagePattern.ArgType.NONE || argType == MessagePattern.ArgType.SIMPLE) { in matches() 179 protected MessagePattern.ArgType argType; field in MessagePatternUtilTest.ExpectArgNode 186 Object name, MessagePattern.ArgType argType) { in ExpectComplexArgNode() argument 187 super(name, argType.toString().toLowerCase(Locale.ENGLISH)); in ExpectComplexArgNode() 188 this.argType = argType; in ExpectComplexArgNode() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | MessagePatternUtilTest.java | 76 private ExpectComplexArgNode expectComplexArg(Object name, MessagePattern.ArgType argType) { in expectComplexArg() argument 77 ExpectComplexArgNode complexArg = new ExpectComplexArgNode(this, name, argType); in expectComplexArg() 150 argType = MessagePattern.ArgType.NONE; in ExpectArgNode() 152 argType = MessagePattern.ArgType.SIMPLE; in ExpectArgNode() 167 argType, arg.getArgType()); in matches() 176 … if (argType == MessagePattern.ArgType.NONE || argType == MessagePattern.ArgType.SIMPLE) { in matches() 183 protected MessagePattern.ArgType argType; field in MessagePatternUtilTest.ExpectArgNode 190 Object name, MessagePattern.ArgType argType) { in ExpectComplexArgNode() argument 191 super(name, argType.toString().toLowerCase(Locale.ENGLISH)); in ExpectComplexArgNode() 192 this.argType = argType; in ExpectComplexArgNode() [all …]
|
/external/icu/icu4c/source/common/ |
D | messagepattern.cpp | 540 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/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/ |
D | MiniMessageFormatter.java | 108 ArgType argType=part.getArgType(); in format() local 127 if(argType==ArgType.NONE) { in format() 129 } else if(argType==ArgType.SELECT) { in format() 149 throw new UnsupportedOperationException("Unsupported argument type "+argType); in format()
|
D | MessagePatternUtilDemo.java | 47 MessagePattern.ArgType argType = arg.getArgType(); in printArg() local 48 if (argType == MessagePattern.ArgType.NONE) { in printArg() 52 if (argType == MessagePattern.ArgType.SIMPLE) { in printArg() 72 MessagePattern.ArgType argType = style.getArgType(); in printComplexArgStyle() local 75 switch (argType) { in printComplexArgStyle()
|
/external/messageformat/java/com/ibm/icu/simple/ |
D | MessageFormat.java | 1224 ArgType argType=part.getArgType(); in parse() local 1257 argType==ArgType.NONE || in parse() 1281 } else if(argType==ArgType.CHOICE) { in parse() 1291 } else if(argType.hasPluralStyle() || argType==ArgType.SELECT) { in parse() 1297 throw new IllegalStateException("unexpected argType "+argType); in parse() 1549 ArgType argType=part.getArgType(); in format() local 1612 argType==ArgType.NONE || in format() 1625 } else if(argType==ArgType.CHOICE) { in format() 1632 } else if(argType.hasPluralStyle()) { in format() 1637 if(argType == ArgType.PLURAL) { in format() [all …]
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
D | FuncId.java | 117 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/deqp/modules/gles3/scripts/ |
D | gen-invalid-texture-funcs.py | 53 def getValueExpr (argType): argument 54 return "%s(0)" % argType
|
/external/icu/icu4c/source/common/unicode/ |
D | messagepattern.h | 268 #define UMSGPAT_ARG_TYPE_HAS_PLURAL_STYLE(argType) \ argument 269 ((argType)==UMSGPAT_ARG_TYPE_PLURAL || (argType)==UMSGPAT_ARG_TYPE_SELECTORDINAL) 847 …int32_t parsePluralOrSelectStyle(UMessagePatternArgType argType, int32_t index, int32_t nestingLev…
|
/external/icu/icu4c/source/i18n/ |
D | msgfmt.cpp | 1038 UMessagePatternArgType argType = part->getArgType(); in format() local 1099 …} else if (argType == UMSGPAT_ARG_TYPE_NONE || (cachedFormatters && uhash_iget(cachedFormatters, i… in format() 1112 } else if (argType == UMSGPAT_ARG_TYPE_CHOICE) { in format() 1123 } else if (UMSGPAT_ARG_TYPE_HAS_PLURAL_STYLE(argType)) { in format() 1129 argType == UMSGPAT_ARG_TYPE_PLURAL ? pluralProvider : ordinalProvider; in format() 1138 } else if (argType == UMSGPAT_ARG_TYPE_SELECT) { in format() 1293 UMessagePatternArgType argType=part.getArgType(); in findFirstPluralNumberArg() local 1294 … if(!argName.isEmpty() && (argType==UMSGPAT_ARG_TYPE_NONE || argType==UMSGPAT_ARG_TYPE_SIMPLE)) { in findFirstPluralNumberArg() 1413 UMessagePatternArgType argType=part->getArgType(); in parse() local 1432 … argType==UMSGPAT_ARG_TYPE_NONE || (cachedFormatters && uhash_iget(cachedFormatters, i -2))) { in parse() [all …]
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | Key.java | 372 TypeMirror argType = 374 if (MoreTypes.isTypeOf(Produced.class, argType)) { 375 TypeMirror producedArgType = MoreTypes.asDeclared(argType).getTypeArguments().get(0);
|
/external/fonttools/Lib/fontTools/misc/ |
D | psCharStrings.py | 1138 operator, argType = self.operators[op] 1139 self.handle_operator(operator, argType) 1142 def handle_operator(self, operator, argType): argument 1143 if isinstance(argType, type(())): 1145 for i in range(len(argType)-1, -1, -1): 1146 arg = argType[i] 1150 arghandler = getattr(self, "arg_" + argType)
|
/external/webrtc/talk/session/media/ |
D | typewrapping.h.pump | 280 #define WRAP_CALL$i(ruleSet, toType, function$for j [[, argType$j, arg$j]]) \ 285 argType$j]]>::Call( \ 292 argType$j]]>::OriginalFunctionType)$for j [[, \
|
/external/icu/icu4c/source/io/ |
D | uprntf_p.c | 1217 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/fonttools/Lib/fontTools/ |
D | cffLib.py | 1347 op, argType = self.opcodes[name] 1348 if isinstance(argType, tuple): 1349 l = len(argType) 1352 arg = argType[i] 1357 arghandler = getattr(self, "arg_" + argType)
|
/external/clang/lib/CodeGen/ |
D | CGObjC.cpp | 1283 QualType argType = argDecl->getType().getNonReferenceType(); in generateObjCSetterBody() local 1284 DeclRefExpr arg(argDecl, false, argType, VK_LValue, SourceLocation()); in generateObjCSetterBody() 1286 argType.getUnqualifiedType(), CK_LValueToRValue, in generateObjCSetterBody()
|
D | CGCall.cpp | 1380 llvm::Type *argType = ArgInfo.getCoerceToType(); in GetFunctionType() local 1381 llvm::StructType *st = dyn_cast<llvm::StructType>(argType); in GetFunctionType() 1388 ArgTypes[FirstIRArg] = argType; in GetFunctionType()
|