Home
last modified time | relevance | path

Searched refs:uchar (Results 1 – 25 of 66) sorted by relevance

123

/external/v8/src/
Dunicode.h40 typedef unsigned int uchar; typedef
53 inline bool get(uchar c);
56 bool CalculateValue(uchar c);
59 inline CacheEntry(uchar code_point, bool value) in CacheEntry()
62 uchar code_point_ : 21;
78 inline int get(uchar c, uchar n, uchar* result);
81 int CalculateValue(uchar c, uchar n, uchar* result);
84 inline CacheEntry(uchar code_point, signed offset) in CacheEntry()
87 uchar code_point_;
100 static uchar kMaxCodePoint;
[all …]
Dunicode-inl.h35 template <class T, int s> bool Predicate<T, s>::get(uchar code_point) { in get()
42 uchar code_point) { in CalculateValue()
48 template <class T, int s> int Mapping<T, s>::get(uchar c, uchar n, in get()
49 uchar* result) { in get()
63 template <class T, int s> int Mapping<T, s>::CalculateValue(uchar c, uchar n, in CalculateValue()
64 uchar* result) { in CalculateValue()
81 unsigned Utf8::Encode(char* str, uchar c) { in Encode()
105 uchar Utf8::ValueOf(const byte* bytes, unsigned length, unsigned* cursor) { in ValueOf()
116 unsigned Utf8::Length(uchar c) { in Length()
128 uchar CharacterStream::GetNext() { in GetNext()
[all …]
Dunicode.cc50 static inline uchar TableGet(const int32_t* table, int index) { in TableGet()
54 static inline uchar GetEntry(int32_t entry) { in GetEntry()
72 static bool LookupPredicate(const int32_t* table, uint16_t size, uchar chr) { in LookupPredicate()
79 uchar current_value = GetEntry(TableGet<kEntryDist>(table, mid)); in LookupPredicate()
97 uchar entry = GetEntry(field); in LookupPredicate()
106 uchar chars[kW];
121 uchar chr, in LookupMapping()
122 uchar next, in LookupMapping()
123 uchar* result, in LookupMapping()
131 uchar current_value = GetEntry(TableGet<kEntryDist>(table, mid)); in LookupMapping()
[all …]
Dregexp-macro-assembler.cc227 unibrow::uchar c1 = substring1[i]; in CaseInsensitiveCompareUC16()
228 unibrow::uchar c2 = substring2[i]; in CaseInsensitiveCompareUC16()
230 unibrow::uchar s1[1] = { c1 }; in CaseInsensitiveCompareUC16()
233 unibrow::uchar s2[1] = { c2 }; in CaseInsensitiveCompareUC16()
Dinterpreter-irregexp.cc51 unibrow::uchar old_char = subject[from++]; in BackRefMatchesNoCase()
52 unibrow::uchar new_char = subject[current++]; in BackRefMatchesNoCase()
54 unibrow::uchar old_string[1] = { old_char }; in BackRefMatchesNoCase()
55 unibrow::uchar new_string[1] = { new_char }; in BackRefMatchesNoCase()
/external/icu4c/common/unicode/
Dutf_old.h237 #define UTF_IS_SURROGATE(uchar) (((uchar)&0xfffff800)==0xd800) argument
285 #define UTF8_IS_SINGLE(uchar) (((uchar)&0x80)==0) argument
287 #define UTF8_IS_LEAD(uchar) ((uint8_t)((uchar)-0xc0)<0x3e) argument
289 #define UTF8_IS_TRAIL(uchar) (((uchar)&0xc0)==0x80) argument
505 #define UTF_IS_FIRST_SURROGATE(uchar) (((uchar)&0xfffffc00)==0xd800) argument
508 #define UTF_IS_SECOND_SURROGATE(uchar) (((uchar)&0xfffffc00)==0xdc00) argument
533 #define UTF16_IS_SINGLE(uchar) !UTF_IS_SURROGATE(uchar) argument
536 #define UTF16_IS_LEAD(uchar) UTF_IS_FIRST_SURROGATE(uchar) argument
539 #define UTF16_IS_TRAIL(uchar) UTF_IS_SECOND_SURROGATE(uchar) argument
780 #define UTF32_IS_SINGLE(uchar) 1 argument
[all …]
/external/chromium/third_party/icu/public/common/unicode/
Dutf_old.h237 #define UTF_IS_SURROGATE(uchar) (((uchar)&0xfffff800)==0xd800) argument
285 #define UTF8_IS_SINGLE(uchar) (((uchar)&0x80)==0) argument
287 #define UTF8_IS_LEAD(uchar) ((uint8_t)((uchar)-0xc0)<0x3e) argument
289 #define UTF8_IS_TRAIL(uchar) (((uchar)&0xc0)==0x80) argument
505 #define UTF_IS_FIRST_SURROGATE(uchar) (((uchar)&0xfffffc00)==0xd800) argument
508 #define UTF_IS_SECOND_SURROGATE(uchar) (((uchar)&0xfffffc00)==0xdc00) argument
533 #define UTF16_IS_SINGLE(uchar) !UTF_IS_SURROGATE(uchar) argument
536 #define UTF16_IS_LEAD(uchar) UTF_IS_FIRST_SURROGATE(uchar) argument
539 #define UTF16_IS_TRAIL(uchar) UTF_IS_SECOND_SURROGATE(uchar) argument
780 #define UTF32_IS_SINGLE(uchar) 1 argument
[all …]
/external/jhead/
Dexif.c320 ((uchar *)Short)[0] = (uchar)(PutValue>>8); in Put16u()
321 ((uchar *)Short)[1] = (uchar)PutValue; in Put16u()
323 ((uchar *)Short)[0] = (uchar)PutValue; in Put16u()
324 ((uchar *)Short)[1] = (uchar)(PutValue>>8); in Put16u()
334 return (((uchar *)Short)[0] << 8) | ((uchar *)Short)[1]; in Get16u()
336 return (((uchar *)Short)[1] << 8) | ((uchar *)Short)[0]; in Get16u()
346 return ((( char *)Long)[0] << 24) | (((uchar *)Long)[1] << 16) in Get32s()
347 | (((uchar *)Long)[2] << 8 ) | (((uchar *)Long)[3] << 0 ); in Get32s()
349 return ((( char *)Long)[3] << 24) | (((uchar *)Long)[2] << 16) in Get32s()
350 | (((uchar *)Long)[1] << 8 ) | (((uchar *)Long)[0] << 0 ); in Get32s()
[all …]
Djpgfile.c36 return (((uchar *)Short)[0] << 8) | ((uchar *)Short)[1]; in Get16m()
45 static void process_COM (const uchar * Data, int length) in process_COM()
82 static void process_SOFn (const uchar * Data, int marker) in process_SOFn()
141 uchar * Data; in ReadJpegSections()
172 Data = (uchar *)malloc(itemlen); in ReadJpegSections()
181 Data[0] = (uchar)lh; in ReadJpegSections()
182 Data[1] = (uchar)ll; in ReadJpegSections()
206 Data = (uchar *)malloc(size); in ReadJpegSections()
380 uchar * ThumbnailPointer; in SaveThumbnail()
403 uchar * ThumbnailPointer; in ReplaceThumbnail()
[all …]
Dmain.c168 void copyThumbnailData(uchar* thumbnailData, int thumbnailLen) { in copyThumbnailData()
177 ExifSection->Data = (uchar *)realloc(ExifSection->Data, NewExifSize); in copyThumbnailData()
181 uchar* ThumbnailPointer = ExifSection->Data+ImageInfo.ThumbnailOffset+8; in copyThumbnailData()
189 ExifSection->Data[0] = (uchar)(NewExifSize >> 8); in copyThumbnailData()
190 ExifSection->Data[1] = (uchar)NewExifSize; in copyThumbnailData()
204 uchar* thumbnailData = NULL; in saveAttributes()
308 uchar* thumbnailPointer = ExifSection->Data + ImageInfo.ThumbnailOffset + 8; in saveAttributes()
309 thumbnailData = (uchar*)malloc(ImageInfo.ThumbnailSize); in saveAttributes()
447 uchar* thumbnailPointer = ExifSection->Data + ImageInfo.ThumbnailOffset + 8; in getThumbnail()
Djhead.h32 typedef unsigned char uchar; typedef
53 uchar * Data;
/external/quake/quake/src/QW/scitech/include/
Dmgraph.h453 #define EVT_asciiCode(m) ( (uchar) (m & EVT_ASCIIMASK) )
454 #define EVT_scanCode(m) ( (uchar) ( (m & EVT_SCANMASK) >> 8 ) )
659 uchar blue; /* Blue component of color */
660 uchar green; /* Green component of color */
661 uchar red; /* Blue component of color */
662 uchar alpha; /* Alpha or alignment byte */
672 uchar redMask,greenMask; /* Mask values for pixels */
673 uchar blueMask,rsvdMask;
704 uchar *surface; /* Pointer to bitmap surface */
715 uchar *andMask; /* Hold punch mask for icon */
[all …]
/external/quake/quake/src/WinQuake/scitech/INCLUDE/
DMGRAPH.H453 #define EVT_asciiCode(m) ( (uchar) (m & EVT_ASCIIMASK) )
454 #define EVT_scanCode(m) ( (uchar) ( (m & EVT_SCANMASK) >> 8 ) )
659 uchar blue; /* Blue component of color */
660 uchar green; /* Green component of color */
661 uchar red; /* Blue component of color */
662 uchar alpha; /* Alpha or alignment byte */
672 uchar redMask,greenMask; /* Mask values for pixels */
673 uchar blueMask,rsvdMask;
704 uchar *surface; /* Pointer to bitmap surface */
715 uchar *andMask; /* Hold punch mask for icon */
[all …]
/external/bzip2/
Dunzcrash.c37 typedef unsigned char uchar; typedef
40 uchar inbuf[M_BLOCK];
41 uchar outbuf[M_BLOCK_OUT];
42 uchar zbuf[M_BLOCK + 600 + (M_BLOCK / 100)];
68 uchar mask = 1 << bitno; in flip_bit()
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/
DSDL_QWin.cc244 uchar *fb = (uchar*)my_painter->frameBuffer(); in repaintRotation0()
245 uchar *buf = (uchar*)my_image->bits(); in repaintRotation0()
280 uchar *fb = (uchar*)my_painter->frameBuffer(); in repaintRotation3()
281 uchar *buf = (uchar*)my_image->bits(); in repaintRotation3()
304 uchar *fb = (uchar*)my_painter->frameBuffer(); in repaintRotation3()
305 uchar *buf = (uchar*)my_image->bits(); in repaintRotation3()
/external/libvpx/vp8/common/
Dboolcoder.h72 typedef unsigned char uchar; // 8 bits typedef
73 typedef const uchar cuchar;
353 uchar *Bstart, *Bend, *B;
365 bool_writer(c_spec &, uchar *Dest, size_t Len);
373 uchar *buf() const in buf()
411 void new_buffer(uchar *dest, uint Len);
Dentropy.c19 #define uchar unsigned char /* typedefs can clash */ macro
22 typedef const uchar cuchar;
/external/icu4c/common/
Dubidiln.c943 UChar uchar=pBiDi->text[logicalIndex]; in ubidi_getVisualIndex() local
945 if(IS_BIDI_CONTROL_CHAR(uchar)) { in ubidi_getVisualIndex()
971 uchar=pBiDi->text[j]; in ubidi_getVisualIndex()
972 if(IS_BIDI_CONTROL_CHAR(uchar)) { in ubidi_getVisualIndex()
1038 UChar uchar; in ubidi_getLogicalIndex() local
1061 uchar=pBiDi->text[k]; in ubidi_getLogicalIndex()
1062 if(IS_BIDI_CONTROL_CHAR(uchar)) { in ubidi_getLogicalIndex()
1173 UChar uchar; in ubidi_getLogicalMap() local
1196 uchar=pBiDi->text[k]; in ubidi_getLogicalMap()
1197 if(IS_BIDI_CONTROL_CHAR(uchar)) { in ubidi_getLogicalMap()
[all …]
/external/chromium/third_party/icu/source/common/
Dubidiln.c943 UChar uchar=pBiDi->text[logicalIndex]; in ubidi_getVisualIndex() local
945 if(IS_BIDI_CONTROL_CHAR(uchar)) { in ubidi_getVisualIndex()
971 uchar=pBiDi->text[j]; in ubidi_getVisualIndex()
972 if(IS_BIDI_CONTROL_CHAR(uchar)) { in ubidi_getVisualIndex()
1038 UChar uchar; in ubidi_getLogicalIndex() local
1061 uchar=pBiDi->text[k]; in ubidi_getLogicalIndex()
1062 if(IS_BIDI_CONTROL_CHAR(uchar)) { in ubidi_getLogicalIndex()
1173 UChar uchar; in ubidi_getLogicalMap() local
1196 uchar=pBiDi->text[k]; in ubidi_getLogicalMap()
1197 if(IS_BIDI_CONTROL_CHAR(uchar)) { in ubidi_getLogicalMap()
[all …]
/external/libvpx/vp8/common/x86/
Dboolcoder.cxx164 return (uchar) i; in operator ()()
191 uchar *p = B; in carry()
198 bool_writer::bool_writer( c_spec& s, uchar *Dest, size_t Len) in bool_writer()
239 *B++ = (uchar) (L >> 23); in raw()
269 *B++ = (uchar) (L >> 24); in flush()
/external/icu4c/test/cintltst/
Dcbiditst.c244 UChar uchar; in buildPseudoTables() local
289 for (i = 0, uchar = 0x0030; i < 6; i++, uchar++) { in buildPseudoTables()
291 pseudoToUChar[c] = uchar; in buildPseudoTables()
292 UCharToPseudo[uchar & 0x00ff] = c; in buildPseudoTables()
295 for (i = 6, uchar = 0x0666; i < 10; i++, uchar++) { in buildPseudoTables()
297 pseudoToUChar[c] = uchar; in buildPseudoTables()
298 UCharToPseud2[uchar & 0x00ff] = c; in buildPseudoTables()
301 for (i = 10, uchar = 0x0631; i < 16; i++, uchar++) { in buildPseudoTables()
303 pseudoToUChar[c] = uchar; in buildPseudoTables()
304 UCharToPseud2[uchar & 0x00ff] = c; in buildPseudoTables()
[all …]
/external/chromium/third_party/icu/source/test/cintltst/
Dcbiditst.c244 UChar uchar; in buildPseudoTables() local
289 for (i = 0, uchar = 0x0030; i < 6; i++, uchar++) { in buildPseudoTables()
291 pseudoToUChar[c] = uchar; in buildPseudoTables()
292 UCharToPseudo[uchar & 0x00ff] = c; in buildPseudoTables()
295 for (i = 6, uchar = 0x0666; i < 10; i++, uchar++) { in buildPseudoTables()
297 pseudoToUChar[c] = uchar; in buildPseudoTables()
298 UCharToPseud2[uchar & 0x00ff] = c; in buildPseudoTables()
301 for (i = 10, uchar = 0x0631; i < 16; i++, uchar++) { in buildPseudoTables()
303 pseudoToUChar[c] = uchar; in buildPseudoTables()
304 UCharToPseud2[uchar & 0x00ff] = c; in buildPseudoTables()
[all …]
/external/chromium/third_party/icu/source/data/unidata/
Dchanges.txt24 - uchar.h
87 * uchar.h & uscript.h & uprops.h & uprops.c & genprops
246 * uchar.h & uscript.h & uprops.h & uprops.c & genprops
269 - uchar.h
320 * uchar.h & uscript.h & uprops.h & uprops.c & genprops
337 - uchar.h
403 * uchar.h & uprops.h & uprops.c & genprops
430 - uchar.h
/external/icu4c/data/unidata/
Dchanges.txt33 - uchar.h
97 + preparse.pl complains with errors about block names missing from uchar.h; add them
99 * uchar.h & uscript.h & uprops.h & uprops.c & genprops
126 * uchar.c & uprops.h & uprops.c & genprops
272 - uchar.h
335 * uchar.h & uscript.h & uprops.h & uprops.c & genprops
494 * uchar.h & uscript.h & uprops.h & uprops.c & genprops
517 - uchar.h
568 * uchar.h & uscript.h & uprops.h & uprops.c & genprops
585 - uchar.h
[all …]
/external/v8/test/cctest/
Dtest-regexp.cc1377 unibrow::uchar canon[unibrow::Ecma262Canonicalize::kMaxWidth]; in canonicalize()
1393 unibrow::uchar uncanon[unibrow::Ecma262UnCanonicalize::kMaxWidth]; in TEST()
1403 unibrow::uchar upper[unibrow::ToUppercase::kMaxWidth]; in TEST()
1418 unibrow::uchar canon[unibrow::CanonicalizationRange::kMaxWidth]; in CanonRange()
1438 unibrow::uchar indirect[unibrow::Ecma262UnCanonicalize::kMaxWidth]; in TEST()
1446 unibrow::uchar direct[unibrow::Ecma262UnCanonicalize::kMaxWidth]; in TEST()
1457 unibrow::uchar first[unibrow::Ecma262UnCanonicalize::kMaxWidth]; in TEST()
1461 unibrow::uchar succ[unibrow::Ecma262UnCanonicalize::kMaxWidth]; in TEST()
1477 unibrow::uchar chars[unibrow::Ecma262UnCanonicalize::kMaxWidth]; in TEST()
1481 unibrow::uchar chars2[unibrow::Ecma262UnCanonicalize::kMaxWidth]; in TEST()

123