Home
last modified time | relevance | path

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

12

/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePatternUtil.java209 return argType; in getArgType()
250 if (argType != MessagePattern.ArgType.NONE) { in toString()
252 if (argType == MessagePattern.ArgType.SIMPLE) { in toString()
270 private MessagePattern.ArgType argType; field in MessagePatternUtil.ArgNode
288 return argType; in getArgType()
351 sb.append('(').append(argType.toString()).append(" style) "); in toString()
358 private ComplexArgStyleNode(MessagePattern.ArgType argType) { in ComplexArgStyleNode() argument
360 this.argType = argType; in ComplexArgStyleNode()
370 private MessagePattern.ArgType argType; field in MessagePatternUtil.ComplexArgStyleNode
464 MessagePattern.ArgType argType = node.argType = part.getArgType(); in buildArgNode() local
[all …]
DMessagePattern.java950 ArgType argType=ArgType.NONE; in parseArg() local
951 addPart(Part.Type.ARG_START, index, argStartLength, argType.ordinal()); in parseArg()
1008 argType=ArgType.SIMPLE; in parseArg()
1012 argType=ArgType.CHOICE; in parseArg()
1014 argType=ArgType.PLURAL; in parseArg()
1016 argType=ArgType.SELECT; in parseArg()
1020 argType=ArgType.SELECTORDINAL; in parseArg()
1024 parts.get(argStart).value=(short)argType.ordinal(); in parseArg()
1025 if(argType==ArgType.SIMPLE) { in parseArg()
1030 if(argType!=ArgType.SIMPLE) { in parseArg()
[all …]
DMessageFormat.java1241 ArgType argType=part.getArgType(); in parse() local
1274 argType==ArgType.NONE || in parse()
1298 } else if(argType==ArgType.CHOICE) { in parse()
1308 } else if(argType.hasPluralStyle() || argType==ArgType.SELECT) { in parse()
1314 throw new IllegalStateException("unexpected argType "+argType); in parse()
1594 ArgType argType=part.getArgType(); in format() local
1664 argType==ArgType.NONE || in format()
1677 } else if(argType==ArgType.CHOICE) { in format()
1684 } else if(argType.hasPluralStyle()) { in format()
1689 if(argType == ArgType.PLURAL) { in format()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePatternUtil.java220 return argType; in getArgType()
267 if (argType != MessagePattern.ArgType.NONE) { in toString()
269 if (argType == MessagePattern.ArgType.SIMPLE) { in toString()
287 private MessagePattern.ArgType argType; field in MessagePatternUtil.ArgNode
306 return argType; in getArgType()
374 sb.append('(').append(argType.toString()).append(" style) "); in toString()
381 private ComplexArgStyleNode(MessagePattern.ArgType argType) { in ComplexArgStyleNode() argument
383 this.argType = argType; in ComplexArgStyleNode()
393 private MessagePattern.ArgType argType; field in MessagePatternUtil.ComplexArgStyleNode
492 MessagePattern.ArgType argType = node.argType = part.getArgType(); in buildArgNode() local
[all …]
DMessagePattern.java1021 ArgType argType=ArgType.NONE; in parseArg() local
1022 addPart(Part.Type.ARG_START, index, argStartLength, argType.ordinal()); in parseArg()
1079 argType=ArgType.SIMPLE; in parseArg()
1083 argType=ArgType.CHOICE; in parseArg()
1085 argType=ArgType.PLURAL; in parseArg()
1087 argType=ArgType.SELECT; in parseArg()
1091 argType=ArgType.SELECTORDINAL; in parseArg()
1095 parts.get(argStart).value=(short)argType.ordinal(); in parseArg()
1096 if(argType==ArgType.SIMPLE) { in parseArg()
1101 if(argType!=ArgType.SIMPLE) { in parseArg()
[all …]
DMessageFormat.java1275 ArgType argType=part.getArgType(); in parse() local
1308 argType==ArgType.NONE || in parse()
1332 } else if(argType==ArgType.CHOICE) { in parse()
1342 } else if(argType.hasPluralStyle() || argType==ArgType.SELECT) { in parse()
1348 throw new IllegalStateException("unexpected argType "+argType); in parse()
1641 ArgType argType=part.getArgType(); in format() local
1711 argType==ArgType.NONE || in format()
1724 } else if(argType==ArgType.CHOICE) { in format()
1731 } else if(argType.hasPluralStyle()) { in format()
1736 if(argType == ArgType.PLURAL) { in format()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMessagePatternUtilTest.java76 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/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMessagePatternUtilTest.java79 private ExpectComplexArgNode expectComplexArg(Object name, MessagePattern.ArgType argType) { in expectComplexArg() argument
80 ExpectComplexArgNode complexArg = new ExpectComplexArgNode(this, name, argType); in expectComplexArg()
153 argType = MessagePattern.ArgType.NONE; in ExpectArgNode()
155 argType = MessagePattern.ArgType.SIMPLE; in ExpectArgNode()
170 argType, arg.getArgType()); in matches()
179 … if (argType == MessagePattern.ArgType.NONE || argType == MessagePattern.ArgType.SIMPLE) { in matches()
186 protected MessagePattern.ArgType argType; field in MessagePatternUtilTest.ExpectArgNode
193 Object name, MessagePattern.ArgType argType) { in ExpectComplexArgNode() argument
194 super(name, argType.toString().toLowerCase(Locale.ENGLISH)); in ExpectComplexArgNode()
195 this.argType = argType; in ExpectComplexArgNode()
[all …]
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/
DConstructorInjection.java72 for (Class<?> argType : argTypes) { in resolveTypeInstances()
73 argumentInstances.add(objectThatIsAssignableFrom(argType)); in resolveTypeInstances()
78 private Object objectThatIsAssignableFrom(Class<?> argType) { in objectThatIsAssignableFrom() argument
80 if(argType.isAssignableFrom(object.getClass())) return object; in objectThatIsAssignableFrom()
/external/deqp-deps/glslang/hlsl/
DhlslParseables.cpp72 bool IsSamplerType(const char argType) { return argType == 'S' || argType == 's'; } in IsSamplerType() argument
226 glslang::TString& AppendTypeName(glslang::TString& s, const char* argOrder, const char* argType, in… in AppendTypeName() argument
231 const bool isSampler = IsSamplerType(argType[0]); in AppendTypeName()
237 char type = *argType; in AppendTypeName()
376 inline bool IsValid(const char* cname, char retOrder, char retType, char argOrder, char argType, in… in IsValid() argument
394 if ((isMat && (argType == 'I' || argType == 'U' || argType == 'B')) || in IsValid()
568 const char* argType; // argument type key in initialize() member
973 …for (const char* argType = intrinsic.argType; !IsEndOfArg(argType); ++argType) { // for each type.… in initialize() local
977 … const char* retType = intrinsic.retType ? intrinsic.retType : argType; in initialize()
979 … if (!IsValid(intrinsic.name, *retOrder, *retType, *argOrder, *argType, dim0, dim1)) in initialize()
[all …]
/external/icu/icu4c/source/common/
Dmessagepattern.cpp542 UMessagePatternArgType argType=UMSGPAT_ARG_TYPE_NONE; in parseArg() local
543 addPart(UMSGPAT_PART_TYPE_ARG_START, index, argStartLength, argType, errorCode); in parseArg()
615 argType=UMSGPAT_ARG_TYPE_SIMPLE; in parseArg()
619 argType=UMSGPAT_ARG_TYPE_CHOICE; in parseArg()
621 argType=UMSGPAT_ARG_TYPE_PLURAL; in parseArg()
623 argType=UMSGPAT_ARG_TYPE_SELECT; in parseArg()
627 argType=UMSGPAT_ARG_TYPE_SELECTORDINAL; in parseArg()
631 partsList->a[argStart].value=(int16_t)argType; in parseArg()
632 if(argType==UMSGPAT_ARG_TYPE_SIMPLE) { in parseArg()
637 if(argType!=UMSGPAT_ARG_TYPE_SIMPLE) { in parseArg()
[all …]
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMiniMessageFormatter.java110 ArgType argType=part.getArgType(); in format() local
129 if(argType==ArgType.NONE) { in format()
131 } else if(argType==ArgType.SELECT) { in format()
151 throw new UnsupportedOperationException("Unsupported argument type "+argType); in format()
DMessagePatternUtilDemo.java49 MessagePattern.ArgType argType = arg.getArgType(); in printArg() local
50 if (argType == MessagePattern.ArgType.NONE) { in printArg()
54 if (argType == MessagePattern.ArgType.SIMPLE) { in printArg()
74 MessagePattern.ArgType argType = style.getArgType(); in printComplexArgStyle() local
77 switch (argType) { in printComplexArgStyle()
/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/syzkaller/sys/linux/
Dinit.go190 argType := ptrArgType.Type.(*prog.StructType)
191 tp := prog.MakeGroupArg(argType, []prog.Arg{
192 prog.MakeResultArg(argType.Fields[0], nil, 0),
193 prog.MakeResultArg(argType.Fields[1], nil, 0),
/external/icu/icu4c/source/common/unicode/
Dmessagepattern.h270 #define UMSGPAT_ARG_TYPE_HAS_PLURAL_STYLE(argType) \ argument
271 ((argType)==UMSGPAT_ARG_TYPE_PLURAL || (argType)==UMSGPAT_ARG_TYPE_SELECTORDINAL)
849 …int32_t parsePluralOrSelectStyle(UMessagePatternArgType argType, int32_t index, int32_t nestingLev…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DLambdaExprContext.java90 …ResolvedType argType = inferenceContext.resolve(inferenceContext.addSingle(functionalMethod.getPar… in solveSymbolAsValue() local
93 if (argType.isWildcard()){ in solveSymbolAsValue()
94 … conType = ResolvedLambdaConstraintType.bound(argType.asWildcard().getBoundedType()); in solveSymbolAsValue()
96 conType = ResolvedLambdaConstraintType.bound(argType); in solveSymbolAsValue()
/external/deqp/modules/gles3/scripts/
Dgen-invalid-texture-funcs.py53 def getValueExpr (argType): argument
54 return "%s(0)" % argType
/external/icu/icu4c/source/i18n/
Dmsgfmt.cpp1041 UMessagePatternArgType argType = part->getArgType(); in format() local
1102 …} else if (argType == UMSGPAT_ARG_TYPE_NONE || (cachedFormatters && uhash_iget(cachedFormatters, i… in format()
1115 } else if (argType == UMSGPAT_ARG_TYPE_CHOICE) { in format()
1126 } else if (UMSGPAT_ARG_TYPE_HAS_PLURAL_STYLE(argType)) { in format()
1132 argType == UMSGPAT_ARG_TYPE_PLURAL ? pluralProvider : ordinalProvider; in format()
1141 } else if (argType == UMSGPAT_ARG_TYPE_SELECT) { in format()
1296 UMessagePatternArgType argType=part.getArgType(); in findFirstPluralNumberArg() local
1297 … if(!argName.isEmpty() && (argType==UMSGPAT_ARG_TYPE_NONE || argType==UMSGPAT_ARG_TYPE_SIMPLE)) { in findFirstPluralNumberArg()
1416 UMessagePatternArgType argType=part->getArgType(); in parse() local
1435argType==UMSGPAT_ARG_TYPE_NONE || (cachedFormatters && uhash_iget(cachedFormatters, i -2))) { in parse()
[all …]
/external/skqp/src/sksl/ir/
DSkSLConstructor.h180 const Type& argType = ((Constructor&) *fArguments[0]).fType; in getMatComponent() local
181 if (col < argType.columns() && row < argType.rows()) { in getMatComponent()
/external/skia/src/sksl/ir/
DSkSLConstructor.h178 const Type& argType = ((Constructor&) *fArguments[0]).fType; in getMatComponent() local
179 if (col < argType.columns() && row < argType.rows()) { in getMatComponent()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_LambdaExprContext.txt29 …Line 94) argType.isWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isWildc…
30 …Line 95) LambdaConstraintType.bound(argType.asWildcard().getBoundedType()) ==> com.github.javapars…
31 …Line 95) argType.asWildcard().getBoundedType() ==> com.github.javaparser.symbolsolver.model.typesy…
32 …Line 95) argType.asWildcard() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.asWildc…
33 …Line 97) LambdaConstraintType.bound(argType) ==> com.github.javaparser.symbolsolver.model.typesyst…
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DKey.java372 TypeMirror argType =
374 if (MoreTypes.isTypeOf(Produced.class, argType)) {
375 TypeMirror producedArgType = MoreTypes.asDeclared(argType).getTypeArguments().get(0);
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/
DMessageFormat.java.patch6 * argType = "number" | "date" | "time" | "spellout" | "ordinal" | "duration"
/external/skia/tools/trace/
DSkChromeTracingTracer.cpp157 static void trace_value_to_json(SkJSONWriter* writer, uint64_t argValue, uint8_t argType, in trace_value_to_json() argument
162 switch (argType) { in trace_value_to_json()

12