Home
last modified time | relevance | path

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

12

/external/libchrome/mojo/public/js/lib/
Dvalidator.js8 var validationError = { variable
45 this.lastError = validationError.NONE;
49 this.lastError = validationError.NONE;
195 validationError.NONE : validationError.UNEXPECTED_INVALID_HANDLE;
198 return validationError.ILLEGAL_HANDLE;
200 return validationError.NONE;
208 return nullable ? validationError.NONE :
209 validationError.UNEXPECTED_INVALID_INTERFACE_ID;
213 return validationError.ILLEGAL_INTERFACE_ID;
216 return validationError.NONE;
[all …]
Dcontrol_message_handler.js11 if (error !== internal.validationError.NONE) {
22 if (error != internal.validationError.NONE) {
30 if (error != internal.validationError.NONE) {
41 if (error != internal.validationError.NONE) {
Dpipe_control_message_handler.js11 if (error != internal.validationError.NONE) {
22 if (error != internal.validationError.NONE) {
Dcontrol_message_proxy.js26 if (error != internal.validationError.NONE) {
37 if (error != internal.validationError.NONE) {
Dinterface_endpoint_client.js138 var noError = internal.validationError.NONE;
Drouter.js209 if (err !== internal.validationError.NONE) {
/external/angle/src/libANGLE/
DvalidationES2.cpp153 context->validationError(GL_INVALID_OPERATION, kInvalidInternalFormat); in IsValidCopyTextureDestinationFormatType()
159 context->validationError(GL_INVALID_OPERATION, kMismatchedTypeAndFormat); in IsValidCopyTextureDestinationFormatType()
166 context->validationError(GL_INVALID_OPERATION, kInvalidInternalFormat); in IsValidCopyTextureDestinationFormatType()
368 context->validationError(GL_INVALID_ENUM, kInvalidTextureTarget); in ValidateES2CopyTexImageParameters()
403 context->validationError(GL_INVALID_OPERATION, kInvalidFormat); in ValidateES2CopyTexImageParameters()
415 context->validationError(GL_INVALID_OPERATION, kInvalidFormat); in ValidateES2CopyTexImageParameters()
429 context->validationError(GL_INVALID_OPERATION, kInvalidFormat); in ValidateES2CopyTexImageParameters()
442 context->validationError(GL_INVALID_OPERATION, kInvalidFormat); in ValidateES2CopyTexImageParameters()
455 context->validationError(GL_INVALID_OPERATION, kInvalidFormat); in ValidateES2CopyTexImageParameters()
466 context->validationError(GL_INVALID_OPERATION, kInvalidFormat); in ValidateES2CopyTexImageParameters()
[all …]
DvalidationES3.cpp41 context->validationError(GL_INVALID_OPERATION, kMultiviewNotAvailable); in ValidateFramebufferTextureMultiviewBaseANGLE()
52 context->validationError(GL_INVALID_VALUE, kMultiviewViewsTooSmall); in ValidateFramebufferTextureMultiviewBaseANGLE()
59 context->validationError(GL_INVALID_VALUE, kMultiviewViewsTooLarge); in ValidateFramebufferTextureMultiviewBaseANGLE()
73 context->validationError(GL_INVALID_VALUE, kInvalidMipLevel); in ValidateFramebufferTextureMultiviewLevelAndFormat()
80 context->validationError(GL_INVALID_OPERATION, kCompressedTexturesNotAttachable); in ValidateFramebufferTextureMultiviewLevelAndFormat()
93 context->validationError(GL_INVALID_OPERATION, kES3Required); in ValidateUniformES3()
109 context->validationError(GL_INVALID_OPERATION, kES3Required); in ValidateUniformMatrixES3()
120 context->validationError(GL_INVALID_OPERATION, kES3Required); in ValidateGenOrDeleteES3()
130 context->validationError(GL_INVALID_OPERATION, kES3Required); in ValidateGenOrDeleteCountES3()
135 context->validationError(GL_INVALID_VALUE, kNegativeCount); in ValidateGenOrDeleteCountES3()
[all …]
DvalidationESEXT.cpp31 context->validationError(GL_INVALID_ENUM, kInvalidFormat); in ValidateGetImageFormatAndType()
38 context->validationError(GL_INVALID_ENUM, kInvalidType); in ValidateGetImageFormatAndType()
90 context->validationError(GL_INVALID_OPERATION, kInvalidBufferName); in ValidateObjectIdentifierAndName()
98 context->validationError(GL_INVALID_ENUM, kInvalidType); in ValidateObjectIdentifierAndName()
103 context->validationError(GL_INVALID_OPERATION, kInvalidShaderName); in ValidateObjectIdentifierAndName()
111 context->validationError(GL_INVALID_ENUM, kInvalidType); in ValidateObjectIdentifierAndName()
116 context->validationError(GL_INVALID_OPERATION, kInvalidProgramName); in ValidateObjectIdentifierAndName()
124 context->validationError(GL_INVALID_ENUM, kInvalidType); in ValidateObjectIdentifierAndName()
129 context->validationError(GL_INVALID_OPERATION, kInvalidVertexArrayName); in ValidateObjectIdentifierAndName()
137 context->validationError(GL_INVALID_ENUM, kInvalidType); in ValidateObjectIdentifierAndName()
[all …]
DvalidationES.cpp255 context->validationError(GL_INVALID_ENUM, kExtensionNotEnabled); in ValidateTextureWrapModeValue()
265 context->validationError(GL_INVALID_ENUM, kInvalidWrapModeTexture); in ValidateTextureWrapModeValue()
271 context->validationError(GL_INVALID_ENUM, kInvalidTextureWrap); in ValidateTextureWrapModeValue()
296 context->validationError(GL_INVALID_ENUM, kInvalidFilterTexture); in ValidateTextureMinFilterValue()
302 context->validationError(GL_INVALID_ENUM, kInvalidTextureFilterParam); in ValidateTextureMinFilterValue()
319 context->validationError(GL_INVALID_ENUM, kInvalidTextureFilterParam); in ValidateTextureMagFilterValue()
337 context->validationError(GL_INVALID_ENUM, kUnknownParameter); in ValidateTextureCompareModeValue()
361 context->validationError(GL_INVALID_ENUM, kUnknownParameter); in ValidateTextureCompareFuncValue()
373 context->validationError(GL_INVALID_ENUM, kExtensionNotEnabled); in ValidateTextureSRGBDecodeValue()
384 context->validationError(GL_INVALID_ENUM, kUnknownParameter); in ValidateTextureSRGBDecodeValue()
[all …]
DvalidationES31.cpp348 context->validationError(GL_INVALID_OPERATION, kES31Required); in ValidateVertexAttribFormatCommon()
355 context->validationError(GL_INVALID_VALUE, kRelativeOffsetTooLarge); in ValidateVertexAttribFormatCommon()
363 context->validationError(GL_INVALID_OPERATION, kDefaultVertexArray); in ValidateVertexAttribFormatCommon()
379 context->validationError(GL_INVALID_OPERATION, in ValidateGetBooleani_v()
401 context->validationError(GL_INVALID_OPERATION, in ValidateGetBooleani_vRobustANGLE()
431 context->validationError(GL_INVALID_OPERATION, kES31Required); in ValidateDrawIndirectBase()
447 context->validationError(GL_INVALID_OPERATION, kDefaultVertexArray); in ValidateDrawIndirectBase()
453 context->validationError(GL_INVALID_OPERATION, kClientDataInVertexArray); in ValidateDrawIndirectBase()
460 context->validationError(GL_INVALID_OPERATION, kDrawIndirectBufferNotBound); in ValidateDrawIndirectBase()
469 context->validationError(GL_INVALID_VALUE, kInvalidIndirectOffset); in ValidateDrawIndirectBase()
[all …]
DvalidationES1.cpp24 context->validationError(GL_INVALID_OPERATION, kGLES1Only); \
47 context->validationError(GL_INVALID_ENUM, kEnumNotSupported); in ValidateAlphaFuncCommon()
65 context->validationError(GL_INVALID_ENUM, kPointSizeArrayExtensionNotEnabled); in ValidateClientStateCommon()
70 context->validationError(GL_INVALID_ENUM, kInvalidClientState); in ValidateClientStateCommon()
86 context->validationError(GL_INVALID_VALUE, kInvalidVertexPointerStride); in ValidateBuiltinVertexAttributeCommon()
111 context->validationError(GL_INVALID_ENUM, kPointSizeArrayExtensionNotEnabled); in ValidateBuiltinVertexAttributeCommon()
125 context->validationError(GL_INVALID_VALUE, kInvalidVertexPointerSize); in ValidateBuiltinVertexAttributeCommon()
134 context->validationError(GL_INVALID_ENUM, kInvalidVertexPointerType); in ValidateBuiltinVertexAttributeCommon()
142 context->validationError(GL_INVALID_ENUM, kInvalidVertexPointerType); in ValidateBuiltinVertexAttributeCommon()
152 context->validationError(GL_INVALID_ENUM, kInvalidVertexPointerType); in ValidateBuiltinVertexAttributeCommon()
[all …]
DvalidationES32.cpp41 context->validationError(GL_INVALID_VALUE, kExceedsMaxDrawBuffers); in ValidateBlendEquationSeparatei()
58 context->validationError(GL_INVALID_VALUE, kExceedsMaxDrawBuffers); in ValidateBlendEquationi()
80 context->validationError(GL_INVALID_VALUE, kExceedsMaxDrawBuffers); in ValidateBlendFuncSeparatei()
97 context->validationError(GL_INVALID_VALUE, kExceedsMaxDrawBuffers); in ValidateBlendFunci()
119 context->validationError(GL_INVALID_VALUE, kIndexExceedsMaxDrawBuffer); in ValidateColorMaski()
145 context->validationError(GL_INVALID_OPERATION, kES32Required); in ValidateCopyImageSubData()
190 context->validationError(GL_INVALID_VALUE, kIndexExceedsMaxDrawBuffer); in ValidateDisablei()
195 context->validationError(GL_INVALID_ENUM, kEnumNotSupported); in ValidateDisablei()
233 context->validationError(GL_INVALID_VALUE, kInvalidElementRange); in ValidateDrawRangeElementsBaseVertex()
258 context->validationError(GL_INVALID_VALUE, kIndexExceedsMaxDrawBuffer); in ValidateEnablei()
[all …]
DvalidationES2.h38 context->validationError(GL_INVALID_ENUM, err::kInvalidBufferTypes); in ValidateBindBuffer()
45 context->validationError(GL_INVALID_OPERATION, err::kObjectNotGenerated); in ValidateBindBuffer()
76 context->validationError(GL_INVALID_VALUE, err::kNegativeStride); in ValidateVertexAttribPointer()
85 context->validationError(GL_INVALID_VALUE, err::kExceedsMaxVertexAttribStride); in ValidateVertexAttribPointer()
91 context->validationError(GL_INVALID_VALUE, err::kExceedsMaxVertexAttribBindings); in ValidateVertexAttribPointer()
105 context->validationError(GL_INVALID_OPERATION, err::kClientDataInVertexArray); in ValidateVertexAttribPointer()
115 context->validationError(GL_INVALID_ENUM, err::kFixedNotInWebGL); in ValidateVertexAttribPointer()
146 context->validationError(GL_INVALID_OPERATION, err::kTextureTargetMismatch); in ValidateBindTexture()
153 context->validationError(GL_INVALID_OPERATION, err::kObjectNotGenerated); in ValidateBindTexture()
DvalidationES.h280 context->validationError(GL_INVALID_OPERATION, err::kUniformSizeMismatch); in ValidateUniformValue()
373 context->validationError(errorCode, errorMessage); in ValidateDrawBase()
581 context->validationError(GL_INVALID_VALUE, err::kIndexExceedsMaxVertexAttribute); in ValidateVertexFormat()
588 context->validationError(GL_INVALID_ENUM, err::kInvalidType); in ValidateVertexFormat()
593 context->validationError(GL_INVALID_VALUE, err::kInvalidVertexAttrSize); in ValidateVertexFormat()
600 context->validationError(GL_INVALID_OPERATION, in ValidateVertexFormat()
608 context->validationError(GL_INVALID_OPERATION, in ValidateVertexFormat()
770 context->validationError(ErrorCode, framebufferStatus.reason); in ValidateFramebufferComplete()
812 context->validationError(GL_INVALID_OPERATION, err::kIntegerOverflow); in ValidateDrawArraysAttribs()
843 context->validationError(GL_INVALID_VALUE, err::kNegativeStart); in ValidateDrawArraysCommon()
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DlibGLESv2.cpp757 GLenum validationError = context->getPixels(&data, GL_UNSIGNED_BYTE, imageSize); in CompressedTexImage2D() local
758 if(validationError != GL_NO_ERROR) in CompressedTexImage2D()
760 return error(validationError); in CompressedTexImage2D()
832 GLenum validationError = context->getPixels(&data, GL_UNSIGNED_BYTE, imageSize); in CompressedTexSubImage2D() local
833 if(validationError != GL_NO_ERROR) in CompressedTexSubImage2D()
835 return error(validationError); in CompressedTexSubImage2D()
842 …GLenum validationError = ValidateSubImageParams(true, false, target, level, xoffset, yoffset, widt… in CompressedTexSubImage2D() local
843 if(validationError != GL_NO_ERROR) in CompressedTexSubImage2D()
845 return error(validationError); in CompressedTexSubImage2D()
854 …GLenum validationError = ValidateSubImageParams(true, false, target, level, xoffset, yoffset, widt… in CompressedTexSubImage2D() local
[all …]
DlibGLESv3.cpp373 GLenum validationError = ValidateTextureFormatType(format, type, internalformat, target); in TexImage3D() local
374 if(validationError != GL_NO_ERROR) in TexImage3D()
376 return error(validationError); in TexImage3D()
386validationError = context->getPixels(&data, type, context->getRequiredBufferSize(width, height, de… in TexImage3D()
387 if(validationError != GL_NO_ERROR) in TexImage3D()
389 return error(validationError); in TexImage3D()
429 …GLenum validationError = ValidateSubImageParams(false, false, target, level, xoffset, yoffset, zof… in TexSubImage3D() local
430 if(validationError != GL_NO_ERROR) in TexSubImage3D()
432 return error(validationError); in TexSubImage3D()
435validationError = context->getPixels(&data, type, context->getRequiredBufferSize(width, height, de… in TexSubImage3D()
[all …]
Dutilities.cpp446 GLenum validationError = ValidateTextureFormatType(format, type, sizedInternalFormat, target); in ValidateSubImageParams() local
447 if(validationError != GL_NO_ERROR) in ValidateSubImageParams()
449 return validationError; in ValidateSubImageParams()
488 GLenum validationError = ValidateTextureFormatType(format, type, sizedInternalFormat, target); in ValidateSubImageParams() local
489 if(validationError != GL_NO_ERROR) in ValidateSubImageParams()
491 return validationError; in ValidateSubImageParams()
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/
Denum_definition.tmpl29 return validator.validationError.NONE;
31 return validator.validationError.UNKNOWN_ENUM_VALUE;
Dstruct_definition.tmpl86 if (err !== validator.validationError.NONE)
96 if (err !== validator.validationError.NONE)
116 return validator.validationError.NONE;
122 return validator.validationError.NONE;
Dinterface_definition.tmpl168 return validator.validationError.NONE;
188 return validator.validationError.NONE;
195 return validator.validationError.NONE;
212 return validator.validationError.NONE;
Dunion_definition.tmpl197 return validator.validationError.INVALID_UNION_SIZE;
212 return validator.validationError.NONE;
Dvalidation_macros.tmpl2 if (err !== validator.validationError.NONE)
/external/swiftshader/src/OpenGL/libGLES_CM/
Dutilities.cpp76 GLenum validationError = ValidateTextureFormatType(format, type, sizedInternalFormat, target); in ValidateSubImageParams() local
77 if(validationError != GL_NO_ERROR) in ValidateSubImageParams()
79 return validationError; in ValidateSubImageParams()
/external/angle/src/libGLESv2/
Dglobal_state.cpp127 context->validationError(GL_CONTEXT_LOST, err::kContextLost); in GenerateContextLostErrorOnContext()

12