Home
last modified time | relevance | path

Searched refs:int32_t (Results 1 – 25 of 1999) sorted by relevance

12345678910>>...80

/external/icu4c/common/unicode/
Dunistr.h52 U_STABLE int32_t U_EXPORT2
295 inline int8_t compare(int32_t start,
296 int32_t length,
316 inline int8_t compare(int32_t start,
317 int32_t length,
319 int32_t srcStart,
320 int32_t srcLength) const;
335 int32_t srcLength) const;
351 inline int8_t compare(int32_t start,
352 int32_t length,
[all …]
Dstringtriebuilder.h70 void createCompactBuilder(int32_t sizeGuess, UErrorCode &errorCode);
75 void build(UStringTrieBuildOption buildOption, int32_t elementsLength, UErrorCode &errorCode);
78 int32_t writeNode(int32_t start, int32_t limit, int32_t unitIndex);
80 int32_t writeBranchSubNode(int32_t start, int32_t limit, int32_t unitIndex, int32_t length);
85 Node *makeNode(int32_t start, int32_t limit, int32_t unitIndex, UErrorCode &errorCode);
87 Node *makeBranchSubNode(int32_t start, int32_t limit, int32_t unitIndex,
88 int32_t length, UErrorCode &errorCode);
91 virtual int32_t getElementStringLength(int32_t i) const = 0;
93 virtual UChar getElementUnit(int32_t i, int32_t unitIndex) const = 0;
95 virtual int32_t getElementValue(int32_t i) const = 0;
[all …]
Ducharstriebuilder.h62 UCharsTrieBuilder &add(const UnicodeString &s, int32_t value, UErrorCode &errorCode);
124 virtual int32_t getElementStringLength(int32_t i) const;
125 virtual UChar getElementUnit(int32_t i, int32_t unitIndex) const;
126 virtual int32_t getElementValue(int32_t i) const;
128 virtual int32_t getLimitOfLinearMatch(int32_t first, int32_t last, int32_t unitIndex) const;
130 virtual int32_t countElementUnits(int32_t start, int32_t limit, int32_t unitIndex) const;
131 virtual int32_t skipElementsBySomeUnits(int32_t i, int32_t unitIndex, int32_t count) const;
132 virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, UChar unit) const;
136 …virtual int32_t getMaxBranchLinearSubNodeLength() const { return UCharsTrie::kMaxBranchLinearSubNo… in getMaxBranchLinearSubNodeLength()
137 virtual int32_t getMinLinearMatch() const { return UCharsTrie::kMinLinearMatch; } in getMinLinearMatch()
[all …]
Dbytestriebuilder.h63 BytesTrieBuilder &add(const StringPiece &s, int32_t value, UErrorCode &errorCode);
117 virtual int32_t getElementStringLength(int32_t i) const;
118 virtual UChar getElementUnit(int32_t i, int32_t byteIndex) const;
119 virtual int32_t getElementValue(int32_t i) const;
121 virtual int32_t getLimitOfLinearMatch(int32_t first, int32_t last, int32_t byteIndex) const;
123 virtual int32_t countElementUnits(int32_t start, int32_t limit, int32_t byteIndex) const;
124 virtual int32_t skipElementsBySomeUnits(int32_t i, int32_t byteIndex, int32_t count) const;
125 virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t byteIndex, UChar byte) const;
129 …virtual int32_t getMaxBranchLinearSubNodeLength() const { return BytesTrie::kMaxBranchLinearSubNod… in getMaxBranchLinearSubNodeLength()
130 virtual int32_t getMinLinearMatch() const { return BytesTrie::kMinLinearMatch; } in getMinLinearMatch()
[all …]
Dustring.h85 U_STABLE int32_t U_EXPORT2
102 U_STABLE int32_t U_EXPORT2
103 u_countChar32(const UChar *s, int32_t length);
124 u_strHasMoreChar32Than(const UChar *s, int32_t length, int32_t number);
157 int32_t n);
204 u_strFindFirst(const UChar *s, int32_t length, const UChar *substring, int32_t subLength);
291 u_strFindLast(const UChar *s, int32_t length, const UChar *substring, int32_t subLength);
361 U_STABLE int32_t U_EXPORT2
377 U_STABLE int32_t U_EXPORT2
420 U_STABLE int32_t U_EXPORT2
[all …]
Dmessagepattern.h528 int32_t hashCode() const;
578 static int32_t validateArgumentName(const UnicodeString &name);
600 int32_t countParts() const { in countParts()
610 const Part &getPart(int32_t i) const { in getPart()
621 UMessagePatternPartType getPartType(int32_t i) const { in getPartType()
632 int32_t getPatternIndex(int32_t partIndex) const { in getPatternIndex()
672 double getPluralOffset(int32_t pluralStart) const;
682 int32_t getLimitPartIndex(int32_t start) const { in getLimitPartIndex()
683 int32_t limit=getPart(start).limitPartIndex; in getLimitPartIndex()
719 int32_t getIndex() const { in getIndex()
[all …]
Duidna.h174 int32_t reservedI2; /**< Reserved field, do not use. @internal */
175 int32_t reservedI3; /**< Reserved field, do not use. @internal */
211 U_DRAFT int32_t U_EXPORT2
213 const UChar *label, int32_t length,
214 UChar *dest, int32_t capacity,
238 U_DRAFT int32_t U_EXPORT2
240 const UChar *label, int32_t length,
241 UChar *dest, int32_t capacity,
267 U_DRAFT int32_t U_EXPORT2
269 const UChar *name, int32_t length,
[all …]
Duloc.h404 U_STABLE int32_t U_EXPORT2
407 int32_t languageCapacity,
422 U_STABLE int32_t U_EXPORT2
425 int32_t scriptCapacity,
440 U_STABLE int32_t U_EXPORT2
443 int32_t countryCapacity,
458 U_STABLE int32_t U_EXPORT2
461 int32_t variantCapacity,
481 U_STABLE int32_t U_EXPORT2
484 int32_t nameCapacity,
[all …]
Dbytestrie.h112 int32_t remainingMatchLength;
163 inline UStringTrieResult first(int32_t inByte) { in first()
178 UStringTrieResult next(int32_t inByte);
195 UStringTrieResult next(const char *s, int32_t length);
206 inline int32_t getValue() const { in getValue()
208 int32_t leadByte=*pos++; in getValue()
222 inline UBool hasUniqueValue(int32_t &uniqueValue) const { in hasUniqueValue()
236 int32_t getNextBytes(ByteSink &out) const;
255 Iterator(const void *trieBytes, int32_t maxStringLength, UErrorCode &errorCode);
268 Iterator(const BytesTrie &trie, int32_t maxStringLength, UErrorCode &errorCode);
[all …]
/external/icu4c/i18n/unicode/
Dsimpletz.h123 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID);
160 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID,
162 int8_t savingsStartDayOfWeek, int32_t savingsStartTime,
164 int8_t savingsEndDayOfWeek, int32_t savingsEndTime,
203 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID,
205 int8_t savingsStartDayOfWeek, int32_t savingsStartTime,
207 int8_t savingsEndDayOfWeek, int32_t savingsEndTime,
208 int32_t savingsDST, UErrorCode& status);
251 SimpleTimeZone(int32_t rawOffsetGMT, const UnicodeString& ID,
253 int8_t savingsStartDayOfWeek, int32_t savingsStartTime,
[all …]
Dgregocal.h242 GregorianCalendar(int32_t year, int32_t month, int32_t date, UErrorCode& success);
258 …GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, UErrorC…
275 …GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t
340 UBool isLeapYear(int32_t year) const;
362 virtual void roll(EDateFields field, int32_t amount, UErrorCode& status);
375 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode& status);
384 int32_t getActualMinimum(EDateFields field) const;
394 int32_t getActualMinimum(EDateFields field, UErrorCode& status) const;
404 int32_t getActualMinimum(UCalendarDateFields field, UErrorCode &status) const;
415 int32_t getActualMaximum(EDateFields field) const;
[all …]
Dcalendar.h49 typedef int32_t UFieldResolutionTable[12][8];
366 static const Locale* U_EXPORT2 getAvailableLocales(int32_t& count);
522 virtual void add(EDateFields field, int32_t amount, UErrorCode& status);
541 virtual void add(UCalendarDateFields field, int32_t amount, UErrorCode& status);
615 virtual void roll(EDateFields field, int32_t amount, UErrorCode& status);
639 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode& status);
696 virtual int32_t fieldDifference(UDate when, EDateFields field, UErrorCode& status);
753 virtual int32_t fieldDifference(UDate when, UCalendarDateFields field, UErrorCode& status);
889 virtual int32_t getMinimum(EDateFields field) const;
899 virtual int32_t getMinimum(UCalendarDateFields field) const;
[all …]
Dtzrule.h79 int32_t getRawOffset(void) const;
87 int32_t getDSTSavings(void) const;
110 …virtual UBool getFirstStart(int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) const = …
123 …virtual UBool getFinalStart(int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) const = …
139 virtual UBool getNextStart(UDate base, int32_t prevRawOffset, int32_t prevDSTSavings,
156 virtual UBool getPreviousStart(UDate base, int32_t prevRawOffset, int32_t prevDSTSavings,
170 TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings);
188 int32_t fRawOffset; // UTC offset of the standard time in milliseconds
189 int32_t fDSTSavings; // DST saving amount in milliseconds
209 InitialTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings);
[all …]
Ddtfmtsym.h187 const UnicodeString* getEras(int32_t& count) const;
195 void setEras(const UnicodeString* eras, int32_t count);
204 const UnicodeString* getEraNames(int32_t& count) const;
212 void setEraNames(const UnicodeString* eraNames, int32_t count);
221 const UnicodeString* getNarrowEras(int32_t& count) const;
229 void setNarrowEras(const UnicodeString* narrowEras, int32_t count);
237 const UnicodeString* getMonths(int32_t& count) const;
246 void setMonths(const UnicodeString* months, int32_t count);
255 const UnicodeString* getShortMonths(int32_t& count) const;
263 void setShortMonths(const UnicodeString* shortMonths, int32_t count);
[all …]
/external/icu4c/test/perf/normperf/
Dnormperf.h28 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t opti…
29 typedef int32_t (*QuickCheckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t o…
34 int32_t numLines;
37 int32_t retVal;
40 int32_t srcLen;
42 int32_t options;
48 for(int32_t i = 0; i< numLines; i++){ in call()
52 for(int32_t i = 0; i< numLines; i++){ in call()
68 int32_t totalChars=0; in getOperationsPerIteration()
69 for(int32_t i =0; i< numLines; i++){ in getOperationsPerIteration()
[all …]
/external/icu4c/i18n/
Dgregoimp.h39 static int32_t floorDivide(int32_t numerator, int32_t denominator);
67 static int32_t floorDivide(double numerator, int32_t denominator,
68 int32_t& remainder);
142 static inline UBool isLeapYear(int32_t year);
150 static inline int8_t monthLength(int32_t year, int32_t month);
168 static double fieldsToDay(int32_t year, int32_t month, int32_t dom);
180 static void dayToFields(double day, int32_t& year, int32_t& month,
181 int32_t& dom, int32_t& dow, int32_t& doy);
192 static inline void dayToFields(double day, int32_t& year, int32_t& month,
193 int32_t& dom, int32_t& dow);
[all …]
Dchnsecal.h141 virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const;
142 virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
143 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
144 virtual int32_t handleGetExtendedYear();
145 virtual void handleComputeFields(int32_t julianDay, UErrorCode &status);
151 virtual void add(UCalendarDateFields field, int32_t amount, UErrorCode &status);
152 virtual void add(EDateFields field, int32_t amount, UErrorCode &status);
153 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode &status);
154 virtual void roll(EDateFields field, int32_t amount, UErrorCode &status);
167 virtual int32_t winterSolstice(int32_t gyear) const;
[all …]
Dcsrsbcs.cpp20 NGramParser::NGramParser(const int32_t *theNgramList, const uint8_t *theCharMap) in NGramParser()
33 int32_t NGramParser::search(const int32_t *table, int32_t value) in search()
35 int32_t index = 0; in search()
72 void NGramParser::lookup(int32_t thisNgram) in lookup()
82 void NGramParser::addByte(int32_t b) in addByte()
88 int32_t NGramParser::nextByte(InputText *det) in nextByte()
97 int32_t NGramParser::parse(InputText *det) in parse()
99 int32_t b; in parse()
130 return (int32_t) (rawPercent * 300.0); in parse()
144 int32_t CharsetRecog_sbcs::match_sbcs(InputText *det, const int32_t ngrams[], const uint8_t byteMa… in match_sbcs()
[all …]
/external/icu4c/common/
Duvectr32.h61 int32_t count;
63 int32_t capacity;
65 int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow.
67 int32_t* elements;
72 UVector32(int32_t initialCapacity, UErrorCode &status);
98 void addElement(int32_t elem, UErrorCode &status);
100 void setElementAt(int32_t elem, int32_t index);
102 void insertElementAt(int32_t elem, int32_t index, UErrorCode &status);
104 int32_t elementAti(int32_t index) const;
108 int32_t lastElementi(void) const;
[all …]
Dunistr.cpp60 int32_t len,
82 us_arrayCopy(const UChar *src, int32_t srcStart, in us_arrayCopy()
83 UChar *dst, int32_t dstStart, int32_t count) in us_arrayCopy()
93 UnicodeString_charAt(int32_t offset, void *context) { in UnicodeString_charAt()
122 { umtx_atomic_inc((int32_t *)fUnion.fFields.fArray - 1);} in addRef()
124 int32_t
126 { return umtx_atomic_dec((int32_t *)fUnion.fFields.fArray - 1);} in removeRef()
128 int32_t
134 int32_t count = *((int32_t *)fUnion.fFields.fArray - 1); in refCount()
142 uprv_free((int32_t *)fUnion.fFields.fArray - 1); in releaseArray()
[all …]
/external/webkit/Source/JavaScriptCore/icu/unicode/
Dustring.h80 U_STABLE int32_t U_EXPORT2
96 U_STABLE int32_t U_EXPORT2
97 u_countChar32(const UChar *s, int32_t length);
118 u_strHasMoreChar32Than(const UChar *s, int32_t length, int32_t number);
151 int32_t n);
198 u_strFindFirst(const UChar *s, int32_t length, const UChar *substring, int32_t subLength);
285 u_strFindLast(const UChar *s, int32_t length, const UChar *substring, int32_t subLength);
355 U_STABLE int32_t U_EXPORT2
371 U_STABLE int32_t U_EXPORT2
414 U_STABLE int32_t U_EXPORT2
[all …]
/external/webkit/Source/JavaScriptGlue/icu/unicode/
Dustring.h80 U_STABLE int32_t U_EXPORT2
96 U_STABLE int32_t U_EXPORT2
97 u_countChar32(const UChar *s, int32_t length);
118 u_strHasMoreChar32Than(const UChar *s, int32_t length, int32_t number);
151 int32_t n);
198 u_strFindFirst(const UChar *s, int32_t length, const UChar *substring, int32_t subLength);
285 u_strFindLast(const UChar *s, int32_t length, const UChar *substring, int32_t subLength);
355 U_STABLE int32_t U_EXPORT2
371 U_STABLE int32_t U_EXPORT2
414 U_STABLE int32_t U_EXPORT2
[all …]
/external/webkit/Source/WebKit/mac/icu/unicode/
Dustring.h80 U_STABLE int32_t U_EXPORT2
96 U_STABLE int32_t U_EXPORT2
97 u_countChar32(const UChar *s, int32_t length);
118 u_strHasMoreChar32Than(const UChar *s, int32_t length, int32_t number);
151 int32_t n);
198 u_strFindFirst(const UChar *s, int32_t length, const UChar *substring, int32_t subLength);
285 u_strFindLast(const UChar *s, int32_t length, const UChar *substring, int32_t subLength);
355 U_STABLE int32_t U_EXPORT2
371 U_STABLE int32_t U_EXPORT2
414 U_STABLE int32_t U_EXPORT2
[all …]
/external/webkit/Source/WebCore/icu/unicode/
Dustring.h80 U_STABLE int32_t U_EXPORT2
96 U_STABLE int32_t U_EXPORT2
97 u_countChar32(const UChar *s, int32_t length);
118 u_strHasMoreChar32Than(const UChar *s, int32_t length, int32_t number);
151 int32_t n);
198 u_strFindFirst(const UChar *s, int32_t length, const UChar *substring, int32_t subLength);
285 u_strFindLast(const UChar *s, int32_t length, const UChar *substring, int32_t subLength);
355 U_STABLE int32_t U_EXPORT2
371 U_STABLE int32_t U_EXPORT2
414 U_STABLE int32_t U_EXPORT2
[all …]
/external/icu4c/test/cintltst/
Dccaltst.h58 static void testZones(int32_t, int32_t, int32_t, int32_t, int32_t, int32_t);
72 static void checkDate(UCalendar* c, int32_t y, int32_t m, int32_t d);
74 static void checkDateTime(UCalendar* c, int32_t y, int32_t m, int32_t d,
75 int32_t hr, int32_t min, int32_t sec, int32_t ms,
81 … verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day…
83 … verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day,
84int32_t hour, int32_t min, int32_t sec, int32_t am_pm);

12345678910>>...80