Searched refs:errorCode (Results 1 - 25 of 595) sorted by relevance

1234567891011>>

/macosx-10.10/ICU-531.30/icuSources/common/unicode/
H A Derrorcode.h66 * log_failure(u_errorName(errorCode));
67 * exit(errorCode);
85 ErrorCode() : errorCode(U_ZERO_ERROR) {}
89 operator UErrorCode & () { return errorCode; }
91 operator UErrorCode * () { return &errorCode; }
93 UBool isSuccess() const { return U_SUCCESS(errorCode); }
95 UBool isFailure() const { return U_FAILURE(errorCode); }
97 UErrorCode get() const { return errorCode; }
99 void set(UErrorCode value) { errorCode=value; }
125 UErrorCode errorCode; member in class:ErrorCode
[all...]
/macosx-10.10/ICU-531.30/icuSources/i18n/
H A Dcollationroot.cpp49 CollationRoot::load(UErrorCode &errorCode) { argument
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) { argument
70 umtx_initOnce(initOnce, CollationRoot::load, errorCode);
71 if(U_FAILURE(errorCode)) { retur
76 getData(UErrorCode &errorCode) argument
83 getSettings(UErrorCode &errorCode) argument
[all...]
H A Dcollationroot.h30 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);
H A Dcollationbasedatabuilder.h37 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...]
/macosx-10.10/WebCore-7600.1.25/platform/network/cf/
H A DSocketStreamError.h41 explicit SocketStreamError(int errorCode) argument
42 : SocketStreamErrorBase(errorCode)
45 SocketStreamError(int errorCode, const String& failingURL, const String& localizedDescription) argument
46 : SocketStreamErrorBase(errorCode, failingURL, localizedDescription)
/macosx-10.10/mDNSResponder-561.1.1/mDNSShared/Java/
H A DBaseListener.java31 @param errorCode
34 void operationFailed( DNSSDService service, int errorCode); argument
/macosx-10.10/ICU-531.30/icuSources/common/
H A Dlocresdata.cpp52 UErrorCode errorCode; local
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...]
H A Dcharstr.h42 CharString(const StringPiece &s, UErrorCode &errorCode) : len(0) { argument
44 append(s, errorCode);
46 CharString(const CharString &s, UErrorCode &errorCode) : len(0) { argument
48 append(s, errorCode);
50 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { argument
52 append(s, sLength, errorCode);
62 CharString &copyFrom(const CharString &other, UErrorCode &errorCode);
75 CharString &append(char c, UErrorCode &errorCode);
76 CharString &append(const StringPiece &s, UErrorCode &errorCode) { argument
77 return append(s.data(), s.length(), errorCode);
79 append(const CharString &s, UErrorCode &errorCode) argument
[all...]
H A Derrorcode.cpp25 UErrorCode code = errorCode;
26 errorCode = U_ZERO_ERROR;
37 return u_errorName(errorCode);
H A Dlistformatter.cpp83 UErrorCode& errorCode);
89 UErrorCode& errorCode);
114 void ListFormatter::initializeHash(UErrorCode& errorCode) { argument
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);
130 getListFormatInternal( const Locale& locale, const char *style, UErrorCode& errorCode) argument
173 loadListFormatInternal( const Locale& locale, const char * style, UErrorCode& errorCode) argument
210 getStringByKey(const UResourceBundle* rb, const char* key, UnicodeString& result, UErrorCode& errorCode) argument
219 createInstance(UErrorCode& errorCode) argument
224 createInstance(const Locale& locale, UErrorCode& errorCode) argument
228 createInstance(const Locale& locale, const char *style, UErrorCode& errorCode) argument
261 joinStrings( const SimplePatternFormatter& pat, const UnicodeString& first, const UnicodeString& second, UnicodeString &result, UBool recordOffset, int32_t &offset, UErrorCode& errorCode) argument
[all...]
H A Dfilterednormalizer2.cpp34 UErrorCode &errorCode) const {
35 uprv_checkCanGetBuffer(src, errorCode);
36 if(U_FAILURE(errorCode)) {
41 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
45 return normalize(src, dest, USET_SPAN_SIMPLE, errorCode);
59 UErrorCode &errorCode) const {
74 tempDest, errorCode));
75 if(U_FAILURE(errorCode)) {
89 UErrorCode &errorCode) const {
90 return normalizeSecondAndAppend(first, second, TRUE, errorCode);
[all...]
H A Dcharstr.cpp22 CharString &CharString::copyFrom(const CharString &s, UErrorCode &errorCode) { argument
23 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) {
40 CharString &CharString::append(char c, UErrorCode &errorCode) { argument
41 if(ensureCapacity(len+2, 0, errorCode)) {
48 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { argument
49 if(U_FAILURE(errorCode)) {
53 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
64 errorCode=U_INTERNAL_PROGRAM_ERROR;
73 return append(CharString(s, sLength, errorCode), errorCod
82 getAppendBuffer(int32_t minCapacity, int32_t desiredCapacityHint, int32_t &resultCapacity, UErrorCode &errorCode) argument
103 appendInvariantChars(const UnicodeString &s, UErrorCode &errorCode) argument
110 ensureCapacity(int32_t capacity, int32_t desiredCapacityHint, UErrorCode &errorCode) argument
130 appendPathPart(const StringPiece &s, UErrorCode &errorCode) argument
[all...]
/macosx-10.10/ICU-531.30/icuSources/test/cintltst/
H A Dcstrcase.c43 UErrorCode errorCode; local
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
141 UErrorCode errorCode; local
238 UErrorCode errorCode; local
342 UErrorCode errorCode; local
434 UErrorCode errorCode; local
635 UErrorCode errorCode; local
734 UErrorCode errorCode; local
879 UErrorCode errorCode; local
976 u_strToUTF8(utf8BeforeTitle, (int32_t)sizeof(utf8BeforeTitle), &utf8BeforeTitleLength, beforeTitle, LENGTHOF(beforeTitle), &errorCode); local
977 u_strToUTF8(utf8TitleSentNoLower, (int32_t)sizeof(utf8TitleSentNoLower), &utf8TitleSentNoLowerLength, titleSentNoLower, LENGTHOF(titleSentNoLower), &errorCode); local
[all...]
H A Dcucdapi.c388 UErrorCode errorCode=U_ZERO_ERROR; local
390 USCRIPT_COMMON==uscript_getScript(0x0640, &errorCode) &&
391 USCRIPT_INHERITED==uscript_getScript(0x0650, &errorCode) &&
392 USCRIPT_ARABIC==uscript_getScript(0xfdf2, &errorCode)) ||
393 U_FAILURE(errorCode)
450 UErrorCode errorCode; local
453 errorCode=U_PARSE_ERROR;
454 length=uscript_getScriptExtensions(0x0640, scripts, LENGTHOF(scripts), &errorCode);
455 if(errorCode!=U_PARSE_ERROR) {
457 u_errorName(errorCode));
536 UErrorCode errorCode=U_ZERO_ERROR; local
[all...]
H A Dcnormtst.c549 UErrorCode errorCode; local
554 errorCode=U_ZERO_ERROR;
555 if(!unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode) || U_FAILURE(errorCode)) {
556 log_data_err("error: !isNormalized(<U+0300>, NFC) (%s) - (Are you missing data?)\n", u_errorName(errorCode));
560 errorCode=U_TRUNCATED_CHAR_FOUND;
561 (void)unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode);
562 if(errorCode!=U_TRUNCATED_CHAR_FOUND) {
563 log_err("error: isNormalized(U_TRUNCATED_CHAR_FOUND) changed the error code to %s\n", u_errorName(errorCode));
567 errorCode
708 UErrorCode errorCode; local
763 UErrorCode errorCode; local
975 UErrorCode errorCode; local
1038 UErrorCode errorCode; local
1187 UErrorCode errorCode; local
1332 UErrorCode errorCode; local
1358 UErrorCode errorCode; local
1456 UErrorCode errorCode; local
1480 UErrorCode errorCode=U_ZERO_ERROR; local
1523 UErrorCode errorCode=U_ZERO_ERROR; local
1590 UErrorCode errorCode=U_ZERO_ERROR; local
1629 UErrorCode errorCode=U_ZERO_ERROR; local
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/network/curl/
H A DSocketStreamError.h41 explicit SocketStreamError(int errorCode) argument
42 : SocketStreamErrorBase(errorCode)
/macosx-10.10/WebCore-7600.1.25/platform/network/soup/
H A DSocketStreamError.h41 SocketStreamError(int errorCode, const gchar* description) argument
42 : SocketStreamErrorBase(errorCode, String(), String(description))
/macosx-10.10/WebCore-7600.1.25/platform/network/win/
H A DSocketStreamError.h41 explicit SocketStreamError(int errorCode) argument
42 : SocketStreamErrorBase(errorCode)
/macosx-10.10/IOSCSIParallelFamily-300.0.2/
H A DIOSCSIParallelFamilyDebugging.h49 int errorCode );
60 int errorCode );
91 #define require_success( errorCode, exceptionLabel ) \
92 require( kIOReturnSuccess == (errorCode), exceptionLabel )
94 #define require_success_action( errorCode, exceptionLabel, action ) \
95 require_action( kIOReturnSuccess == (errorCode), exceptionLabel, action )
97 #define require_success_quiet( errorCode, exceptionLabel ) \
98 require_quiet( kIOReturnSuccess == (errorCode), exceptionLabel )
100 #define require_success_action_quiet( errorCode, exceptionLabel, action ) \
101 require_action_quiet( kIOReturnSuccess == (errorCode), exceptionLabe
[all...]
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/Cocoa/
H A DWKError.mm37 static NSString *localizedDescriptionForErrorCode(WKErrorCode errorCode)
39 switch (errorCode) {
54 RetainPtr<NSError> createNSError(WKErrorCode errorCode)
56 auto userInfo = adoptNS([[NSDictionary alloc] initWithObjectsAndKeys:localizedDescriptionForErrorCode(errorCode), NSLocalizedDescriptionKey, nil]);
58 return adoptNS([[NSError alloc] initWithDomain:WKErrorDomain code:errorCode userInfo:userInfo.get()]);
/macosx-10.10/IOFireWireSerialBusProtocolTransport-251.0.1/
H A DIOFireWireSerialBusProtocolTransportDebugging.h74 int errorCode );
101 #define require_success( errorCode, exceptionLabel ) \
102 require( kIOReturnSuccess == (errorCode), exceptionLabel )
104 #define require_success_action( errorCode, exceptionLabel, action ) \
105 require_action( kIOReturnSuccess == (errorCode), exceptionLabel, action )
107 #define require_success_quiet( errorCode, exceptionLabel ) \
108 require_quiet( kIOReturnSuccess == (errorCode), exceptionLabel )
110 #define require_success_action_quiet( errorCode, exceptionLabel, action ) \
111 require_action_quiet( kIOReturnSuccess == (errorCode), exceptionLabel, action )
113 #define require_success_string( errorCode, exceptionLabe
[all...]
/macosx-10.10/IOSCSIParallelFamily-300.0.2/TestTools/AppleSCSIHBAEmulator/
H A DDebugSupport.h73 int errorCode );
102 #define require_success( errorCode, exceptionLabel ) \
103 require( kIOReturnSuccess == (errorCode), exceptionLabel )
105 #define require_success_action( errorCode, exceptionLabel, action ) \
106 require_action( kIOReturnSuccess == (errorCode), exceptionLabel, action )
108 #define require_success_quiet( errorCode, exceptionLabel ) \
109 require_quiet( kIOReturnSuccess == (errorCode), exceptionLabel )
111 #define require_success_action_quiet( errorCode, exceptionLabel, action ) \
112 require_action_quiet( kIOReturnSuccess == (errorCode), exceptionLabel, action )
114 #define require_success_string( errorCode, exceptionLabe
[all...]
/macosx-10.10/xnu-2782.1.97/EXTERNAL_HEADERS/
H A DAssertMacros.h139 * DEBUG_ASSERT_MESSAGE(component, assertion, label, error, file, line, errorCode)
176 * errorCode:
185 * exceptionLabelString, errorString, fileName, lineNumber, errorCode) \
187 * exceptionLabelString, errorString, fileName, lineNumber, errorCode)
192 * const char *fileName, long lineNumber, int errorCode)
206 * if ( errorCode != 0 )
207 * fprintf(stderr, " error: %d\n", errorCode);
335 * __Check_noErr(errorCode)
340 * Non-production builds: if the errorCode expression does not equal 0 (noErr),
345 * errorCode
[all...]
/macosx-10.10/BerkeleyDB-21/db/java/src/com/sleepycat/db/
H A DEventHandler.java128 @param errorCode
130 will be passed in the errorCode parameter.
132 public void handleWriteFailedEvent(int errorCode); argument
/macosx-10.10/ICU-531.30/icuSources/samples/udata/
H A Dwriter.c62 UErrorCode errorCode=U_ZERO_ERROR; local
75 U_COPYRIGHT_STRING, &errorCode);
82 if(U_FAILURE(errorCode)) {
83 fprintf(stderr, "Error: unable to create data memory, error %d\n", errorCode);
84 exit(errorCode);
95 dataLength=udata_finish(pData, &errorCode);
96 if(U_FAILURE(errorCode)) {
97 fprintf(stderr, "Error: error %d writing the output file\n", errorCode);
98 exit(errorCode);

Completed in 290 milliseconds

1234567891011>>