Home
last modified time | relevance | path

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

123

/external/syslinux/com32/cmenu/libmenu/
Dcmenu.h107 typedef unsigned char uchar; typedef
119 uchar submenunum; // For submenu's
120 uchar checked; // For check boxes
121 uchar radiomenunum; // Item mapping to a radio menu
163 uchar shortcut; // one of [A-Za-z0-9] shortcut for this menu item
164 uchar index; // Index within the menu array
165 uchar parindex; // Index of the menu in which this item appears.
176 uchar numitems; // how many items do we actually have
177 uchar menuwidth;
178 uchar row, col; // Position where this menu should be displayed
[all …]
Dmenu.c84 int find_shortcut(pt_menu menu, uchar shortcut, int index) in find_shortcut()
119 uchar tpos; in reset_ui()
139 void printmenuitem(const char *str, uchar * attr) in printmenuitem()
171 static void print_line(pt_menu menu, int curr, uchar top, uchar left, in print_line()
178 uchar *attr; // Attribute in print_line()
277 static void printmenu(pt_menu menu, int curr, uchar top, uchar left, uchar first, bool radio) in printmenu()
336 void cleanupmenu(pt_menu menu, uchar top, uchar left, int numitems) in cleanupmenu()
346 static pt_menuitem getmenuoption(pt_menu menu, uchar top, uchar left, uchar startopt, bool radio) in getmenuoption()
352 uchar numitems; in getmenuoption()
511 pt_menuitem runmenusystem(uchar top, uchar left, pt_menu cmenu, uchar startopt, in runmenusystem()
[all …]
/external/v8/src/
Dunicode.h18 typedef unsigned int uchar; typedef
31 inline bool get(uchar c);
35 bool CalculateValue(uchar c);
40 inline CacheEntry(uchar code_point, bool value) in CacheEntry()
44 uchar code_point() const { return CodePointField::decode(bit_field_); } in code_point()
48 class CodePointField : public v8::internal::BitField<uchar, 0, 21> {};
67 inline int get(uchar c, uchar n, uchar* result);
70 int CalculateValue(uchar c, uchar n, uchar* result);
73 inline CacheEntry(uchar code_point, signed offset) in CacheEntry()
76 uchar code_point_;
[all …]
Dunicode-inl.h14 template <class T, int s> bool Predicate<T, s>::get(uchar code_point) { in get()
21 uchar code_point) { in CalculateValue()
27 template <class T, int s> int Mapping<T, s>::get(uchar c, uchar n, in get()
28 uchar* result) { in get()
42 template <class T, int s> int Mapping<T, s>::CalculateValue(uchar c, uchar n, in CalculateValue()
43 uchar* result) { in CalculateValue()
76 uchar c, in Encode()
113 uchar Utf8::ValueOf(const byte* bytes, size_t length, size_t* cursor) { in ValueOf()
124 unsigned Utf8::Length(uchar c, int previous) { in Length()
140 bool Utf8::IsValidCharacter(uchar c) { in IsValidCharacter()
Dunicode.cc16 static const uchar kSentinel = static_cast<uchar>(-1);
30 static inline uchar TableGet(const int32_t* table, int index) { in TableGet()
35 static inline uchar GetEntry(int32_t entry) { in GetEntry()
55 static bool LookupPredicate(const int32_t* table, uint16_t size, uchar chr) { in LookupPredicate()
62 uchar current_value = GetEntry(TableGet<kEntryDist>(table, mid)); in LookupPredicate()
80 uchar entry = GetEntry(field); in LookupPredicate()
87 static const uchar kEndOfEncoding = kSentinel;
88 uchar chars[kW];
107 uchar chr, in LookupMapping()
108 uchar next, in LookupMapping()
[all …]
Dunicode-cache-inl.h14 bool UnicodeCache::IsIdentifierStart(unibrow::uchar c) { in IsIdentifierStart()
19 bool UnicodeCache::IsIdentifierPart(unibrow::uchar c) { in IsIdentifierPart()
24 bool UnicodeCache::IsLineTerminator(unibrow::uchar c) { in IsLineTerminator()
29 bool UnicodeCache::IsLineTerminatorSequence(unibrow::uchar c, in IsLineTerminatorSequence()
30 unibrow::uchar next) { in IsLineTerminatorSequence()
37 bool UnicodeCache::IsWhiteSpace(unibrow::uchar c) { in IsWhiteSpace()
42 bool UnicodeCache::IsWhiteSpaceOrLineTerminator(unibrow::uchar c) { in IsWhiteSpaceOrLineTerminator()
Dunicode-cache.h24 inline bool IsIdentifierStart(unibrow::uchar c);
25 inline bool IsIdentifierPart(unibrow::uchar c);
26 inline bool IsLineTerminator(unibrow::uchar c);
27 inline bool IsLineTerminatorSequence(unibrow::uchar c, unibrow::uchar next);
29 inline bool IsWhiteSpace(unibrow::uchar c);
30 inline bool IsWhiteSpaceOrLineTerminator(unibrow::uchar c);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DBidiFmwk.java194 char uchar; in buildPseudoTables() local
243 for (i = 0, uchar = 0x0030; i < 6; i++, uchar++) { in buildPseudoTables()
245 pseudoToUChar[c] = uchar; in buildPseudoTables()
246 UCharToPseudo[uchar & 0x00ff] = c; in buildPseudoTables()
249 for (i = 6, uchar = 0x0666; i < 10; i++, uchar++) { in buildPseudoTables()
251 pseudoToUChar[c] = uchar; in buildPseudoTables()
252 UCharToPseud2[uchar & 0x00ff] = c; in buildPseudoTables()
255 for (i = 10, uchar = 0x0631; i < 16; i++, uchar++) { in buildPseudoTables()
257 pseudoToUChar[c] = uchar; in buildPseudoTables()
258 UCharToPseud2[uchar & 0x00ff] = c; in buildPseudoTables()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DBidiFmwk.java195 char uchar; in buildPseudoTables() local
244 for (i = 0, uchar = 0x0030; i < 6; i++, uchar++) { in buildPseudoTables()
246 pseudoToUChar[c] = uchar; in buildPseudoTables()
247 UCharToPseudo[uchar & 0x00ff] = c; in buildPseudoTables()
250 for (i = 6, uchar = 0x0666; i < 10; i++, uchar++) { in buildPseudoTables()
252 pseudoToUChar[c] = uchar; in buildPseudoTables()
253 UCharToPseud2[uchar & 0x00ff] = c; in buildPseudoTables()
256 for (i = 10, uchar = 0x0631; i < 16; i++, uchar++) { in buildPseudoTables()
258 pseudoToUChar[c] = uchar; in buildPseudoTables()
259 UCharToPseud2[uchar & 0x00ff] = c; in buildPseudoTables()
[all …]
/external/icu/icu4c/source/common/
Ducharstrie.cpp62 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { in branchNext() argument
71 if(uchar<*pos++) { in branchNext()
83 if(uchar==*pos++) { in branchNext()
113 if(uchar==*pos++) { in branchNext()
124 UCharsTrie::nextImpl(const UChar *pos, int32_t uchar) { in nextImpl() argument
128 return branchNext(pos, node, uchar); in nextImpl()
132 if(uchar==*pos++) { in nextImpl()
155 UCharsTrie::next(int32_t uchar) { in next() argument
163 if(uchar==*pos++) { in next()
174 return nextImpl(pos, uchar); in next()
[all …]
Dubidiln.c946 UChar uchar=pBiDi->text[logicalIndex]; in ubidi_getVisualIndex() local
948 if(IS_BIDI_CONTROL_CHAR(uchar)) { in ubidi_getVisualIndex()
974 uchar=pBiDi->text[j]; in ubidi_getVisualIndex()
975 if(IS_BIDI_CONTROL_CHAR(uchar)) { in ubidi_getVisualIndex()
1041 UChar uchar; in ubidi_getLogicalIndex() local
1064 uchar=pBiDi->text[k]; in ubidi_getLogicalIndex()
1065 if(IS_BIDI_CONTROL_CHAR(uchar)) { in ubidi_getLogicalIndex()
1176 UChar uchar; in ubidi_getLogicalMap() local
1199 uchar=pBiDi->text[k]; in ubidi_getLogicalMap()
1200 if(IS_BIDI_CONTROL_CHAR(uchar)) { in ubidi_getLogicalMap()
[all …]
/external/icu/icu4c/source/common/unicode/
Dutf_old.h235 #define UTF_IS_SURROGATE(uchar) (((uchar)&0xfffff800)==0xd800) argument
283 #define UTF8_IS_SINGLE(uchar) (((uchar)&0x80)==0) argument
285 #define UTF8_IS_LEAD(uchar) ((uint8_t)((uchar)-0xc0)<0x3e) argument
287 #define UTF8_IS_TRAIL(uchar) (((uchar)&0xc0)==0x80) argument
503 #define UTF_IS_FIRST_SURROGATE(uchar) (((uchar)&0xfffffc00)==0xd800) argument
506 #define UTF_IS_SECOND_SURROGATE(uchar) (((uchar)&0xfffffc00)==0xdc00) argument
531 #define UTF16_IS_SINGLE(uchar) !UTF_IS_SURROGATE(uchar) argument
534 #define UTF16_IS_LEAD(uchar) UTF_IS_FIRST_SURROGATE(uchar) argument
537 #define UTF16_IS_TRAIL(uchar) UTF_IS_SECOND_SURROGATE(uchar) argument
778 #define UTF32_IS_SINGLE(uchar) 1 argument
[all …]
Ducharstrie.h164 inline UStringTrieResult first(int32_t uchar) { in first() argument
166 return nextImpl(uchars_, uchar); in first()
185 UStringTrieResult next(int32_t uchar);
464 UStringTrieResult branchNext(const UChar *pos, int32_t length, int32_t uchar);
467 UStringTrieResult nextImpl(const UChar *pos, int32_t uchar);
/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/skia/third_party/lua/src/
Dlstrlib.c33 #define uchar(c) ((unsigned char)(c)) macro
86 p[i] = tolower(uchar(s[i])); in str_lower()
99 p[i] = toupper(uchar(s[i])); in str_upper()
147 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
159 luaL_argcheck(L, uchar(c) == c, i, "value out of range"); in str_char()
160 p[i - 1] = uchar(c); in str_char()
295 if (match_class(c, uchar(*p))) in matchbracketclass()
300 if (uchar(*(p-2)) <= c && c <= uchar(*p)) in matchbracketclass()
303 else if (uchar(*p) == c) return sig; in matchbracketclass()
314 int c = uchar(*s); in singlematch()
[all …]
/external/syslinux/com32/lua/src/
Dlstrlib.c33 #define uchar(c) ((unsigned char)(c)) macro
86 p[i] = tolower(uchar(s[i])); in str_lower()
99 p[i] = toupper(uchar(s[i])); in str_upper()
147 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
159 luaL_argcheck(L, uchar(c) == c, i, "value out of range"); in str_char()
160 p[i - 1] = uchar(c); in str_char()
295 if (match_class(c, uchar(*p))) in matchbracketclass()
300 if (uchar(*(p-2)) <= c && c <= uchar(*p)) in matchbracketclass()
303 else if (uchar(*p) == c) return sig; in matchbracketclass()
314 int c = uchar(*s); in singlematch()
[all …]
/external/python/cpython2/Objects/
Dobmalloc.c264 #undef uchar
265 #define uchar unsigned char /* assuming == 8 bits */ macro
277 typedef uchar block;
454 #define PTA(x) ((poolp )((uchar *)&(usedpools[2*(x)]) - 2*sizeof(block *)))
1367 const uchar *q = (const uchar *)p; in read_size_t()
1382 uchar *q = (uchar *)p + SST - 1; in write_size_t()
1386 *q = (uchar)(n & 0xff); in write_size_t()
1484 uchar *p; /* base address of malloc'ed block */ in _PyObject_DebugMallocApi()
1485 uchar *tail; /* p + 2*SST + nbytes == pointer to tail pad bytes */ in _PyObject_DebugMallocApi()
1494 p = (uchar *)PyObject_Malloc(total); in _PyObject_DebugMallocApi()
[all …]
/external/sfntly/cpp/src/test/
Dcmap_test.cc145 for (int32_t uchar = GetParam().low_char(); in CompareCMaps() local
146 uchar <= GetParam().high_char(); ++uchar) { in CompareCMaps()
147 int32_t c1 = uchar; in CompareCMaps()
149 c1 = TestUtils::EncodeOneChar(encoder1_, (int16_t)uchar); in CompareCMaps()
150 int32_t c2 = uchar; in CompareCMaps()
152 c2 = TestUtils::EncodeOneChar(encoder2_, (int16_t)uchar); in CompareCMaps()
Dtest_utils.cc41 int32_t TestUtils::EncodeOneChar(UConverter* encoder, int16_t uchar) { in EncodeOneChar() argument
46 source[0] = (UChar)uchar; in EncodeOneChar()
56 uchar, u_errorName(status)); in EncodeOneChar()
/external/webrtc/webrtc/modules/video_processing/test/
DwriteYUV420file.m13 fwrite(fid,uint8(Y(:,:,k).'), 'uchar');
16 fwrite(fid,uint8(U(:,:,k).'), 'uchar');
19 fwrite(fid,uint8(V(:,:,k).'), 'uchar');
/external/clang/test/SemaCXX/
Dconstant-expression-cxx1y.cpp104 typedef unsigned char uchar; in htonl() typedef
105 uchar arr[4] = { uchar(x >> 24), uchar(x >> 16), uchar(x >> 8), uchar(x) }; in htonl()
113 typedef unsigned char uchar; in maybe_htonl() typedef
114 uchar arr[4] = { uchar(x >> 24), uchar(x >> 16), uchar(x >> 8), uchar(x) }; in maybe_htonl()
/external/spirv-llvm/lib/SPIRV/runtime/OpenCL/inc/
Dspirv_convert.h1 __attribute__((overloadable)) uchar __spirv_ConvertFToU_Ruchar(half);
2 __attribute__((overloadable)) uchar __spirv_ConvertFToU_Ruchar_rtz(half);
3 __attribute__((overloadable)) uchar __spirv_ConvertFToU_Ruchar_rte(half);
4 __attribute__((overloadable)) uchar __spirv_ConvertFToU_Ruchar_rtp(half);
5 __attribute__((overloadable)) uchar __spirv_ConvertFToU_Ruchar_rtn(half);
6 __attribute__((overloadable)) uchar __spirv_ConvertFToU_Ruchar_sat(half);
7 __attribute__((overloadable)) uchar __spirv_ConvertFToU_Ruchar_sat_rtz(half);
8 __attribute__((overloadable)) uchar __spirv_ConvertFToU_Ruchar_sat_rte(half);
9 __attribute__((overloadable)) uchar __spirv_ConvertFToU_Ruchar_sat_rtp(half);
10 __attribute__((overloadable)) uchar __spirv_ConvertFToU_Ruchar_sat_rtn(half);
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiLine.java871 char uchar = bidi.text[logicalIndex]; in getVisualIndex() local
873 if (Bidi.IsBidiControlChar(uchar)) { in getVisualIndex()
899 uchar = bidi.text[j]; in getVisualIndex()
900 if (Bidi.IsBidiControlChar(uchar)) { in getVisualIndex()
949 char uchar; in getLogicalIndex() local
971 uchar = bidi.text[k]; in getLogicalIndex()
972 if (Bidi.IsBidiControlChar(uchar)) { in getLogicalIndex()
1073 char uchar; in getLogicalMap() local
1096 uchar = bidi.text[k]; in getLogicalMap()
1097 if (Bidi.IsBidiControlChar(uchar)) { in getLogicalMap()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiLine.java870 char uchar = bidi.text[logicalIndex]; in getVisualIndex() local
872 if (Bidi.IsBidiControlChar(uchar)) { in getVisualIndex()
898 uchar = bidi.text[j]; in getVisualIndex()
899 if (Bidi.IsBidiControlChar(uchar)) { in getVisualIndex()
948 char uchar; in getLogicalIndex() local
970 uchar = bidi.text[k]; in getLogicalIndex()
971 if (Bidi.IsBidiControlChar(uchar)) { in getLogicalIndex()
1072 char uchar; in getLogicalMap() local
1095 uchar = bidi.text[k]; in getLogicalMap()
1096 if (Bidi.IsBidiControlChar(uchar)) { in getLogicalMap()
[all …]
/external/spirv-llvm/test/SPIRV/
Dmulti_md.ll65 !3 = !{!"kernel_arg_type", !"uchar", !"uint"}
66 !4 = !{!"kernel_arg_base_type", !"uchar", !"uint"}
71 !9 = !{!"kernel_arg_type", !"uchar*", !"uint*"}
72 !10 = !{!"kernel_arg_base_type", !"uchar*", !"uint*"}

123