/external/ltp/testcases/kernel/syscalls/syslog/ |
syslogtst.c | 40 int status, flag3, fd, ch, ch1; local 58 ch = (random() % 10) + 1; 59 if (ch == 2) 61 if (ch == 8) 65 ch, ch1); 69 ch = atoi(argv[1]); 70 if (ch == 2 || ch == 8) { 71 if (ch == 2) 73 if (ch == 8 [all...] |
/external/syslinux/com32/lib/sys/ |
ansi.c | 70 void __ansi_putchar(const struct term_info *ti, uint8_t ch) 80 switch (ch) { 83 st->parms[0] = ch; 123 if (ch >= 32) { 124 if (st->vtgraphics && (ch & 0xe0) == 0x60) 125 ch = decvt_to_cp437[ch - 0x60]; 127 op->write_char(xy.x, xy.y, ch, st); 135 switch (ch) { 167 if (ch >= '0' && ch <= '9') [all...] |
/external/speex/libspeex/ |
smallft.c | 116 static void dradf2(int ido,int l1,float *cc,float *ch,float *wa1){ 125 ch[t1<<1]=cc[t1]+cc[t2]; 126 ch[(t1<<1)+t3-1]=cc[t1]-cc[t2]; 148 ch[t6]=cc[t5]+ti2; 149 ch[t4]=ti2-cc[t5]; 150 ch[t6-1]=cc[t5-1]+tr2; 151 ch[t4-1]=cc[t5-1]-tr2; 163 ch[t1]=-cc[t2]; 164 ch[t1-1]=cc[t3]; 171 static void dradf4(int ido,int l1,float *cc,float *ch,float *wa1 [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
HTMLScanner.java | 318 for (int ch = -2; ch <= maxChar; ++ch) { 330 else if (statetable[i+1] == ch) { 336 statetableIndex[theState][ch + 2] = (short) hit; 397 int ch = r.read(); local 400 if (ch >= 0x80 && ch <= 0x9F) ch = theWinMap[ch-0x80] [all...] |
/art/runtime/native/ |
libcore_util_CharsetUtils.cc | 128 jchar ch = static_cast<jchar>(*src++ & 0xff); local 129 *dst++ = (ch <= 0x7f) ? ch : REPLACEMENT_CHAR; 173 jchar ch = string->CharAt(offset + i); local 174 if (ch > maxValidChar) { 175 ch = '?'; 177 *dst++ = static_cast<jbyte>(ch); 209 jint ch = string->CharAt(i); local 210 if (ch < 0x80) { 212 if (!out.append(ch)) { [all...] |
/external/syslinux/gpxe/src/core/ |
gdbstub.c | 46 void ( * parse ) ( struct gdbstub *stub, char ch ); 58 static void gdbstub_state_new ( struct gdbstub *stub, char ch ); 59 static void gdbstub_state_data ( struct gdbstub *stub, char ch ); 60 static void gdbstub_state_cksum1 ( struct gdbstub *stub, char ch ); 61 static void gdbstub_state_cksum2 ( struct gdbstub *stub, char ch ); 62 static void gdbstub_state_wait_ack ( struct gdbstub *stub, char ch ); 64 static uint8_t gdbstub_from_hex_digit ( char ch ) { 65 return ( isdigit ( ch ) ? ch - '0' : tolower ( ch ) - 'a' + 0xa ) & 0xf 167 char ch = 0; local [all...] |
/bionic/libc/upstream-openbsd/lib/libc/net/ |
inet_pton.c | 76 int saw_digit, octets, ch; local 82 while ((ch = *src++) != '\0') { 85 if ((pch = strchr(digits, ch)) != NULL) { 96 } else if (ch == '.' && saw_digit) { 130 int ch, saw_xdigit, count_xdigit; local 143 while ((ch = *src++) != '\0') { 146 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) 147 pch = strchr((xdigits = xdigits_u), ch); 159 if (ch == ':') { 178 if (ch == '.' && ((tp + INADDRSZ) <= endp) & [all...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
inet_pton.c | 125 int saw_digit, octets, ch;
local 131 while ((ch = *src++) != '\0') {
134 if ((pch = strchr(digits, ch)) != NULL) {
145 } else if (ch == '.' && saw_digit) {
183 int ch, saw_xdigit;
local 196 while ((ch = *src++) != '\0') {
199 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
200 pch = strchr((xdigits = xdigits_u), ch);
209 if (ch == ':') {
225 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && [all...] |
/external/curl/lib/ |
inet_pton.c | 96 int saw_digit, octets, ch; local 103 while((ch = *src++) != '\0') { 106 pch = strchr(digits, ch); 121 else if(ch == '.' && saw_digit) { 157 int ch, saw_xdigit; local 170 while((ch = *src++) != '\0') { 173 pch = strchr((xdigits = xdigits_l), ch); 175 pch = strchr((xdigits = xdigits_u), ch); 183 if(ch == ':') { 199 if(ch == '.' && ((tp + INADDRSZ) <= endp) & [all...] |
/external/elfutils/libcpu/ |
i386_lex.l | 42 static void invalid_char (int ch); 99 <MAIN>. { i386_lval.ch = *yytext; return kCHAR; } 119 invalid_char (int ch) 121 error (0, 0, (isascii (ch) 124 ch, yylineno);
|
/prebuilts/go/darwin-x86/src/runtime/race/testdata/ |
atomic_test.go | 19 ch := make(chan bool, 2) 25 ch <- true 32 ch <- true 34 <-ch 35 <-ch 42 ch := make(chan bool, 2) 48 ch <- true 55 ch <- true 57 <-ch 58 <-ch [all...] |
/prebuilts/go/linux-x86/src/runtime/race/testdata/ |
atomic_test.go | 19 ch := make(chan bool, 2) 25 ch <- true 32 ch <- true 34 <-ch 35 <-ch 42 ch := make(chan bool, 2) 48 ch <- true 55 ch <- true 57 <-ch 58 <-ch [all...] |
/toolchain/binutils/binutils-2.27/binutils/ |
mclex.c | 129 parse_digit (unichar ch) 133 if (ch == '0') 144 v = (rc_uint_type) (ch - '0'); 146 while ((ch = input_stream_pos[0]) != 0) 148 if (ch >= 'A' && ch <= 'F') 149 c = (rc_uint_type) (ch - 'A') + 10; 150 else if (ch >= 'a' && ch <= 'f') 151 c = (rc_uint_type) (ch - 'a') + 10 330 unichar ch; local [all...] |
/external/webrtc/webrtc/p2p/base/ |
p2ptransportchannel_unittest.cc | 218 CandidateData(cricket::TransportChannel* ch, const cricket::Candidate& c) 219 : channel(ch), candidate(c) { 231 bool HasChannel(cricket::TransportChannel* ch) { 232 return (ch == cd1_.ch_.get() || ch == cd2_.ch_.get()); 234 ChannelData* GetChannelData(cricket::TransportChannel* ch) { 235 if (!HasChannel(ch)) return NULL; 236 if (cd1_.ch_.get() == ch) 639 void OnCandidate(cricket::TransportChannelImpl* ch, 644 if (GetEndpoint(ch)->save_candidates_) [all...] |
/external/aac/libAACdec/src/ |
channel.cpp | 168 int ch = 0; local 243 for (ch = 0; ch < el_channels; ch++) { 244 if (pAacDecoderChannelInfo[ch]->renderMode == AACDEC_RENDER_LPD) { 246 CLpdChannelStream_Decode(pAacDecoderChannelInfo[ch], 247 pAacDecoderStaticChannelInfo[ch], flags); 250 GetScaleFactorBandsTransmitted(&pAacDecoderChannelInfo[ch]->icsInfo); 260 CP_active = pAacDecoderChannelInfo[ch] 264 /* Omit writing of pAacDecoderChannelInfo[ch]->specScale for comple 421 int i, ch, decision_bit; local [all...] |
/prebuilts/go/darwin-x86/src/net/ |
dnsname_test.go | 33 func emitDNSNameTest(ch chan<- dnsNameTest) { 34 defer close(ch) 43 ch <- tc 46 ch <- dnsNameTest{char63 + ".com", true} 47 ch <- dnsNameTest{char64 + ".com", false} 52 ch <- dnsNameTest{longDomain[len(longDomain)-253:], true} 54 ch <- dnsNameTest{longDomain[len(longDomain)-253:] + ".", true} 56 ch <- dnsNameTest{longDomain[len(longDomain)-254:], false} 60 ch := make(chan dnsNameTest) 61 go emitDNSNameTest(ch) [all...] |
/prebuilts/go/linux-x86/src/net/ |
dnsname_test.go | 33 func emitDNSNameTest(ch chan<- dnsNameTest) { 34 defer close(ch) 43 ch <- tc 46 ch <- dnsNameTest{char63 + ".com", true} 47 ch <- dnsNameTest{char64 + ".com", false} 52 ch <- dnsNameTest{longDomain[len(longDomain)-253:], true} 54 ch <- dnsNameTest{longDomain[len(longDomain)-253:] + ".", true} 56 ch <- dnsNameTest{longDomain[len(longDomain)-254:], false} 60 ch := make(chan dnsNameTest) 61 go emitDNSNameTest(ch) [all...] |
/external/webrtc/webrtc/voice_engine/ |
voe_video_sync_impl.cc | 52 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 53 voe::Channel* channel_ptr = ch.channel(); 71 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 72 voe::Channel* channelPtr = ch.channel(); 90 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 91 voe::Channel* channelPtr = ch.channel(); 109 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 110 voe::Channel* channelPtr = ch.channel(); 126 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 127 voe::Channel* channelPtr = ch.channel() 163 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local 178 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); local [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
FwdLockConv.c | 153 unsigned char ch; member in struct:FwdLockConv_Session 285 * @param[in] ch The character to check. 289 static int FwdLockConv_IsBoundaryChar(int ch) { 290 return isalnum(ch) || ch == '\'' || ch == '(' || ch == ')' || ch == '+' || ch == '_' || 291 ch == ',' || ch == '-' || ch == '.' || ch == '/' || ch == ':' || ch == '=' | [all...] |
/external/icu/icu4c/source/common/ |
ucnv_u8.cpp | 75 uint32_t ch, ch2 = 0; local 85 ch = cnv->toUnicodeStatus;/*Stores the previously calculated ch from a previous call*/ 93 ch = *(mySource++); 94 if (U8_IS_SINGLE(ch)) /* Simple case */ 96 *(myTarget++) = (UChar) ch; 101 toUBytes[0] = (char)ch; 102 inBytes = U8_COUNT_BYTES_NON_ASCII(ch); /* lookup current sequence length */ 111 if (!icu::UTF8::isValidTrail(ch, ch2, i, inBytes) && 112 !(isCESU8 && i == 1 && ch == 0xed && U8_IS_TRAIL(ch2)) 193 uint32_t ch, ch2 = 0; local 309 UChar32 ch; local 424 UChar32 ch; local 560 UChar32 ch; local [all...] |
/external/valgrind/none/tests/ |
procfs-cmdline-exe.c | 24 char ch; local 30 while ((n = read(fd, &ch, 1)) > 0) 32 if (ch == '\\') 34 else if (ch == 0) 36 else if (isprint((unsigned)ch)) 37 fprintf(stderr, "%c", ch); 39 fprintf(stderr, "\\0%o", ch);
|
/system/bt/udrv/ulinux/ |
uipc.cc | 192 memset(&uipc.ch, 0, sizeof(uipc.ch)); 203 tUIPC_CHAN* p = &uipc.ch[i]; 230 if (uipc.ch[i].task_evt_flags & UIPC_TASK_FLAG_DISCONNECT_CHAN) { 231 uipc.ch[i].task_evt_flags &= ~UIPC_TASK_FLAG_DISCONNECT_CHAN; 242 // BTIF_TRACE_EVENT("CHECK SRVFD %d (ch %d)", uipc.ch[ch_id].srvfd, 245 if (SAFE_FD_ISSET(uipc.ch[ch_id].srvfd, &uipc.read_set)) { 246 BTIF_TRACE_EVENT("INCOMING CONNECTION ON CH %d", ch_id); 249 if (uipc.ch[ch_id].fd != UIPC_DISCONNECTED) [all...] |
/external/syslinux/com32/lib/ |
vsscanf.c | 52 char ch; local 76 while ((ch = *p++) && !bail) { 79 if (ch == '%') { 84 } else if (isspace((unsigned char)ch)) { 87 if (*q == ch) 95 switch (ch) { 100 width = (ch - '0'); 112 if (ch >= '0' && ch <= '9') { 113 width = width * 10 + (ch - '0') [all...] |
/external/pdfium/fxbarcode/datamatrix/ |
BC_HighLevelEncoder.cpp | 275 bool CBC_HighLevelEncoder::isDigit(wchar_t ch) { 276 return ch >= '0' && ch <= '9'; 278 bool CBC_HighLevelEncoder::isExtendedASCII(wchar_t ch) { 279 return ch >= 128 && ch <= 255; 287 wchar_t ch = msg[idx]; local 288 while (isDigit(ch) && idx < len) { 292 ch = msg[idx]; 299 wchar_t CBC_HighLevelEncoder::randomize253State(wchar_t ch, [all...] |
/external/ltp/testcases/kernel/syscalls/fmtmsg/ |
fmtmsg01.c | 59 char ch; variable 112 fread(&ch, sizeof(ch), 1, fp); 113 while (isspace(ch)) 114 fread(&ch, sizeof(ch), 1, fp); 115 ungetc(ch, fp); 178 fread(&ch, sizeof(ch), 1, fp); 179 while (isspace(ch)) [all...] |