Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkValidatingReadBuffer.cpp15 fError(false) { in SkValidatingReadBuffer()
24 if (!fError && !isValid) { in validate()
27 fError = true; in validate()
29 return !fError; in validate()
33 return !fError; in isValid()
38 if (!fError) { in setMemory()
47 if (!fError) { in skip()
76 return fError ? 0 : fReader.readInt(); in readInt()
82 return fError ? 0 : fReader.readScalar(); in readScalar()
101 if (!fError) { in readString()
[all …]
DSkBuffer.cpp38 fError = fError || (fPos + size > fStop); in read()
39 if (!fError && (size > 0)) { in read()
42 return !fError; in read()
DSkBuffer.h102 SkRBufferWithSizeCheck(const void* data, size_t size) : SkRBuffer(data, size), fError(false) {} in SkRBufferWithSizeCheck()
112 bool isValid() const { return !fError; } in isValid()
114 bool fError;
/external/chromium_org/third_party/skia/src/core/
DSkValidatingReadBuffer.cpp15 fError(false) { in SkValidatingReadBuffer()
24 if (!fError && !isValid) { in validate()
27 fError = true; in validate()
29 return !fError; in validate()
33 return !fError; in isValid()
38 if (!fError) { in setMemory()
47 if (!fError) { in skip()
76 return fError ? 0 : fReader.readInt(); in readInt()
82 return fError ? 0 : fReader.readScalar(); in readScalar()
101 if (!fError) { in readString()
[all …]
DSkBuffer.cpp38 fError = fError || (fPos + size > fStop); in read()
39 if (!fError && (size > 0)) { in read()
42 return !fError; in read()
DSkBuffer.h102 SkRBufferWithSizeCheck(const void* data, size_t size) : SkRBuffer(data, size), fError(false) {} in SkRBufferWithSizeCheck()
112 bool isValid() const { return !fError; } in isValid()
114 bool fError;
/external/skia/src/animator/
DSkDisplayXMLParser.cpp73 : INHERITED(&maker.fError), fMaker(maker), fInInclude(maker.fInInclude), in SkDisplayXMLParser()
107 fError->setNoun(attrValue, attrValueLen); in onAddAttributeLen()
108 fError->setCode(SkXMLParserError::kDuplicateIDs); in onAddAttributeLen()
126 fError->setNoun(name); in onAddAttributeLen()
127 fError->setCode(SkXMLParserError::kUnknownAttributeName); in onAddAttributeLen()
133 if (fMaker.fError.hasError()) { in onAddAttributeLen()
134 fError->setNoun(attrValue, attrValueLen); in onAddAttributeLen()
141 fError->setNoun(attrValue, attrValueLen); in onAddAttributeLen()
142 fError->setCode(SkXMLParserError::kErrorInAttributeValue); in onAddAttributeLen()
148 fError->setNoun(name); in onAddAttributeLen()
[all …]
DSkAnimateMaker.h77 SkXMLParserError::ErrorCode getErrorCode() const { return fError.getErrorCode(); } in getErrorCode()
79 int getNativeCode() const { return fError.getNativeCode(); } in getNativeCode()
80 bool hasError() { return fError.hasError(); } in hasError()
93 …void setErrorCode(SkXMLParserError::ErrorCode err) { if (fError.hasError() == false) fError.INHERI… in setErrorCode()
94 …setErrorCode(SkDisplayXMLParserError::ErrorCode err) { if (fError.hasError() == false) fError.setC… in setErrorCode()
95 void setErrorNoun(const SkString& str) { if (fError.hasError() == false) fError.setNoun(str); } in setErrorNoun()
99 …void setInnerError(SkAnimateMaker* maker, const SkString& str) { fError.setInnerError(maker, str);… in setInnerError()
138 SkDisplayXMLParserError fError; variable
DSkScript.cpp181 fTokenLength(0), fReturnType(returnType), fError(kNoError) in SkScriptEngine()
333 fError = kTooManyParameters; in convertParams()
361 fError = kHandleUnboxFailed; in convertTo()
372 fError = kExpectedFieldName; in evaluateDot()
379 fError = kCouldNotFindReferencedID; // note: never generated by standard animator plugins in evaluateDot()
392 fError = kDotOperatorExpectsObject; in evaluateDotParam()
406 fError = kHandleMemberFailed; in evaluateDotParam()
414 fError = kHandleMemberFunctionFailed; in evaluateDotParam()
445 fError = kPrematureEnd; in evaluateScript()
453 if (fError) in evaluateScript()
[all …]
DSkAnimateMaker.cpp105 if (hasError() && fError.hasNoun() == false) in decodeURI()
106 fError.setNoun(uri); in decodeURI()
289 if (fError.hasError()) { in setErrorString()
295 int line = fError.getLineNumber(); in setErrorString()
302 fError.getErrorString(&err); in setErrorString()
DSkScriptRuntime.cpp77 fError = kArrayIndexOutOfBounds; in executeTokens()
96 fError = kFunctionCallFailed; in executeTokens()
105 fError = kMemberOpFailed; in executeTokens()
114 fError = kPropertyOpFailed; in executeTokens()
DSkDisplayEvents.h38 SkBool fError; variable
DSkScriptRuntime.h42 SkError fError; variable
/external/chromium_org/third_party/skia/src/animator/
DSkDisplayXMLParser.cpp73 : INHERITED(&maker.fError), fMaker(maker), fInInclude(maker.fInInclude), in SkDisplayXMLParser()
107 fError->setNoun(attrValue, attrValueLen); in onAddAttributeLen()
108 fError->setCode(SkXMLParserError::kDuplicateIDs); in onAddAttributeLen()
126 fError->setNoun(name); in onAddAttributeLen()
127 fError->setCode(SkXMLParserError::kUnknownAttributeName); in onAddAttributeLen()
133 if (fMaker.fError.hasError()) { in onAddAttributeLen()
134 fError->setNoun(attrValue, attrValueLen); in onAddAttributeLen()
141 fError->setNoun(attrValue, attrValueLen); in onAddAttributeLen()
142 fError->setCode(SkXMLParserError::kErrorInAttributeValue); in onAddAttributeLen()
148 fError->setNoun(name); in onAddAttributeLen()
[all …]
DSkAnimateMaker.h77 SkXMLParserError::ErrorCode getErrorCode() const { return fError.getErrorCode(); } in getErrorCode()
79 int getNativeCode() const { return fError.getNativeCode(); } in getNativeCode()
80 bool hasError() { return fError.hasError(); } in hasError()
93 …void setErrorCode(SkXMLParserError::ErrorCode err) { if (fError.hasError() == false) fError.INHERI… in setErrorCode()
94 …setErrorCode(SkDisplayXMLParserError::ErrorCode err) { if (fError.hasError() == false) fError.setC… in setErrorCode()
95 void setErrorNoun(const SkString& str) { if (fError.hasError() == false) fError.setNoun(str); } in setErrorNoun()
99 …void setInnerError(SkAnimateMaker* maker, const SkString& str) { fError.setInnerError(maker, str);… in setInnerError()
138 SkDisplayXMLParserError fError; variable
DSkScript.cpp181 fTokenLength(0), fReturnType(returnType), fError(kNoError) in SkScriptEngine()
333 fError = kTooManyParameters; in convertParams()
361 fError = kHandleUnboxFailed; in convertTo()
372 fError = kExpectedFieldName; in evaluateDot()
379 fError = kCouldNotFindReferencedID; // note: never generated by standard animator plugins in evaluateDot()
392 fError = kDotOperatorExpectsObject; in evaluateDotParam()
406 fError = kHandleMemberFailed; in evaluateDotParam()
414 fError = kHandleMemberFunctionFailed; in evaluateDotParam()
445 fError = kPrematureEnd; in evaluateScript()
453 if (fError) in evaluateScript()
[all …]
DSkAnimateMaker.cpp105 if (hasError() && fError.hasNoun() == false) in decodeURI()
106 fError.setNoun(uri); in decodeURI()
289 if (fError.hasError()) { in setErrorString()
295 int line = fError.getLineNumber(); in setErrorString()
302 fError.getErrorString(&err); in setErrorString()
DSkScriptRuntime.cpp77 fError = kArrayIndexOutOfBounds; in executeTokens()
96 fError = kFunctionCallFailed; in executeTokens()
105 fError = kMemberOpFailed; in executeTokens()
114 fError = kPropertyOpFailed; in executeTokens()
DSkDisplayEvents.h38 SkBool fError; variable
DSkScriptRuntime.h42 SkError fError; variable
/external/junit/src/org/junit/internal/runners/statements/
DFail.java7 private final Throwable fError; field in Fail
10 fError= e; in Fail()
15 throw fError; in evaluate()
/external/skia/tests/
DSkpSkGrTest.cpp115 sk_bzero(fError, sizeof(fError)); in init()
120 int fError[kMaxFiles]; member
305 data->fError[dCount] = pixelError; in addError()
313 if (smallest > data->fError[index]) { in addError()
314 smallest = data->fError[index]; in addError()
318 data->fError[smallestIndex] = pixelError; in addError()
323 if (data->fSmallestError > data->fError[index]) { in addError()
324 data->fSmallestError = data->fError[index]; in addError()
646 state.fError[index]); in DEF_TEST()
716 max.fError[maxIdx] = state.fError[index]; in DEF_TEST()
[all …]
/external/chromium_org/third_party/skia/tests/
DSkpSkGrTest.cpp115 sk_bzero(fError, sizeof(fError)); in init()
120 int fError[kMaxFiles]; member
303 data->fError[dCount] = pixelError; in addError()
311 if (smallest > data->fError[index]) { in addError()
312 smallest = data->fError[index]; in addError()
316 data->fError[smallestIndex] = pixelError; in addError()
321 if (data->fSmallestError > data->fError[index]) { in addError()
322 data->fSmallestError = data->fError[index]; in addError()
644 state.fError[index]); in DEF_TEST()
713 max.fError[maxIdx] = state.fError[index]; in DEF_TEST()
[all …]
/external/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperfold.cpp474 UBool error() {return fError;}; in error()
484 UBool fError; member in UCharFile
493 fError = FALSE; in UCharFile()
507 fError = TRUE; in UCharFile()
527 fError = true; in UCharFile()
595 fError = TRUE; in get()
606 fError = TRUE; in get()
/external/chromium_org/third_party/icu/source/test/perf/ubrkperf/
Dubrkperfold.cpp474 UBool error() {return fError;}; in error()
484 UBool fError; member in UCharFile
493 fError = FALSE; in UCharFile()
507 fError = TRUE; in UCharFile()
527 fError = true; in UCharFile()
595 fError = TRUE; in get()
606 fError = TRUE; in get()

12