/external/open-vcdiff/gtest/src/ |
gtest-port.cc | 165 // Returns true iff ch appears anywhere in str (excluding the 167 bool IsInSet(char ch, const char* str) { 168 return ch != '\0' && strchr(str, ch) != NULL; 171 // Returns true iff ch belongs to the given classification. Unlike 174 bool IsDigit(char ch) { return '0' <= ch && ch <= '9'; } 175 bool IsPunct(char ch) { 176 return IsInSet(ch, "^-!\"#$%&'()*+,./:;<=>?@[\\]_`{|}~") 250 const char ch = regex[i]; local [all...] |
/external/protobuf/gtest/src/ |
gtest-port.cc | 165 // Returns true iff ch appears anywhere in str (excluding the 167 bool IsInSet(char ch, const char* str) { 168 return ch != '\0' && strchr(str, ch) != NULL; 171 // Returns true iff ch belongs to the given classification. Unlike 174 bool IsDigit(char ch) { return '0' <= ch && ch <= '9'; } 175 bool IsPunct(char ch) { 176 return IsInSet(ch, "^-!\"#$%&'()*+,./:;<=>?@[\\]_`{|}~") 250 const char ch = regex[i]; local [all...] |
/external/chromium_org/media/base/ |
audio_hash.cc | 26 for (uint32 ch = 0; ch < static_cast<uint32>(audio_bus->channels()); ++ch) { 27 const float* channel = audio_bus->channel(ch); 30 const uint32 kHashIndex = (kSampleIndex * (ch + 1)) % kHashBuckets; 34 if (ch == 0) {
|
audio_fifo.cc | 74 for (int ch = 0; ch < source->channels(); ++ch) { 75 float* dest = audio_bus_->channel(ch); 76 const float* src = source->channel(ch); 118 for (int ch = 0; ch < destination->channels(); ++ch) { 119 float* dest = destination->channel(ch); 120 const float* src = audio_bus_->channel(ch); [all...] |
channel_mixer_unittest.cc | 41 for (int ch = 0; ch < input_bus->channels(); ++ch) 42 std::fill(input_bus->channel(ch), input_bus->channel(ch) + kFrames, 1); 129 for (int ch = 0; ch < input_bus->channels(); ++ch) { 130 std::fill(input_bus->channel(ch), input_bus->channel(ch) + kFrames [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
TextBoundaries.cpp | 42 UChar32 ch; local 43 U16_NEXT(characters, i, length, ch); 44 if (!requiresContextForWordBoundary(ch)) 54 UChar32 ch; local 55 U16_PREV(characters, 0, i, ch); 56 if (!requiresContextForWordBoundary(ch))
|
DateTimeFormat.cpp | 92 static DateTimeFormat::FieldType mapCharacterToFieldType(const UChar ch) 94 if (isASCIIUpper(ch)) 95 return upperCaseToFieldTypeMap[ch - 'A']; 97 if (isASCIILower(ch)) 98 return lowerCaseToFieldTypeMap[ch - 'a']; 118 const UChar ch = source[index]; local 121 if (ch == '\'') { 126 literalBuffer.append(ch); 130 if (ch == '\'') { 136 fieldType = mapCharacterToFieldType(ch); [all...] |
/external/chromium_org/third_party/icu/source/test/letest/ |
SimpleFontInstance.cpp | 91 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filterZeroWidth) const 93 return LEFontInstance::mapCharToGlyph(ch, mapper, filterZeroWidth); 98 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const 100 return LEFontInstance::mapCharToGlyph(ch, mapper); 103 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch) const 105 return (LEGlyphID) ch;
|
/external/icu4c/test/letest/ |
SimpleFontInstance.cpp | 91 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filterZeroWidth) const 93 return LEFontInstance::mapCharToGlyph(ch, mapper, filterZeroWidth); 98 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const 100 return LEFontInstance::mapCharToGlyph(ch, mapper); 103 LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch) const 105 return (LEGlyphID) ch;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
psy_main.c | 53 const Word16 ch); 64 const Word16 ch); 193 Word16 ch, err; local 218 for(ch=0;ch < channels;ch++){ 220 InitBlockSwitching(&hPsy->psyData[ch].blockSwitchingControl, 223 InitPreEchoControl(hPsy->psyData[ch].sfbThresholdnm1, 226 hPsy->psyData[ch].mdctScalenm1 = 0; 257 Word16 ch; /* counts through channels * local [all...] |
qc_main.c | 269 Word32 ch; local 319 for (ch = 0; ch < nChannels; ch++) { 323 maxChDynBits[ch] = extract_l(chBitDistribution[ch] * maxDynBits / 1000); 327 for (ch = 0; ch < nChannels; ch++) { 335 QuantizeSpectrum(psyOutChannel[ch].sfbCnt [all...] |
/libcore/benchmarks/src/benchmarks/ |
StringIterationBenchmark.java | 30 char ch; local 32 ch = s.charAt(i); 39 char ch; local 41 ch = s.charAt(i); 48 char ch; local 51 ch = chars[i];
|
/bionic/libc/netbsd/net/ |
base64.c | 221 int state, ch; local 230 while ((ch = (u_char) *src++) != '\0') { 231 if (isspace(ch)) /* Skip whitespace anywhere. */ 234 if (ch == Pad64) 237 pos = strchr(Base64, ch); 293 if (ch == Pad64) { /* We got a pad char. */ 294 ch = *src++; /* Skip it, get next. */ 302 for (; ch != '\0'; ch = (u_char) *src++) 303 if (!isspace(ch)) [all...] |
/external/chromium_org/third_party/opus/src/src/ |
repacketizer_demo.c | 44 static void int_to_char(opus_uint32 i, unsigned char ch[4]) 46 ch[0] = i>>24; 47 ch[1] = (i>>16)&0xFF; 48 ch[2] = (i>>8)&0xFF; 49 ch[3] = i&0xFF; 52 static opus_uint32 char_to_int(unsigned char ch[4]) 54 return ((opus_uint32)ch[0]<<24) | ((opus_uint32)ch[1]<<16) 55 | ((opus_uint32)ch[2]<< 8) | (opus_uint32)ch[3] 116 unsigned char ch[4]; local [all...] |
/external/openssh/openbsd-compat/ |
base64.c | 200 int ch; local 206 while ((ch = *src++) != '\0') { 207 if (isspace(ch)) /* Skip whitespace anywhere. */ 210 if (ch == Pad64) 213 pos = strchr(Base64, ch); 265 if (ch == Pad64) { /* We got a pad char. */ 266 ch = *src++; /* Skip it, get next. */ 274 for (; ch != '\0'; ch = *src++) 275 if (!isspace(ch)) [all...] |
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_notify.c | 59 stream = &my_obj->ch[MM_CAMERA_CH_RAW].raw.stream; 64 pthread_mutex_lock(&my_obj->ch[MM_CAMERA_CH_RAW].mutex); 66 if((my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i].cb) && 70 data[cnt].def.frame = &my_obj->ch[MM_CAMERA_CH_RAW].raw.stream.frame.frame[idx].frame; 71 my_obj->ch[MM_CAMERA_CH_RAW].raw.stream.frame.ref_count[idx]++; 73 (uint32_t)my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i].cb, 74 (uint32_t)my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i].user_data); 75 memcpy(&buf_cb[cnt], &my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i], sizeof(mm_camera_buf_cb_t)); 79 pthread_mutex_unlock(&my_obj->ch[MM_CAMERA_CH_RAW].mutex); 108 pthread_mutex_lock(&my_obj->ch[MM_CAMERA_CH_PREVIEW].mutex) [all...] |
/external/libvorbis/lib/ |
smallft.c | 114 static void dradf2(int ido,int l1,float *cc,float *ch,float *wa1){ 123 ch[t1<<1]=cc[t1]+cc[t2]; 124 ch[(t1<<1)+t3-1]=cc[t1]-cc[t2]; 146 ch[t6]=cc[t5]+ti2; 147 ch[t4]=ti2-cc[t5]; 148 ch[t6-1]=cc[t5-1]+tr2; 149 ch[t4-1]=cc[t5-1]-tr2; 161 ch[t1]=-cc[t2]; 162 ch[t1-1]=cc[t3]; 169 static void dradf4(int ido,int l1,float *cc,float *ch,float *wa1 [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...] |
/libcore/luni/src/main/native/ |
java_nio_charset_Charsets.cpp | 123 jchar ch = static_cast<jchar>(*src++ & 0xff); local 124 *dst++ = (ch <= 0x7f) ? ch : REPLACEMENT_CHAR; 165 jchar ch = *src++; local 166 if (ch > maxValidChar) { 167 ch = '?'; 169 *dst++ = static_cast<jbyte>(ch); 196 jint ch = chars[i]; local 197 if (ch < 0x80) { 199 if (!out.append(ch)) { [all...] |
/external/qemu/hw/ |
bt-l2cap.c | 165 static void l2cap_retransmission_timer_update(struct l2cap_chan_s *ch) 168 if (ch->mode != L2CAP_MODE_BASIC && ch->rexmit) 169 qemu_mod_timer(ch->retransmission_timer); 171 qemu_del_timer(ch->retransmission_timer); 175 static void l2cap_monitor_timer_update(struct l2cap_chan_s *ch) 178 if (ch->mode != L2CAP_MODE_BASIC && !ch->rexmit) 179 qemu_mod_timer(ch->monitor_timer); 181 qemu_del_timer(ch->monitor_timer) 402 struct l2cap_chan_s *ch = NULL; local 453 struct l2cap_chan_s *ch = NULL; local 686 struct l2cap_chan_s *ch; local 718 struct l2cap_chan_s *ch; local 746 struct l2cap_chan_s *ch = l2cap_channel_open(l2cap, psm, source_cid); local [all...] |
/external/elfutils/libcpu/ |
i386_lex.l | 39 static void invalid_char (int ch); 96 <MAIN>. { i386_lval.ch = *yytext; return kCHAR; } 116 invalid_char (int ch) 118 error (0, 0, (isascii (ch) 121 ch, yylineno);
|
/external/qemu/ |
json-parser.c | 133 static int hex2decimal(char ch) 135 if (ch >= '0' && ch <= '9') { 136 return (ch - '0'); 137 } else if (ch >= 'a' && ch <= 'f') { 138 return 10 + (ch - 'a'); 139 } else if (ch >= 'A' && ch <= 'F') { 140 return 10 + (ch - 'A') [all...] |
/packages/inputmethods/PinyinIME/jni/include/ |
spellingtrie.h | 49 // For half ids of Zh/Ch/Sh, map to z/c/s (low case) respectively. 109 // spelling, including Shengmu and Yunmu), or id of zh/ch/sh. 134 // The caller should guarantee ch >= 'A' && ch <= 'Z' 135 bool is_shengmu_char(char ch) const; 137 // The caller should guarantee ch >= 'A' && ch <= 'Z' 138 bool is_yunmu_char(char ch) const; 157 inline static bool is_valid_spl_char(char ch) { 158 return (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/ |
genperf.c | 254 char *ch; local 284 ch = argv[1]; 286 while (*ch && i < 767) { 287 if (*ch == '\\') { 289 ch++; 291 filename[i++] = *ch++; 322 ch = &line[6]; 323 while (isspace(*ch)) 324 ch++; 326 while ((isalnum(*ch) || *ch == '_') && i < 127 [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
FwdLockConv.c | 152 unsigned char ch; member in struct:FwdLockConv_Session 284 * @param[in] ch The character to check. 288 static int FwdLockConv_IsBoundaryChar(int ch) { 289 return isalnum(ch) || ch == '\'' || ch == '(' || ch == ')' || ch == '+' || ch == '_' || 290 ch == ',' || ch == '-' || ch == '.' || ch == '/' || ch == ':' || ch == '=' | [all...] |