Home
last modified time | relevance | path

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

/external/golang-protobuf/jsonpb/
Djsonpb.go638 targetType := target.Type()
641 if targetType.Kind() == reflect.Ptr {
644 if string(inputValue) == "null" && targetType != reflect.TypeOf(&stpb.Value{}) {
647 target.Set(reflect.New(targetType.Elem()))
818 target.Set(reflect.New(targetType.Elem()))
826 if targetType.Kind() == reflect.Struct {
854 sprops := proto.GetProperties(targetType)
911 return fmt.Errorf("unknown field %q in %v", f, targetType)
917 if targetType.Kind() == reflect.Slice && targetType.Elem().Kind() != reflect.Uint8 {
924 target.Set(reflect.MakeSlice(targetType, l, l))
[all …]
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DProxyMaker.java48 Type targetType = Type.getType(targetClass); in createProxyFactory() local
49 String targetName = targetType.getInternalName(); in createProxyFactory()
55 writer.visitField(ACC_PUBLIC, TARGET_FIELD, targetType.getDescriptor(), null, null); in createProxyFactory()
63 m.getField(proxyType, TARGET_FIELD, targetType); in createProxyFactory()
/external/turbine/java/com/google/turbine/bytecode/
DClassFile.java487 private final TargetType targetType; field in ClassFile.TypeAnnotationInfo
493 TargetType targetType, Target target, TypePath path, AnnotationInfo anno) { in TypeAnnotationInfo() argument
494 this.targetType = targetType; in TypeAnnotationInfo()
509 public TargetType targetType() { in targetType() method in ClassFile.TypeAnnotationInfo
510 return targetType; in targetType()
DAnnotationWriter.java145 output.writeByte(annotation.targetType().tag()); in writeTypeAnnotation()
/external/turbine/java/com/google/turbine/lower/
DLower.java547 TargetType targetType, in typeParameterAnnotations() argument
558 targetType, in typeParameterAnnotations()
583 Builder<TypeAnnotationInfo> result, Type type, TargetType targetType, Target target) { in lowerTypeAnnotations() argument
584 new LowerTypeAnnotations(result, targetType, target) in lowerTypeAnnotations()
590 private final TargetType targetType; field in Lower.LowerTypeAnnotations
594 Builder<TypeAnnotationInfo> result, TargetType targetType, Target target) { in LowerTypeAnnotations() argument
596 this.targetType = targetType; in LowerTypeAnnotations()
637 result.add(new TypeAnnotationInfo(targetType, target, path, info)); in lowerTypeAnnotations()
/external/vogar/src/vogar/
DVogar.java578 TargetType targetType; in run() local
580 targetType = TargetType.SSH; in run()
582 targetType = TargetType.LOCAL; in run()
584 targetType = TargetType.ADB; in run()
589 : new File(targetType.defaultDeviceDir(), "run"); in run()
593 switch (targetType) { in run()
608 throw new IllegalStateException("Unknown target type: " + targetType); in run()
/external/deqp/modules/gles31/functional/
Des31fFboSRGBWriteControlTests.cpp552 …TestFramebuffer (Context& context, const deUint32 targetType, const deUint32 colorAttachment, gl…
555 void setTargetType (const deUint32 targetType);
577 TestFramebuffer::TestFramebuffer (Context& context, const deUint32 targetType, const deUint32 color… in TestFramebuffer() argument
580 , m_targetType (targetType) in TestFramebuffer()
593 if (targetType == GL_DRAW_BUFFER) in TestFramebuffer()
600 if (targetType == GL_READ_BUFFER) in TestFramebuffer()
613 void TestFramebuffer::setTargetType (const deUint32 targetType) in setTargetType() argument
615 m_targetType = targetType; in setTargetType()
812 …bool isFramebufferAttachmentSRGB (const deUint32 targetType, const deUint32 attachment) c…
814 …void logState (const deUint32 targetType, const deUint32 attachment, const SamplingTy…
[all …]
Des31fSRGBDecodeTests.cpp403 const glu::TextureTestUtil::TextureType targetType,
444 const glu::TextureTestUtil::TextureType targetType, in SRGBTestTexture() argument
456 , m_targetType (targetType) in SRGBTestTexture()
868 void addTexture (const glu::TextureTestUtil::TextureType targetType,
1061 void SRGBTestCase::addTexture ( const glu::TextureTestUtil::TextureType targetType, in addTexture() argument
1071 …SRGBTestTexture* texture = new SRGBTestTexture(m_context, targetType, m_internalFormat, width, hei… in addTexture()
Des31fShaderImageLoadStoreTests.cpp3345 …const EarlyFragmentTestsCase::RenderTargetType targetType = (EarlyFragmentTestsCase::RenderTarget… in init() local
3353 …const string targetName = targetType == EarlyFragmentTestsCase::RENDERTARGET_FBO ? … in init()
3354 …: targetType == EarlyFragmentTestsCase::RENDERTARGET_FBO_WITHOUT_TEST_ATTACHMENT ? (std::string("_… in init()
3361 … + ((targetType == EarlyFragmentTestsCase::RENDERTARGET_FBO) ? (", render to fbo") in init()
3362 …: (targetType == EarlyFragmentTestsCase::RENDERTARGET_FBO_WITHOUT_TEST_ATTACHMENT) ? (", render to… in init()
3365 …mentTestsCase(m_context, caseName.c_str(), caseDesc.c_str(), testType, useEarlyTests, targetType)); in init()
Des31fProgramUniformTests.cpp739 …const glu::DataType targetType = size == 1 ? targetScalarType : glu::getDataTypeVector(targetScal… in getRandomBoolRepresentation() local
741 result.type = targetType; in getRandomBoolRepresentation()
/external/junit/src/main/java/org/junit/experimental/theories/
DParameterSignature.java81 private boolean isAssignableViaTypeConversion(Class<?> targetType, Class<?> candidate) { in isAssignableViaTypeConversion() argument
84 return targetType.isAssignableFrom(wrapperClass); in isAssignableViaTypeConversion()
/external/pdfium/fxjs/xfa/
Dcjx_breakbefore.h22 JS_PROP(targetType);
Dcjx_breakafter.h22 JS_PROP(targetType);
Dcjx_breakbefore.cpp33 void CJX_BreakBefore::targetType(CFXJSE_Value* pValue, in targetType() function in CJX_BreakBefore
Dcjx_breakafter.cpp33 void CJX_BreakAfter::targetType(CFXJSE_Value* pValue, in targetType() function in CJX_BreakAfter
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
DMockMethodAdvice.java63 Class<?> targetType) { in hideRecursiveCall() argument
71 } while (!next.getClassName().equals(targetType.getName())); in hideRecursiveCall()
/external/annotation-tools/scene-lib/src/annotations/io/
DJavapParser.java199 TargetType targetType; in chooseSubElement() local
202 targetType = tt; in chooseSubElement()
209 switch (targetType) { in chooseSubElement()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DMockMethodAdvice.java75 static Throwable hideRecursiveCall(Throwable throwable, int current, Class<?> targetType) { in hideRecursiveCall() argument
82 } while (!next.getClassName().equals(targetType.getName())); in hideRecursiveCall()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DThrowingProviderBinder.java204 public ScopedBindingBuilder to(Class<? extends P> targetType) { in to() argument
205 return to(Key.get(targetType)); in to()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DCode.java765 com.android.dx.rop.type.Type targetType) { in getCastRop() argument
767 switch (targetType.getBasicType()) { in getCastRop()
776 return Rops.opConv(targetType, sourceType); in getCastRop()
/external/deqp/modules/glshared/
DglsShaderLibraryCase.cpp615 BeforeDrawValidator (const glw::Functions& gl, glw::GLuint target, TargetType targetType);
631 …alidator::BeforeDrawValidator (const glw::Functions& gl, glw::GLuint target, TargetType targetType) in BeforeDrawValidator() argument
634 , m_targetType (targetType) in BeforeDrawValidator()
637 DE_ASSERT(targetType < TARGETTYPE_LAST); in BeforeDrawValidator()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DDexMakerTest.java755 TypeId<?> targetType = TypeId.get(target); in numericCastingMethod() local
756 MethodId<?, ?> methodId = GENERATED.getMethod(targetType, "call", sourceType); in numericCastingMethod()
759 Local<?> localCasted = code.newLocal(targetType); in numericCastingMethod()
/external/deqp/modules/gles2/functional/
Des2fUniformApiTests.cpp689 …const glu::DataType targetType = size == 1 ? targetScalarType : glu::getDataTypeVector(targetScal… in getRandomBoolRepresentation() local
691 result.type = targetType; in getRandomBoolRepresentation()
/external/deqp/modules/gles3/functional/
Des3fUniformApiTests.cpp840 …const glu::DataType targetType = size == 1 ? targetScalarType : glu::getDataTypeVector(targetScal… in getRandomBoolRepresentation() local
842 result.type = targetType; in getRandomBoolRepresentation()
/external/pdfium/xfa/fxfa/parser/
Dxfa_basic_data_element_script.cpp728 (XFA_ATTRIBUTE_CALLBACK)&CJX_BreakBefore::targetType,
3636 (XFA_ATTRIBUTE_CALLBACK)&CJX_BreakAfter::targetType,