/bionic/libc/bionic/ |
mbrtoc32.cpp | 57 uint8_t ch; local 58 if (mbsinit(state) && (((ch = static_cast<uint8_t>(*s)) & ~0x7f) == 0)) { 61 *pc32 = ch; 63 return (ch != '\0' ? 1 : 0); 82 ch = bytes_so_far > 0 ? mbstate_get_byte(state, 0) : static_cast<uint8_t>(*s); 83 if ((ch & 0x80) == 0) { 87 } else if ((ch & 0xe0) == 0xc0) { 91 } else if ((ch & 0xf0) == 0xe0) { 95 } else if ((ch & 0xf8) == 0xf0) {
|
/external/icu/icu4c/source/extra/scrptrun/ |
scrptrun.cpp | 84 int32_t ScriptRun::getPairIndex(UChar32 ch) 89 if (ch >= pairedChars[pairedCharExtra]) { 96 if (ch >= pairedChars[index + probe]) { 101 if (pairedChars[index] != ch) { 127 UChar32 ch = high; local 138 ch = (high - 0xD800) * 0x0400 + low - 0xDC00 + 0x10000; 143 UScriptCode sc = uscript_getScript(ch, &error); 144 int32_t pairIndex = getPairIndex(ch); 193 if (ch >= 0x10000) {
|
/external/webrtc/webrtc/voice_engine/ |
voe_rtp_rtcp_impl.cc | 55 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 56 voe::Channel* channelPtr = ch.channel(); 70 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 71 voe::Channel* channelPtr = ch.channel(); 85 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 86 voe::Channel* channelPtr = ch.channel(); 117 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 118 voe::Channel* channelPtr = ch.channel(); 149 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 150 voe::Channel* channel_ptr = ch.channel() 180 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 212 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 230 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 246 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 263 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 278 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 301 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 320 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 336 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 352 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 374 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 397 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 417 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
DynamicsProcessing.java | 220 for (int ch = 0; ch < mChannelCount; ch++) { 221 updateEngineChannelByChannelIndex(ch, config.getChannelByChannelIndex(ch)); 258 for (int ch = 0; ch < mChannelCount; ch++) { 259 Channel channel = queryEngineByChannelIndex(ch); 260 config.setChannelTo(ch, channel) [all...] |
/cts/apps/CameraITS/tests/inprog/ |
test_rawstats.py | 40 for ch in range(4): 41 m = mean_image[:,:,ch].reshape(h,w,1)/1023.0 42 v = var_image[:,:,ch].reshape(h,w,1) 43 its.image.write_image(m, "%s_mean_ch%d.jpg" % (NAME,ch), True) 44 its.image.write_image(v, "%s_var_ch%d.jpg" % (NAME,ch), True)
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
XML11Char.java | 298 char ch = name.charAt(0);
local 299 if( !isXML11NameStart(ch) ) {
300 if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
303 !isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
313 ch = name.charAt(i);
314 if ( !isXML11Name(ch) ) {
315 if ( ++i < length && isXML11NameHighSurrogate(ch) ) {
318 !isXML11Name(XMLChar.supplemental(ch, ch2)) ) {
348 char ch = ncName.charAt(0);
local 349 if( !isXML11NCNameStart(ch) ) {
396 char ch = nmtoken.charAt(i); local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
XML11Char.java | 293 char ch = name.charAt(0); local 294 if( !isXML11NameStart(ch) ) { 295 if ( length > 1 && isXML11NameHighSurrogate(ch) ) { 298 !isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) { 308 ch = name.charAt(i); 309 if ( !isXML11Name(ch) ) { 310 if ( ++i < length && isXML11NameHighSurrogate(ch) ) { 313 !isXML11Name(XMLChar.supplemental(ch, ch2)) ) { 343 char ch = ncName.charAt(0); local 344 if( !isXML11NCNameStart(ch) ) { 391 char ch = nmtoken.charAt(i); local [all...] |
/external/e2fsprogs/ext2ed/ |
main.c | 270 int ch; local 273 while (!done && (ch = command_read_key())) { 274 switch (ch) { 287 if (ch > 256) 289 if (ch == '\n') break; 290 *chptr++ = ch; 291 wprintw(command_win, "%c", ch); 422 char ch,*source_ptr,*target_ptr; local 431 ch=*source_ptr++; 432 } while (! (ch>' ' && ch<='z') && ch!=0) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/ |
1-2.c | 84 pthread_t ch; variable 91 if (!pthread_equal(pthread_self(), ch)) { 137 ret = pthread_create(&ch, NULL, threaded, NULL); 144 ret = pthread_kill(ch, SIGUSR2); 151 ret = pthread_join(ch, NULL);
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/emitter/ |
Emitter.java | 940 char ch = scalar.charAt(index); local 1155 char ch; local 1218 Character ch = null; local 1314 char ch = 0; local 1377 char ch = 0; local 1429 char ch = 0; local [all...] |
/prebuilts/go/darwin-x86/test/chan/ |
sieve1.go | 15 // Send the sequence 2, 3, 4, ... to channel 'ch'. 16 func Generate(ch chan<- int) { 18 ch <- i // Send 'i' to channel 'ch'. 34 ch := make(chan int) // Create a new channel. 35 go Generate(ch) // Start Generate() as a subprocess. 37 // Note that ch is different on each iteration. 38 prime := <-ch 41 go Filter(ch, ch1, prime) 42 ch = ch [all...] |
/prebuilts/go/linux-x86/test/chan/ |
sieve1.go | 15 // Send the sequence 2, 3, 4, ... to channel 'ch'. 16 func Generate(ch chan<- int) { 18 ch <- i // Send 'i' to channel 'ch'. 34 ch := make(chan int) // Create a new channel. 35 go Generate(ch) // Start Generate() as a subprocess. 37 // Note that ch is different on each iteration. 38 prime := <-ch 41 go Filter(ch, ch1, prime) 42 ch = ch [all...] |
/external/python/cpython2/Lib/idlelib/ |
PyParse.py | 98 for ch in "({[": 99 _tran[ord(ch)] = '(' 100 for ch in ")}]": 101 _tran[ord(ch)] = ')' 102 for ch in "\"'\\\n#": 103 _tran[ord(ch)] = ch 105 del ch 236 ch = str[i] 240 if ch == 'x' [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
PyParse.py | 98 for ch in "({[": 99 _tran[ord(ch)] = '(' 100 for ch in ")}]": 101 _tran[ord(ch)] = ')' 102 for ch in "\"'\\\n#": 103 _tran[ord(ch)] = ch 105 del ch 236 ch = str[i] 240 if ch == 'x' [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
PyParse.py | 98 for ch in "({[": 99 _tran[ord(ch)] = '(' 100 for ch in ")}]": 101 _tran[ord(ch)] = ')' 102 for ch in "\"'\\\n#": 103 _tran[ord(ch)] = ch 105 del ch 236 ch = str[i] 240 if ch == 'x' [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
PyParse.py | 98 for ch in "({[": 99 _tran[ord(ch)] = '(' 100 for ch in ")}]": 101 _tran[ord(ch)] = ')' 102 for ch in "\"'\\\n#": 103 _tran[ord(ch)] = ch 105 del ch 236 ch = str[i] 240 if ch == 'x' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
PyParse.py | 98 for ch in "({[": 99 _tran[ord(ch)] = '(' 100 for ch in ")}]": 101 _tran[ord(ch)] = ')' 102 for ch in "\"'\\\n#": 103 _tran[ord(ch)] = ch 105 del ch 236 ch = str[i] 240 if ch == 'x' [all...] |
/external/python/cpython3/Include/ |
unicodeobject.h | 129 #define Py_UNICODE_ISSPACE(ch) \ 130 ((ch) < 128U ? _Py_ascii_whitespace[(ch)] : _PyUnicode_IsWhitespace(ch)) 132 #define Py_UNICODE_ISLOWER(ch) _PyUnicode_IsLowercase(ch) 133 #define Py_UNICODE_ISUPPER(ch) _PyUnicode_IsUppercase(ch) 134 #define Py_UNICODE_ISTITLE(ch) _PyUnicode_IsTitlecase(ch) 2170 Py_UCS4 ch \/* Unicode character *\/ variable 2174 Py_UCS4 ch \/* Unicode character *\/ variable 2178 Py_UCS4 ch \/* Unicode character *\/ variable 2182 Py_UCS4 ch \/* Unicode character *\/ variable 2186 Py_UCS4 ch \/* Unicode character *\/ variable 2190 const Py_UCS4 ch \/* Unicode character *\/ variable 2194 const Py_UCS4 ch \/* Unicode character *\/ variable 2198 Py_UCS4 ch \/* Unicode character *\/ variable 2202 Py_UCS4 ch \/* Unicode character *\/ variable 2206 Py_UCS4 ch \/* Unicode character *\/ variable 2230 Py_UCS4 ch \/* Unicode character *\/ variable 2234 Py_UCS4 ch \/* Unicode character *\/ variable 2238 Py_UCS4 ch \/* Unicode character *\/ variable 2242 Py_UCS4 ch \/* Unicode character *\/ variable 2246 Py_UCS4 ch \/* Unicode character *\/ variable 2250 Py_UCS4 ch \/* Unicode character *\/ variable 2254 Py_UCS4 ch \/* Unicode character *\/ variable 2258 Py_UCS4 ch \/* Unicode character *\/ variable 2262 Py_UCS4 ch \/* Unicode character *\/ variable 2266 Py_UCS4 ch \/* Unicode character *\/ variable [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
IDNA2003.java | 53 private static char toASCIILower(char ch){ 54 if(CAPITAL_A <= ch && ch <= CAPITAL_Z){ 55 return (char)(ch + LOWER_CASE_DELTA); 57 return ch; 104 int ch; 105 while((ch=iter.next())!= UCharacterIterator.DONE){ 106 if(isLabelSeparator(ch)){ 120 private static boolean isLDHChar(int ch){ 122 if(ch>0x007A) 167 int ch; local 308 int ch; local [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetASCII.java | 113 int i, ch = 0; local 119 for (i = oldSource; i < limit && (((ch = (sourceArray[i] & 0xff)) & 0x80) == 0); i++) 120 targetArray[i + offset] = (char) ch; 127 if ((ch & 0x80) != 0) { 130 return decodeMalformedOrUnmappable(ch); 136 int ch = 0; local 143 ch = source.get() & 0xff; 145 if ((ch & 0x80) == 0) { 147 target.put((char)ch); 156 return decodeMalformedOrUnmappable(ch); 274 int i, ch = 0; local 297 int ch; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
IDNA2003.java | 51 private static char toASCIILower(char ch){ 52 if(CAPITAL_A <= ch && ch <= CAPITAL_Z){ 53 return (char)(ch + LOWER_CASE_DELTA); 55 return ch; 102 int ch; 103 while((ch=iter.next())!= UCharacterIterator.DONE){ 104 if(isLabelSeparator(ch)){ 118 private static boolean isLDHChar(int ch){ 120 if(ch>0x007A) 166 int ch; local 307 int ch; local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/ |
1-2.c | 302 int ch; local 496 for (ch = 0; ch < NTHREADS; ch++) { 499 pthread_create(&t_child[ch], NULL, child, 506 p_child[ch] = fork(); 507 if (p_child[ch] == -1) { 509 for (--ch; ch >= 0; ch-- [all...] |
/external/python/cpython3/Lib/curses/ |
textpad.py | 70 def _insert_printable_char(self, ch): 81 self.win.addch(ch) 86 ch = oldch 95 def do_command(self, ch): 99 self.lastcmd = ch 100 if curses.ascii.isprint(ch): 102 self._insert_printable_char(ch) 103 elif ch == curses.ascii.SOH: # ^a 105 elif ch in (curses.ascii.STX,curses.KEY_LEFT, curses.ascii.BS,curses.KEY_BACKSPACE): 114 if ch in (curses.ascii.BS, curses.KEY_BACKSPACE) [all...] |
/art/libdexfile/dex/ |
descriptors_names.cc | 64 char ch = *p++; local 65 if (ch == '/') { 66 ch = '.'; 68 result->push_back(ch); 104 uint32_t ch = GetUtf16FromUtf8(&cp); local 105 if ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') || (ch >= '0' && ch <= '9')) [all...] |
/art/test/530-regression-lse/src/ |
Main.java | 42 FileChannel ch = raf.getChannel(); local 43 MappedByteBuffer result = ch.map(FileChannel.MapMode.READ_WRITE, 0, size); 44 ch.close();
|