/external/clang/lib/Analysis/ |
D | ScanfFormatString.cpp | 19 using clang::analyze_format_string::ArgType; 221 ArgType ScanfSpecifier::getArgType(ASTContext &Ctx) const { in getArgType() 225 return ArgType::Invalid(); in getArgType() 234 return ArgType::PtrTo(Ctx.IntTy); in getArgType() 236 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType() 238 return ArgType::PtrTo(Ctx.ShortTy); in getArgType() 240 return ArgType::PtrTo(Ctx.LongTy); in getArgType() 243 return ArgType::PtrTo(Ctx.LongLongTy); in getArgType() 245 return ArgType::PtrTo(ArgType(Ctx.LongLongTy, "__int64")); in getArgType() 247 return ArgType::PtrTo(ArgType(Ctx.getIntMaxType(), "intmax_t")); in getArgType() [all …]
|
D | PrintfFormatString.cpp | 19 using clang::analyze_format_string::ArgType; 385 ArgType PrintfSpecifier::getArgType(ASTContext &Ctx, in getArgType() 390 return ArgType::Invalid(); in getArgType() 398 return ArgType(ArgType::WIntTy, "wint_t"); in getArgType() 403 return ArgType::Invalid(); in getArgType() 414 return ArgType(Ctx.IntTy, "__int32"); in getArgType() 415 case LengthModifier::AsChar: return ArgType::AnyCharTy; in getArgType() 422 return ArgType(Ctx.LongLongTy, "__int64"); in getArgType() 424 return ArgType(Ctx.getIntMaxType(), "intmax_t"); in getArgType() 427 return ArgType(); in getArgType() [all …]
|
/external/libcxx/test/std/utilities/function.objects/func.require/ |
D | 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&, ...) 109 F(ArgType&&) 110 F(ArgType&&, ...) 111 F(ArgType&&, ArgType&&) 112 F(ArgType&&, ArgType&&, ...) [all …]
|
D | invoke_helpers.h | 80 struct ArgType { struct 82 explicit ArgType(int val = 0) : value(val) {} in value() argument 84 ArgType(ArgType const&); 85 ArgType& operator=(ArgType const&); argument 228 ArgType a0, a1, a2;
|
D | bullet_3_and_4.pass.cpp | 159 TestCase<ArgType>::run(); in main() 160 TestCase<ArgType const>::run(); in main() 161 TestCase<ArgType volatile>::run(); in main() 162 TestCase<ArgType const volatile>::run(); in main() 163 TestCase<ArgType*>::run(); in main()
|
/external/clang/test/SemaTemplate/ |
D | instantiate-expr-3.cpp | 94 template<typename ArgType> 100 (void)__builtin_va_arg(va, ArgType); in f() 107 template<typename VaList, typename ArgType> 113 (void)__builtin_va_arg(va, ArgType); // expected-error{{int}} in f() 122 template<typename ArgType> 128 (void)__builtin_va_arg(va, ArgType); in f() 135 template<typename VaList, typename ArgType> 141 (void)__builtin_va_arg(va, ArgType); // expected-error{{int}} in f()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MessagePattern.java | 177 parseMessage(0, 0, 0, ArgType.NONE); in parse() 209 parsePluralOrSelectStyle(ArgType.PLURAL, 0, 0); in parsePluralStyle() 225 parsePluralOrSelectStyle(ArgType.SELECT, 0, 0); in parseSelectStyle() 574 public ArgType getArgType() { in getArgType() 579 return ArgType.NONE; in getArgType() 746 public enum ArgType { enum in MessagePattern 857 private int parseMessage(int index, int msgStartLength, int nestingLevel, ArgType parentType) { in parseMessage() 880 (parentType==ArgType.CHOICE && c=='|') || in parseMessage() 920 } else if((nestingLevel>0 && c=='}') || (parentType==ArgType.CHOICE && c=='|')) { in parseMessage() 924 int limitLength=(parentType==ArgType.CHOICE && c=='}') ? 0 : 1; in parseMessage() [all …]
|
D | MessagePatternUtil.java | 200 public MessagePattern.ArgType getArgType() { in getArgType() 242 if (argType != MessagePattern.ArgType.NONE) { in toString() 244 if (argType == MessagePattern.ArgType.SIMPLE) { in toString() 262 private MessagePattern.ArgType argType; 278 public MessagePattern.ArgType getArgType() { in getArgType() 349 private ComplexArgStyleNode(MessagePattern.ArgType argType) { in ComplexArgStyleNode() 361 private MessagePattern.ArgType argType; 454 MessagePattern.ArgType argType = node.argType = part.getArgType(); in buildArgNode() 495 ComplexArgStyleNode node = new ComplexArgStyleNode(MessagePattern.ArgType.CHOICE); in buildChoiceStyleNode() 514 MessagePattern.ArgType argType) { in buildPluralStyleNode() [all …]
|
/external/messageformat/java/com/ibm/icu/text/ |
D | MessagePattern.java | 183 parseMessage(0, 0, 0, ArgType.NONE); in parse() 217 parsePluralOrSelectStyle(ArgType.PLURAL, 0, 0); in parsePluralStyle() 234 parsePluralOrSelectStyle(ArgType.SELECT, 0, 0); in parseSelectStyle() 613 public ArgType getArgType() { in getArgType() 618 return ArgType.NONE; in getArgType() 805 public enum ArgType { enum in MessagePattern 927 private int parseMessage(int index, int msgStartLength, int nestingLevel, ArgType parentType) { in parseMessage() 950 (parentType==ArgType.CHOICE && c=='|') || in parseMessage() 990 } else if((nestingLevel>0 && c=='}') || (parentType==ArgType.CHOICE && c=='|')) { in parseMessage() 994 int limitLength=(parentType==ArgType.CHOICE && c=='}') ? 0 : 1; in parseMessage() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MessagePattern.java | 184 parseMessage(0, 0, 0, ArgType.NONE); in parse() 218 parsePluralOrSelectStyle(ArgType.PLURAL, 0, 0); in parsePluralStyle() 235 parsePluralOrSelectStyle(ArgType.SELECT, 0, 0); in parseSelectStyle() 614 public ArgType getArgType() { in getArgType() 619 return ArgType.NONE; in getArgType() 806 public enum ArgType { enum in MessagePattern 928 private int parseMessage(int index, int msgStartLength, int nestingLevel, ArgType parentType) { in parseMessage() 951 (parentType==ArgType.CHOICE && c=='|') || in parseMessage() 991 } else if((nestingLevel>0 && c=='}') || (parentType==ArgType.CHOICE && c=='|')) { in parseMessage() 995 int limitLength=(parentType==ArgType.CHOICE && c=='}') ? 0 : 1; in parseMessage() [all …]
|
D | MessagePatternUtil.java | 217 public MessagePattern.ArgType getArgType() { in getArgType() 265 if (argType != MessagePattern.ArgType.NONE) { in toString() 267 if (argType == MessagePattern.ArgType.SIMPLE) { in toString() 285 private MessagePattern.ArgType argType; 303 public MessagePattern.ArgType getArgType() { in getArgType() 379 private ComplexArgStyleNode(MessagePattern.ArgType argType) { in ComplexArgStyleNode() 391 private MessagePattern.ArgType argType; 490 MessagePattern.ArgType argType = node.argType = part.getArgType(); in buildArgNode() 531 ComplexArgStyleNode node = new ComplexArgStyleNode(MessagePattern.ArgType.CHOICE); in buildChoiceStyleNode() 550 MessagePattern.ArgType argType) { in buildPluralStyleNode() [all …]
|
D | MessageFormat.java | 37 import com.ibm.icu.text.MessagePattern.ArgType; 1267 ArgType argType=part.getArgType(); in parse() 1300 argType==ArgType.NONE || in parse() 1324 } else if(argType==ArgType.CHOICE) { in parse() 1334 } else if(argType.hasPluralStyle() || argType==ArgType.SELECT) { in parse() 1631 ArgType argType=part.getArgType(); in format() 1701 argType==ArgType.NONE || in format() 1714 } else if(argType==ArgType.CHOICE) { in format() 1726 if(argType == ArgType.PLURAL) { in format() 1744 } else if(argType==ArgType.SELECT) { in format() [all …]
|
/external/eigen/Eigen/src/Core/util/ |
D | 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::r… 125 template<typename Func, typename ArgType> 126 …ruct unary_result_of_select<Func, ArgType, sizeof(has_tr1_result)> {typedef typename Func::templat… 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 co… 138 typedef typename unary_result_of_select<Func, ArgType, FunctorType>::type type;
|
/external/clang/include/clang/Analysis/Analyses/ |
D | 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) {} in ArgType() function 250 static ArgType Invalid() { return ArgType(InvalidTy); } in Invalid() 254 static ArgType PtrTo(const ArgType& A) { in PtrTo() 256 ArgType Res = A; in PtrTo() 313 ArgType getArgType(ASTContext &Ctx) const; 427 using analyze_format_string::ArgType; 501 ArgType getArgType(ASTContext &Ctx, bool IsObjCLiteral) const; [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | MessagePatternUtilTest.java | 65 return expectComplexArg(name, MessagePattern.ArgType.CHOICE); in expectChoiceArg() 68 return expectComplexArg(name, MessagePattern.ArgType.PLURAL); in expectPluralArg() 71 return expectComplexArg(name, MessagePattern.ArgType.SELECT); in expectSelectArg() 74 return expectComplexArg(name, MessagePattern.ArgType.SELECTORDINAL); in expectSelectOrdinalArg() 76 private ExpectComplexArgNode expectComplexArg(Object name, MessagePattern.ArgType argType) { in expectComplexArg() 150 argType = MessagePattern.ArgType.NONE; in ExpectArgNode() 152 argType = MessagePattern.ArgType.SIMPLE; in ExpectArgNode() 176 … if (argType == MessagePattern.ArgType.NONE || argType == MessagePattern.ArgType.SIMPLE) { in matches() 183 protected MessagePattern.ArgType argType; 190 Object name, MessagePattern.ArgType argType) { in ExpectComplexArgNode()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MessagePatternUtilTest.java | 61 return expectComplexArg(name, MessagePattern.ArgType.CHOICE); in expectChoiceArg() 64 return expectComplexArg(name, MessagePattern.ArgType.PLURAL); in expectPluralArg() 67 return expectComplexArg(name, MessagePattern.ArgType.SELECT); in expectSelectArg() 70 return expectComplexArg(name, MessagePattern.ArgType.SELECTORDINAL); in expectSelectOrdinalArg() 72 private ExpectComplexArgNode expectComplexArg(Object name, MessagePattern.ArgType argType) { in expectComplexArg() 146 argType = MessagePattern.ArgType.NONE; in ExpectArgNode() 148 argType = MessagePattern.ArgType.SIMPLE; in ExpectArgNode() 172 … if (argType == MessagePattern.ArgType.NONE || argType == MessagePattern.ArgType.SIMPLE) { in matches() 179 protected MessagePattern.ArgType argType; 186 Object name, MessagePattern.ArgType argType) { in ExpectComplexArgNode()
|
/external/clang/test/CodeGenCXX/ |
D | destructors.cpp | 402 struct ArgType { struct 403 ~ArgType(); 406 void f1(const ArgType& = ArgType());
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/ |
D | MiniMessageFormatter.java | 17 import com.ibm.icu.text.MessagePattern.ArgType; 108 ArgType argType=part.getArgType(); in format() 127 if(argType==ArgType.NONE) { in format() 129 } else if(argType==ArgType.SELECT) { in format()
|
/external/libchrome/sandbox/win/src/ |
D | crosscall_client.h | 81 ArgType GetType() { in GetType() 118 ArgType GetType() { in GetType() 164 ArgType GetType() { in GetType() 203 ArgType GetType() { in GetType() 231 ArgType GetType() { in GetType() 279 ArgType GetType() { in GetType()
|
D | policy_engine_params.h | 99 ParameterSet(ArgType real_type, const void* address) in ParameterSet() 111 ArgType real_type_;
|
/external/compiler-rt/lib/profile/ |
D | InstrProfiling.h | 74 #define VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) ArgType ArgName argument
|
/external/webrtc/talk/session/media/ |
D | 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)]]);
|
/external/messageformat/java/com/ibm/icu/simple/ |
D | MessageFormat.java | 41 import com.ibm.icu.text.MessagePattern.ArgType; 1224 ArgType argType=part.getArgType(); in parse() 1257 argType==ArgType.NONE || in parse() 1281 } else if(argType==ArgType.CHOICE) { in parse() 1291 } else if(argType.hasPluralStyle() || argType==ArgType.SELECT) { in parse() 1549 ArgType argType=part.getArgType(); in format() 1612 argType==ArgType.NONE || in format() 1625 } else if(argType==ArgType.CHOICE) { in format() 1637 if(argType == ArgType.PLURAL) { in format() 1655 } else if(argType==ArgType.SELECT) { in format() [all …]
|
/external/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIARawSymbol.cpp | 75 template <typename ArgType> 76 ArgType PrivateGetDIAValue(IDiaSymbol *Symbol, in PrivateGetDIAValue() 77 HRESULT (__stdcall IDiaSymbol::*Method)(ArgType *)) { in PrivateGetDIAValue() argument 78 ArgType Value; in PrivateGetDIAValue() 80 return static_cast<ArgType>(Value); in PrivateGetDIAValue() 82 return ArgType(); in PrivateGetDIAValue() 85 template <typename ArgType, typename RetType> 87 HRESULT (__stdcall IDiaSymbol::*Method)(ArgType *)) { in PrivateGetDIAValue() argument 88 ArgType Value; in PrivateGetDIAValue() 124 template <typename ArgType> [all …]
|
/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 864 QualType ArgType) { in hasInconsistentOrSupersetQualifiersOf() argument 866 Qualifiers ArgQs = ArgType.getQualifiers(); in hasInconsistentOrSupersetQualifiersOf() 3064 QualType ArgType = GetTypeOfFunction(S, R, Fn); in ResolveOverloadForDeduction() local 3065 if (ArgType.isNull()) continue; in ResolveOverloadForDeduction() 3069 ArgType->isFunctionType()) in ResolveOverloadForDeduction() 3070 ArgType = S.Context.getPointerType(ArgType); in ResolveOverloadForDeduction() 3089 ArgType, Info, Deduced, TDF); in ResolveOverloadForDeduction() 3092 Match = ArgType; in ResolveOverloadForDeduction() 3107 QualType &ArgType, in AdjustFunctionParmAndArgTypesForDeduction() argument 3125 if (ArgType == S.Context.OverloadTy) { in AdjustFunctionParmAndArgTypesForDeduction() [all …]
|