/external/cldr/tools/c/genldml/ |
D | genldml.cpp | 218 … : mSourceBundle(path, locName,err), mStringsBundle("genldml_resources","root", err),mError(err){ in GenerateXML() 302 formatString(mStringsBundle.getStringEx("localeData",mError),args,2,xmlString); in closeXMLDocument() 307 MessageFormat format(str,mError); in formatString() 310 format.format(args,1, result,fpos,mError); in formatString() 321 MessageFormat format(str,mError); in formatString() 323 format.format(args,num, result,fpos,mError); in formatString() 339 if(U_FAILURE(mError) ) { in getFileHandle() 355 mError=U_FILE_ACCESS_ERROR; in getFileHandle() 384 if (length > destCapacity && U_SUCCESS(mError)) { in fillOutputString() 385 mError = U_BUFFER_OVERFLOW_ERROR; in fillOutputString() [all …]
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ResStringPool.java | 39 private int mError; field in ResStringPool 62 mError = NO_INIT; in ResStringPool() 114 return (mError=BAD_TYPE); in setTo() 122 return (mError=BAD_TYPE); in setTo() 132 return (mError=BAD_TYPE); in setTo() 166 return (mError=BAD_TYPE); in setTo() 178 return (mError=BAD_TYPE); in setTo() 193 return (mError=BAD_TYPE); in setTo() 205 return (mError=BAD_TYPE); in setTo() 211 return (mError=BAD_TYPE); in setTo() [all …]
|
D | ResXMLTree.java | 38 int mError; field in ResXMLTree 58 mError = NO_INIT; in ResXMLTree() 87 return (mError=BAD_TYPE); in setTo() 107 mError = BAD_TYPE; in setTo() 109 return mError; in setTo() 130 mError = err; in setTo() 133 return mError; in setTo() 154 mError = BAD_TYPE; in setTo() 157 return mError; in setTo() 161 mError = BAD_TYPE; in setTo() [all …]
|
D | ResTable.java | 84 int mError; field in ResTable 171 mError = src.mError; in add() 196 return mError; in add() 216 return (mError=NO_ERROR); in addEmpty() 241 return (mError = NO_MEMORY); in addInternal() 258 return (mError=NO_MEMORY); in addInternal() 280 return (mError=BAD_TYPE); in addInternal() 286 return (mError=BAD_TYPE); in addInternal() 303 return (mError=err); in addInternal() 318 return (mError=err); in addInternal() [all …]
|
/external/robolectric/resources/src/main/java/org/robolectric/res/android/ |
D | ResStringPool.java | 38 private int mError; field in ResStringPool 61 mError = NO_INIT; in ResStringPool() 113 return (mError=BAD_TYPE); in setTo() 121 return (mError=BAD_TYPE); in setTo() 131 return (mError=BAD_TYPE); in setTo() 165 return (mError=BAD_TYPE); in setTo() 177 return (mError=BAD_TYPE); in setTo() 192 return (mError=BAD_TYPE); in setTo() 204 return (mError=BAD_TYPE); in setTo() 210 return (mError=BAD_TYPE); in setTo() [all …]
|
D | ResXMLTree.java | 38 int mError; field in ResXMLTree 58 mError = NO_INIT; in ResXMLTree() 87 return (mError=BAD_TYPE); in setTo() 107 mError = BAD_TYPE; in setTo() 109 return mError; in setTo() 130 mError = err; in setTo() 133 return mError; in setTo() 154 mError = BAD_TYPE; in setTo() 157 return mError; in setTo() 161 mError = BAD_TYPE; in setTo() [all …]
|
D | ResTable.java | 89 int mError; field in ResTable 176 mError = src.mError; in add() 201 return mError; in add() 221 return (mError=NO_ERROR); in addEmpty() 246 return (mError = NO_MEMORY); in addInternal() 263 return (mError=NO_MEMORY); in addInternal() 285 return (mError=BAD_TYPE); in addInternal() 291 return (mError=BAD_TYPE); in addInternal() 309 return (mError=err); in addInternal() 327 return (mError=err); in addInternal() [all …]
|
/external/parameter-framework/upstream/utility/ |
D | ErrorContext.hpp | 41 ErrorContext(std::string &error) : mError(error) {} in ErrorContext() 43 void setError(const std::string &error) { mError = error; } in setError() 45 void appendToError(const std::string &append) { mError += append; } in appendToError() 47 void prependToError(const std::string &prepend) { mError = prepend + mError; } in prependToError() 51 std::string &mError; member in utility::ErrorContext
|
/external/oboe/include/oboe/ |
D | ResultWithValue.h | 57 , mError(error) {} 66 , mError(oboe::Result::OK) {} in ResultWithValue() 74 return mError; in error() 88 explicit operator bool() const { return mError == oboe::Result::OK; } 100 bool operator !() const { return mError != oboe::Result::OK; } 111 return mError; in Result() 136 const oboe::Result mError; variable
|
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/ |
D | CronetUrlRequestTest.java | 340 assertNull(callback.mError); in testRedirectWithNullLocationHeader() 437 assertNotNull(callback.mError); in testContentLengthMismatchFailsOnce() 439 callback.mError.getMessage()); in testContentLengthMismatchFailsOnce() 738 assertNotNull(callback.mError); in testMockStartAsyncError() 740 ((NetworkException) callback.mError).getInternalErrorCode()); in testMockStartAsyncError() 756 assertNotNull(callback.mError); in testMockReadDataSyncError() 758 ((NetworkException) callback.mError).getInternalErrorCode()); in testMockReadDataSyncError() 776 assertNotNull(callback.mError); in testMockReadDataAsyncError() 778 ((NetworkException) callback.mError).getInternalErrorCode()); in testMockReadDataAsyncError() 797 assertNull(callback.mError); in testMockClientCertificateRequested() [all …]
|
D | TestBidirectionalStreamCallback.java | 33 public HttpException mError; field in TestBidirectionalStreamCallback 190 assertNull(mError); in onStreamReady() 205 assertNull(mError); in onResponseHeadersReceived() 224 assertNull(mError); in onReadCompleted() 254 assertNull(mError); in onWriteCompleted() 272 assertNull(mError); in onResponseTrailersReceived() 291 assertNull(mError); in onSucceeded() 310 assertNull(mError); in onFailed() 315 mError = error; in onFailed() 327 assertNull(mError); in onCanceled()
|
D | TestUrlRequestCallback.java | 39 public HttpException mError; field in TestUrlRequestCallback 228 assertNull(mError); 246 assertNull(mError); 262 assertNull(mError); 291 assertNull(mError); 315 assertNull(mError); 326 mError = error; 340 assertNull(mError);
|
D | BidirectionalStreamQuicTest.java | 322 assertNotNull(callback.mError); in testStreamFailBeforeWriteIsExecutedOnNetworkThread() 323 assertTrue(callback.mError instanceof NetworkException); in testStreamFailBeforeWriteIsExecutedOnNetworkThread() 324 NetworkException networkError = (NetworkException) callback.mError; in testStreamFailBeforeWriteIsExecutedOnNetworkThread() 328 assertTrue(callback.mError instanceof QuicException); in testStreamFailBeforeWriteIsExecutedOnNetworkThread() 355 assertNotNull(callback.mError); in testStreamFailWithQuicDetailedErrorCode() 356 if (callback.mError instanceof QuicException) { in testStreamFailWithQuicDetailedErrorCode() 357 QuicException quicException = (QuicException) callback.mError; in testStreamFailWithQuicDetailedErrorCode()
|
D | NetworkChangeNotifierTest.java | 106 assertNotNull(callback.mError); in testNetworkChangeNotifier() 109 ((NetworkException) callback.mError).getInternalErrorCode()); in testNetworkChangeNotifier() 111 callback.mError.getMessage()); in testNetworkChangeNotifier()
|
D | MockCertVerifierTest.java | 63 assertThat(callback.mError).isNotNull(); in testRequest_failsWithoutMockVerifier() 64 assertThat(callback.mError).hasMessageThat().contains("ERR_CERT_AUTHORITY_INVALID"); in testRequest_failsWithoutMockVerifier()
|
D | PkpTest.java | 389 assertNotNull("Expected an error", mListener.mError); in assertErrorResponse() 390 int errorCode = ((NetworkException) mListener.mError).getInternalErrorCode(); in assertErrorResponse() 403 if (mListener.mError != null) { in assertSuccessfulResponse() 405 + ((NetworkException) mListener.mError).getInternalErrorCode()); in assertSuccessfulResponse()
|
/external/angle/src/libANGLE/ |
D | Thread.cpp | 46 mError(EGL_SUCCESS), in Thread() 63 mError = EGL_SUCCESS; in setSuccess() 71 mError = error; in setError() 82 mError = error.getCode(); in setError() 94 return mError; in getError()
|
/external/angle/src/common/ |
D | BinaryStream.h | 36 mError = false; in BinaryInputStream() 107 if (mError) in readString() 117 mError = true; in readString() 139 mError = true; in skip() 153 bool error() const { return mError; } in error() 160 bool mError; 174 mError = true; in read() 183 mError = true; in read()
|
/external/noto-fonts/emoji-compat/tests/src/androidx/emoji2/bundled/util/ |
D | EmojiMatcher.java | 154 private int mError = ERR_NONE; 195 switch (mError) { 215 mError = ERR_SPANNABLE_NULL; 220 mError = ERR_NO_SPANS; 228 mError = ERR_NO_SPANS; 251 mError = ERR_WRONG_INDEX;
|
/external/cronet/components/cronet/android/test/smoketests/src/org/chromium/net/smoke/ |
D | SmokeTestRequestCallback.java | 42 private CronetException mError; field in SmokeTestRequestCallback 68 mError = error; in onFailed() 108 return mError; in getFailureError()
|
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/apihelpers/ |
D | UploadDataProvidersTest.java | 121 assertTrue(callback.mError.getCause() instanceof IllegalArgumentException); in testBadFileDescriptorProvider() 180 assertContains("Exception received from UploadDataProvider", callback.mError.getMessage()); in testUploadChangeBufferLimit() 181 assertContains("ByteBuffer limit changed", callback.mError.getCause().getMessage()); in testUploadChangeBufferLimit() 245 assertTrue(callback.mError instanceof CallbackException); in testNoErrorWhenExceptionDuringStart() 246 assertContains("Exception received from UploadDataProvider", callback.mError.getMessage()); in testNoErrorWhenExceptionDuringStart() 247 assertContains(exceptionMessage, callback.mError.getCause().getMessage()); in testNoErrorWhenExceptionDuringStart()
|
/external/openthread/tests/unit/ |
D | test_cmd_line_parser.cpp | 54 otError mError; member 71 if (testCase->mError != OT_ERROR_NONE) in VerifyParser() 73 printf("error:%s", otThreadErrorToString(testCase->mError)); in VerifyParser() 84 VerifyOrQuit(error == testCase->mError, "Parser did not return the expected error"); in VerifyParser()
|
D | test_lowpan.hpp | 211 void SetError(Error aError) { mError = aError; } in SetError() 285 Error mError; member in ot::TestIphcVector
|
D | test_hdlc.cpp | 437 otError mError; member 444 decoderContext.mError = aError; in ProcessDecodedFrame() 502 …VerifyOrQuit(decoderContext.mError == OT_ERROR_NONE, "Decoder::Decode() returned incorrect error c… in TestEncoderDecoder() 565 …VerifyOrQuit(decoderContext.mError == OT_ERROR_PARSE, "Decoder::Decode() did not fail with bad FCS… in TestEncoderDecoder() 574 …VerifyOrQuit(decoderContext.mError == OT_ERROR_PARSE, "Decoder::Decode() did not fail for short fr… in TestEncoderDecoder() 636 …VerifyOrQuit(decoderContext.mError == OT_ERROR_NONE, "Decoder::Decode() returned incorrect error c… in TestFuzzEncoderDecoder()
|
/external/openthread/src/lib/spinel/ |
D | radio_spinel_impl.hpp | 187 , mError(OT_ERROR_NONE) in RadioSpinel() 785 VerifyOrExit(unpacked > 0, mError = OT_ERROR_PARSE); in HandleWaitingResponse() 786 mError = SpinelStatusToOtError(status); in HandleWaitingResponse() 796 VerifyOrExit(unpacked > 0, mError = OT_ERROR_PARSE); in HandleWaitingResponse() 809 mError = (this->*handler)(aBuffer, aLength); in HandleWaitingResponse() 816 VerifyOrExit(unpacked > 0, mError = OT_ERROR_PARSE); in HandleWaitingResponse() 817 mError = OT_ERROR_NONE; in HandleWaitingResponse() 824 mError = OT_ERROR_NONE; in HandleWaitingResponse() 828 mError = OT_ERROR_DROP; in HandleWaitingResponse() 834 mError = OT_ERROR_DROP; in HandleWaitingResponse() [all …]
|