HomeSort by relevance Sort by last modified time
    Searched full:errorcode (Results 1 - 25 of 1343) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/lzma/CPP/Common/
MyException.h 10 HRESULT ErrorCode;
11 CSystemException(HRESULT errorCode): ErrorCode(errorCode) {}
  /external/chromium_org/third_party/icu/source/common/
errorcode.cpp 8 * file name: errorcode.cpp
18 #include "unicode/errorcode.h"
22 ErrorCode::~ErrorCode() {}
24 UErrorCode ErrorCode::reset() {
25 UErrorCode code = errorCode;
26 errorCode = U_ZERO_ERROR;
30 void ErrorCode::assertSuccess() const {
36 const char* ErrorCode::errorName() const {
37 return u_errorName(errorCode);
    [all...]
listformatter.cpp 48 static ListFormatData* loadListFormatData(const Locale& locale, const char* style, UErrorCode& errorCode);
49 static void getStringByKey(const UResourceBundle* rb, const char* key, UnicodeString& result, UErrorCode& errorCode);
59 void ListFormatter::initializeHash(UErrorCode& errorCode) {
60 if (U_FAILURE(errorCode)) {
66 errorCode = U_MEMORY_ALLOCATION_ERROR;
76 const Locale& locale, const char *style, UErrorCode& errorCode) {
77 if (U_FAILURE(errorCode)) {
80 CharString keyBuffer(locale.getName(), errorCode);
81 keyBuffer.append(':', errorCode).append(style, errorCode);
    [all...]
charstr.cpp 22 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) {
23 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) {
40 CharString &CharString::append(char c, UErrorCode &errorCode) {
41 if(ensureCapacity(len+2, 0, errorCode)) {
48 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) {
49 if(U_FAILURE(errorCode)) {
53 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
64 errorCode=U_INTERNAL_PROGRAM_ERROR;
73 return append(CharString(s, sLength, errorCode), errorCode)
    [all...]
normalizer2.cpp 61 UErrorCode &errorCode) const {
62 if(U_SUCCESS(errorCode)) {
66 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
74 UErrorCode &errorCode) const {
75 if(U_SUCCESS(errorCode)) {
79 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
87 UErrorCode &errorCode) const {
88 if(U_SUCCESS(errorCode)) {
92 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
132 UErrorCode &errorCode) const
    [all...]
locresdata.cpp 52 UErrorCode errorCode;
59 errorCode=U_ZERO_ERROR;
60 rb=ures_open(path, locale, &errorCode);
62 if(U_FAILURE(errorCode)) {
64 *pErrorCode=errorCode;
66 } else if(errorCode==U_USING_DEFAULT_WARNING ||
67 (errorCode==U_USING_FALLBACK_WARNING && *pErrorCode!=U_USING_DEFAULT_WARNING)
70 *pErrorCode=errorCode;
76 ures_getByKeyWithFallback(rb, tableKey, &table, &errorCode);
80 ures_getByKeyWithFallback(&table,subTableKey, &subTable, &errorCode);
    [all...]
  /external/icu/icu4c/source/common/
errorcode.cpp 8 * file name: errorcode.cpp
18 #include "unicode/errorcode.h"
22 ErrorCode::~ErrorCode() {}
24 UErrorCode ErrorCode::reset() {
25 UErrorCode code = errorCode;
26 errorCode = U_ZERO_ERROR;
30 void ErrorCode::assertSuccess() const {
36 const char* ErrorCode::errorName() const {
37 return u_errorName(errorCode);
    [all...]
listformatter.cpp 83 UErrorCode& errorCode);
89 UErrorCode& errorCode);
114 void ListFormatter::initializeHash(UErrorCode& errorCode) {
115 if (U_FAILURE(errorCode)) {
121 errorCode = U_MEMORY_ALLOCATION_ERROR;
131 const Locale& locale, const char *style, UErrorCode& errorCode) {
132 if (U_FAILURE(errorCode)) {
135 CharString keyBuffer(locale.getName(), errorCode);
136 keyBuffer.append(':', errorCode).append(style, errorCode);
    [all...]
charstr.cpp 22 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) {
23 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) {
40 CharString &CharString::append(char c, UErrorCode &errorCode) {
41 if(ensureCapacity(len+2, 0, errorCode)) {
48 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) {
49 if(U_FAILURE(errorCode)) {
53 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
64 errorCode=U_INTERNAL_PROGRAM_ERROR;
73 return append(CharString(s, sLength, errorCode), errorCode)
    [all...]
normalizer2.cpp 61 UErrorCode &errorCode) const {
62 if(U_SUCCESS(errorCode)) {
66 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
74 UErrorCode &errorCode) const {
75 if(U_SUCCESS(errorCode)) {
79 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
87 UErrorCode &errorCode) const {
88 if(U_SUCCESS(errorCode)) {
92 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
132 UErrorCode &errorCode) const
    [all...]
locresdata.cpp 52 UErrorCode errorCode;
59 errorCode=U_ZERO_ERROR;
60 rb=ures_open(path, locale, &errorCode);
62 if(U_FAILURE(errorCode)) {
64 *pErrorCode=errorCode;
66 } else if(errorCode==U_USING_DEFAULT_WARNING ||
67 (errorCode==U_USING_FALLBACK_WARNING && *pErrorCode!=U_USING_DEFAULT_WARNING)
70 *pErrorCode=errorCode;
76 ures_getByKeyWithFallback(rb, tableKey, &table, &errorCode);
80 ures_getByKeyWithFallback(&table,subTableKey, &subTable, &errorCode);
    [all...]
  /external/chromium_org/sandbox/linux/seccomp-bpf/
errorcode_unittest.cc 5 #include "sandbox/linux/seccomp-bpf/errorcode.h"
17 SANDBOX_TEST(ErrorCode, ErrnoConstructor) {
18 ErrorCode e0;
21 ErrorCode e1(ErrorCode::ERR_ALLOWED);
24 ErrorCode e2(EPERM);
28 ErrorCode e3 = sandbox.Trap(NULL, NULL);
32 ErrorCode e4(ErrorCode::ERR_TRACE + data);
36 SANDBOX_DEATH_TEST(ErrorCode,
    [all...]
sandbox_bpf_policy.cc 9 #include "sandbox/linux/seccomp-bpf/errorcode.h"
13 ErrorCode SandboxBPFPolicy::InvalidSyscall(SandboxBPF* sandbox_compiler) const {
14 return ErrorCode(ENOSYS);
errorcode.cc 5 #include "sandbox/linux/seccomp-bpf/errorcode.h"
12 ErrorCode::ErrorCode() : error_type_(ET_INVALID), err_(SECCOMP_RET_INVALID) {
15 ErrorCode::ErrorCode(int err) {
31 SANDBOX_DIE("Invalid use of ErrorCode object");
35 ErrorCode::ErrorCode(Trap::TrapFnc fnc, const void* aux, bool safe)
43 ErrorCode::ErrorCode(int argno
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
ErrorCode.java 5 public enum ErrorCode {
43 private ErrorCode(int httpCode, int spdyRstCode, int spdyGoAwayCode) {
49 public static ErrorCode fromSpdy3Rst(int code) {
50 for (ErrorCode errorCode : ErrorCode.values()) {
51 if (errorCode.spdyRstCode == code) return errorCode;
56 public static ErrorCode fromHttp2(int code) {
57 for (ErrorCode errorCode : ErrorCode.values())
    [all...]
  /external/icu/icu4c/source/i18n/
collationroot.cpp 49 CollationRoot::load(UErrorCode &errorCode) {
50 if(U_FAILURE(errorCode)) { return; }
53 errorCode = U_MEMORY_ALLOCATION_ERROR;
58 CollationDataReader::isAcceptable, t->version, &errorCode);
59 if(U_FAILURE(errorCode)) { return; }
61 CollationDataReader::read(NULL, inBytes, udata_getLength(t->memory), *t, errorCode);
62 if(U_FAILURE(errorCode)) { return; }
69 CollationRoot::getRoot(UErrorCode &errorCode) {
70 umtx_initOnce(initOnce, CollationRoot::load, errorCode);
71 if(U_FAILURE(errorCode)) { return NULL;
    [all...]
collationroot.h 30 static const CollationTailoring *getRoot(UErrorCode &errorCode);
31 static const CollationData *getData(UErrorCode &errorCode);
32 static const CollationSettings *getSettings(UErrorCode &errorCode);
35 static void load(UErrorCode &errorCode);
collationbasedatabuilder.h 37 CollationBaseDataBuilder(UErrorCode &errorCode);
41 void init(UErrorCode &errorCode);
51 * @param errorCode in/out error code
53 void initHanRanges(const UChar32 ranges[], int32_t length, UErrorCode &errorCode);
64 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode);
66 void addRootElements(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode);
67 void addRootElement(int64_t ce, UErrorCode &errorCode);
71 UErrorCode &errorCode);
73 virtual void build(CollationData &data, UErrorCode &errorCode);
75 void buildRootElementsTable(UVector32 &table, UErrorCode &errorCode);
    [all...]
collationfastlatinbuilder.h 31 CollationFastLatinBuilder(UErrorCode &errorCode);
34 UBool forData(const CollationData &data, UErrorCode &errorCode);
42 UBool loadGroups(const CollationData &data, UErrorCode &errorCode);
46 void getCEs(const CollationData &data, UErrorCode &errorCode);
48 UErrorCode &errorCode);
50 UErrorCode &errorCode);
51 void addContractionEntry(int32_t x, int64_t cce0, int64_t cce1, UErrorCode &errorCode);
52 void addUniqueCE(int64_t ce, UErrorCode &errorCode);
54 UBool encodeUniqueCEs(UErrorCode &errorCode);
55 UBool encodeCharCEs(UErrorCode &errorCode);
    [all...]
collationruleparser.cpp 58 CollationRuleParser::CollationRuleParser(const CollationData *base, UErrorCode &errorCode)
59 : nfd(*Normalizer2::getNFDInstance(errorCode)),
60 nfc(*Normalizer2::getNFCInstance(errorCode)),
74 UErrorCode &errorCode) {
75 if(U_FAILURE(errorCode)) { return; }
85 parse(ruleString, errorCode);
89 CollationRuleParser::parse(const UnicodeString &ruleString, UErrorCode &errorCode) {
90 if(U_FAILURE(errorCode)) { return; }
102 parseRuleChain(errorCode);
105 parseSetting(errorCode);
    [all...]
  /external/chromium_org/third_party/icu/source/test/cintltst/
cstrcase.c 43 UErrorCode errorCode;
47 errorCode=U_ZERO_ERROR;
51 &errorCode);
52 if( U_FAILURE(errorCode) ||
59 u_errorName(errorCode),
69 errorCode=U_ZERO_ERROR;
73 &errorCode);
74 if( U_FAILURE(errorCode) ||
81 u_errorName(errorCode),
87 errorCode=U_ZERO_ERROR
    [all...]
  /external/icu/icu4c/source/test/cintltst/
cstrcase.c 43 UErrorCode errorCode;
47 errorCode=U_ZERO_ERROR;
51 &errorCode);
52 if( U_FAILURE(errorCode) ||
59 u_errorName(errorCode),
69 errorCode=U_ZERO_ERROR;
73 &errorCode);
74 if( U_FAILURE(errorCode) ||
81 u_errorName(errorCode),
87 errorCode=U_ZERO_ERROR
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
itutil.cpp 13 #include "unicode/errorcode.h"
115 ErrorCode errorCode;
116 if(errorCode.get()!=U_ZERO_ERROR || !errorCode.isSuccess() || errorCode.isFailure()) {
117 errln("ErrorCode did not initialize properly");
120 errorCode.assertSuccess();
121 if(errorCode.errorName()!=u_errorName(U_ZERO_ERROR)) {
122 errln("ErrorCode did not format error message string properly")
    [all...]
  /external/icu/icu4c/source/test/intltest/
itutil.cpp 13 #include "unicode/errorcode.h"
133 ErrorCode errorCode;
134 if(errorCode.get()!=U_ZERO_ERROR || !errorCode.isSuccess() || errorCode.isFailure()) {
135 errln("ErrorCode did not initialize properly");
138 errorCode.assertSuccess();
139 if(errorCode.errorName()!=u_errorName(U_ZERO_ERROR)) {
140 errln("ErrorCode did not format error message string properly")
    [all...]
  /external/chromium_org/base/android/java/src/org/chromium/base/library_loader/
ProcessInitException.java 14 * @param errorCode This will be one of the LoaderErrors error codes.
16 public ProcessInitException(int errorCode) {
17 mErrorCode = errorCode;
21 * @param errorCode This will be one of the LoaderErrors error codes.
24 public ProcessInitException(int errorCode, Throwable throwable) {
26 mErrorCode = errorCode;

Completed in 627 milliseconds

1 2 3 4 5 6 7 8 91011>>