Home
last modified time | relevance | path

Searched refs:Sig (Results 1 – 25 of 61) sorted by relevance

123

/external/python/cpython2/Lib/test/
Dtest_argparse.py61 class Sig(object): class
166 cls.parser_signature = Sig()
267 argument_signatures = [Sig('-x')]
282 Sig('-x', action='store_true'),
283 Sig('-yyy', action='store_const', const=42),
284 Sig('-z'),
307 argument_signatures = [Sig('-foo')]
321 argument_signatures = [Sig('-f'), Sig('-foobar'), Sig('-foorab')]
337 argument_signatures = [Sig('-foobar'), Sig('-foorab')]
353 argument_signatures = [Sig('-1', dest='one')]
[all …]
/external/python/cpython3/Lib/test/
Dtest_argparse.py51 class Sig(object): class
151 cls.parser_signature = Sig()
252 argument_signatures = [Sig('-x')]
267 Sig('-x', action='store_true'),
268 Sig('-yyy', action='store_const', const=42),
269 Sig('-z'),
292 argument_signatures = [Sig('-foo')]
306 argument_signatures = [Sig('-f'), Sig('-foobar'), Sig('-foorab')]
322 argument_signatures = [Sig('-foobar'), Sig('-foorab')]
338 argument_signatures = [Sig('-1', dest='one')]
[all …]
/external/llvm/utils/TableGen/
DIntrinsicEmitter.cpp209 std::vector<unsigned char> &Sig) { in EncodeFixedValueType() argument
214 case 1: return Sig.push_back(IIT_I1); in EncodeFixedValueType()
215 case 8: return Sig.push_back(IIT_I8); in EncodeFixedValueType()
216 case 16: return Sig.push_back(IIT_I16); in EncodeFixedValueType()
217 case 32: return Sig.push_back(IIT_I32); in EncodeFixedValueType()
218 case 64: return Sig.push_back(IIT_I64); in EncodeFixedValueType()
219 case 128: return Sig.push_back(IIT_I128); in EncodeFixedValueType()
225 case MVT::f16: return Sig.push_back(IIT_F16); in EncodeFixedValueType()
226 case MVT::f32: return Sig.push_back(IIT_F32); in EncodeFixedValueType()
227 case MVT::f64: return Sig.push_back(IIT_F64); in EncodeFixedValueType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DIntrinsicEmitter.cpp227 std::vector<unsigned char> &Sig) { in EncodeFixedValueType() argument
232 case 1: return Sig.push_back(IIT_I1); in EncodeFixedValueType()
233 case 8: return Sig.push_back(IIT_I8); in EncodeFixedValueType()
234 case 16: return Sig.push_back(IIT_I16); in EncodeFixedValueType()
235 case 32: return Sig.push_back(IIT_I32); in EncodeFixedValueType()
236 case 64: return Sig.push_back(IIT_I64); in EncodeFixedValueType()
237 case 128: return Sig.push_back(IIT_I128); in EncodeFixedValueType()
243 case MVT::f16: return Sig.push_back(IIT_F16); in EncodeFixedValueType()
244 case MVT::f32: return Sig.push_back(IIT_F32); in EncodeFixedValueType()
245 case MVT::f64: return Sig.push_back(IIT_F64); in EncodeFixedValueType()
[all …]
/external/turbine/javatests/com/google/turbine/bytecode/sig/
DSigRegressionTest.java22 import com.google.turbine.bytecode.sig.Sig.TySig.TySigKind;
34 Sig.ClassSig sig = new SigParser(input).parseClassSig(); in collect()
36 Sig.TyParamSig tyParam = Iterables.getOnlyElement(sig.tyParams()); in collect()
38 Sig.ClassTySig bound = (Sig.ClassTySig) tyParam.classBound(); in collect()
46 Sig.ClassTySig i = Iterables.getOnlyElement(sig.interfaces()); in collect()
49 Sig.SimpleClassTySig simple = Iterables.getOnlyElement(i.classes()); in collect()
52 Sig.TySig tyArg = Iterables.getOnlyElement(simple.tyArgs()); in collect()
54 Sig.TyVarSig tyVar = (Sig.TyVarSig) tyArg; in collect()
65 Sig.ClassSig sig = new SigParser(input).parseClassSig(); in chrono()
73 Sig.ClassSig sig = new SigParser(input).parseClassSig(); in map()
[all …]
/external/turbine/java/com/google/turbine/lower/
DLowerSignature.java26 import com.google.turbine.bytecode.sig.Sig;
27 import com.google.turbine.bytecode.sig.Sig.ClassSig;
28 import com.google.turbine.bytecode.sig.Sig.ClassTySig;
29 import com.google.turbine.bytecode.sig.Sig.LowerBoundTySig;
30 import com.google.turbine.bytecode.sig.Sig.MethodSig;
31 import com.google.turbine.bytecode.sig.Sig.SimpleClassTySig;
32 import com.google.turbine.bytecode.sig.Sig.TySig;
33 import com.google.turbine.bytecode.sig.Sig.UpperBoundTySig;
56 public Sig.TySig signature(Type ty) { in signature()
67 return Sig.VOID; in signature()
[all …]
/external/turbine/java/com/google/turbine/bytecode/sig/
DSigWriter.java19 import com.google.turbine.bytecode.sig.Sig.ArrayTySig;
20 import com.google.turbine.bytecode.sig.Sig.BaseTySig;
21 import com.google.turbine.bytecode.sig.Sig.ClassSig;
22 import com.google.turbine.bytecode.sig.Sig.ClassTySig;
23 import com.google.turbine.bytecode.sig.Sig.LowerBoundTySig;
24 import com.google.turbine.bytecode.sig.Sig.MethodSig;
25 import com.google.turbine.bytecode.sig.Sig.SimpleClassTySig;
26 import com.google.turbine.bytecode.sig.Sig.TyParamSig;
27 import com.google.turbine.bytecode.sig.Sig.TySig;
28 import com.google.turbine.bytecode.sig.Sig.TyVarSig;
[all …]
DSigParser.java20 import com.google.turbine.bytecode.sig.Sig.ArrayTySig;
21 import com.google.turbine.bytecode.sig.Sig.BaseTySig;
22 import com.google.turbine.bytecode.sig.Sig.ClassSig;
23 import com.google.turbine.bytecode.sig.Sig.ClassTySig;
24 import com.google.turbine.bytecode.sig.Sig.LowerBoundTySig;
25 import com.google.turbine.bytecode.sig.Sig.MethodSig;
26 import com.google.turbine.bytecode.sig.Sig.SimpleClassTySig;
27 import com.google.turbine.bytecode.sig.Sig.TyParamSig;
28 import com.google.turbine.bytecode.sig.Sig.TySig;
29 import com.google.turbine.bytecode.sig.Sig.TyVarSig;
[all …]
/external/libcxx/test/libcxx/utilities/function.objects/func.require/
Dbullet_7.pass.cpp212 template <class Sig, int Arity, class ArgCaster>
214 TestCaseFreeFunction<Sig, freeFunction11, Arity, ArgCaster>(); in runFunctionTestCase11()
218 template <class Sig, int Arity, class ArgCaster>
220 TestCaseFreeFunction<Sig, freeFunction03, Arity, ArgCaster>(); in runFunctionTestCase()
222 runFunctionTestCase11<Sig, Arity, ArgCaster>(); in runFunctionTestCase()
226 template <class Sig, int Arity, class ObjCaster, class ArgCaster>
228 TestCaseFunctorImp<Functor03, Sig, Arity, ObjCaster, ArgCaster>::run(); in runFunctorTestCase()
231 template <class Sig, int Arity, class ObjCaster>
233 TestCaseFunctorImp<Functor03, Sig, Arity, ObjCaster>::run(); in runFunctorTestCase()
238 template <class Sig, int Arity, class ObjCaster, class ArgCaster = LValueCaster>
[all …]
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBinder.java36 import com.google.turbine.bytecode.sig.Sig;
37 import com.google.turbine.bytecode.sig.Sig.LowerBoundTySig;
38 import com.google.turbine.bytecode.sig.Sig.UpperBoundTySig;
39 import com.google.turbine.bytecode.sig.Sig.WildTySig;
54 static Type.ClassTy bindClassTy(Sig.ClassTySig sig, Function<String, TyVarSymbol> scope) { in bindClassTy()
58 for (Sig.SimpleClassTySig s : sig.classes()) { in bindClassTy()
64 for (Sig.TySig arg : s.tyArgs()) { in bindClassTy()
89 static Type bindTy(Sig.TySig sig, Function<String, TyVarSymbol> scope) { in bindTy()
92 return Type.PrimTy.create(((Sig.BaseTySig) sig).type(), ImmutableList.of()); in bindTy()
94 return bindClassTy((Sig.ClassTySig) sig, scope); in bindTy()
[all …]
DBytecodeBoundClass.java45 import com.google.turbine.bytecode.sig.Sig;
46 import com.google.turbine.bytecode.sig.Sig.ClassSig;
47 import com.google.turbine.bytecode.sig.Sig.ClassTySig;
48 import com.google.turbine.bytecode.sig.Sig.TySig;
213 for (Sig.TyParamSig p : csig.tyParams()) {
320 for (Sig.TyParamSig p : sig.get().tyParams()) {
327 private static TyVarInfo bindTyParam(Sig.TyParamSig sig, Function<String, TyVarSymbol> scope) { in bindTyParam()
332 for (Sig.TySig t : sig.interfaceBounds()) { in bindTyParam()
386 Sig.MethodSig sig = new SigParser(firstNonNull(m.signature(), m.descriptor())).parseMethodSig(); in bindMethod()
391 for (Sig.TyParamSig p : sig.tyParams()) { in bindMethod()
[all …]
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp1206 typedef Sig_ Sig; typedef in deqp::gls::BuiltinPrecisionTests::Func
1207 typedef typename Sig::Ret Ret;
1208 typedef typename Sig::Arg0 Arg0;
1209 typedef typename Sig::Arg1 Arg1;
1210 typedef typename Sig::Arg2 Arg2;
1211 typedef typename Sig::Arg3 Arg3;
1212 typedef typename Sig::IRet IRet;
1213 typedef typename Sig::IArg0 IArg0;
1214 typedef typename Sig::IArg1 IArg1;
1215 typedef typename Sig::IArg2 IArg2;
[all …]
/external/compiler-rt/test/esan/TestCases/
Dworkingset-signal-posix.cpp13 static void SignalHandler(int Sig) { in SignalHandler() argument
14 if (Sig == SIGSEGV) { in SignalHandler()
21 static void SigactionHandler(int Sig, siginfo_t *Info, void *Ctx) { in SigactionHandler() argument
22 if (Sig == SIGSEGV) { in SigactionHandler()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DInfoStream.cpp58 PdbRaw_FeatureSig Sig; in reload() local
59 if (auto EC = Reader.readEnum(Sig)) in reload()
65 switch (uint32_t(Sig)) { in reload()
82 FeatureSignatures.push_back(Sig); in reload()
DInfoStreamBuilder.cpp41 void InfoStreamBuilder::addFeature(PdbRaw_FeatureSig Sig) { in addFeature() argument
42 Features.push_back(Sig); in addFeature()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DWasmTraits.h32 static unsigned getHashValue(const wasm::WasmSignature &Sig) {
33 unsigned H = hash_value(Sig.ReturnType);
34 for (int32_t Param : Sig.ParamTypes)
/external/llvm/lib/DebugInfo/PDB/Raw/
DInfoStreamBuilder.cpp25 void InfoStreamBuilder::setSignature(uint32_t S) { Sig = S; } in setSignature()
35 if (!Sig.hasValue()) in build()
50 Info->Signature = *Sig; in build()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp1530 typedef Sig_ Sig; typedef in vkt::shaderexecutor::Func
1531 typedef typename Sig::Ret Ret;
1532 typedef typename Sig::Arg0 Arg0;
1533 typedef typename Sig::Arg1 Arg1;
1534 typedef typename Sig::Arg2 Arg2;
1535 typedef typename Sig::Arg3 Arg3;
1536 typedef typename Sig::IRet IRet;
1537 typedef typename Sig::IArg0 IArg0;
1538 typedef typename Sig::IArg1 IArg1;
1539 typedef typename Sig::IArg2 IArg2;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DDebugInlineeLinesSubsection.cpp85 InlineeLinesSignature Sig = InlineeLinesSignature::Normal; in commit() local
87 Sig = InlineeLinesSignature::ExtraFiles; in commit()
89 if (auto EC = Writer.writeEnum(Sig)) in commit()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp351 std::string Sig; in getSignature() local
352 raw_string_ostream OS(Sig); in getSignature()
358 Sig = OS.str(); in getSignature()
359 Sig.erase(remove_if(Sig, isspace), Sig.end()); in getSignature()
362 std::replace(Sig.begin(), Sig.end(), ',', '.'); in getSignature()
363 return Sig; in getSignature()
464 std::string Sig = getSignature(CalleeFTy); in getInvokeWrapper() local
465 if (InvokeWrappers.find(Sig) != InvokeWrappers.end()) in getInvokeWrapper()
466 return InvokeWrappers[Sig]; in getInvokeWrapper()
476 InvokePrefix + Sig, M); in getInvokeWrapper()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2wasm.cpp258 for (const WasmYAML::Signature &Sig : Section.Signatures) { in writeSectionContent() local
259 if (Sig.Index != ExpectedIndex) { in writeSectionContent()
260 errs() << "Unexpected type index: " << Sig.Index << "\n"; in writeSectionContent()
264 writeUint8(OS, Sig.Form); in writeSectionContent()
265 encodeULEB128(Sig.ParamTypes.size(), OS); in writeSectionContent()
266 for (auto ParamType : Sig.ParamTypes) in writeSectionContent()
268 if (Sig.ReturnType == wasm::WASM_TYPE_NORESULT) { in writeSectionContent()
272 writeUint8(OS, Sig.ReturnType); in writeSectionContent()
/external/llvm/lib/DebugInfo/PDB/
DPDBSymbolTypeFunctionSig.cpp30 const PDBSymbolTypeFunctionSig &Sig) in FunctionArgEnumerator() argument
32 Enumerator(Sig.findAllChildren<PDBSymbolTypeFunctionArg>()) {} in FunctionArgEnumerator()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/
DPDBSymbolTypeFunctionSig.cpp31 const PDBSymbolTypeFunctionSig &Sig) in FunctionArgEnumerator() argument
33 Enumerator(Sig.findAllChildren<PDBSymbolTypeFunctionArg>()) {} in FunctionArgEnumerator()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Dwasm2yaml.cpp153 WasmYAML::Signature Sig; in dump() local
154 Sig.Index = Index++; in dump()
155 Sig.ReturnType = FunctionSig.ReturnType; in dump()
157 Sig.ParamTypes.push_back(ParamType); in dump()
158 TypeSec->Signatures.push_back(Sig); in dump()
/external/swiftshader/src/Reactor/
DCoroutine.hpp192 using Sig = Nucleus::CoroutineBegin<Arguments...>; in operator ()() typedef
193 auto pfn = (Sig *)routine->getEntry(Nucleus::CoroutineEntryBegin); in operator ()()

123