/system/connectivity/shill/ |
H A D | crypto_rot47.cc | 38 for (auto& ch : *ciphertext) { 39 if (ch < kRotMin || ch > kRotMax) { 42 int rot = ch + kRotHalf; 43 ch = (rot > kRotMax) ? rot - kRotSize : rot;
|
H A D | file_reader.cc | 50 int ch; local 51 while ((ch = fgetc(fp)) != EOF) { 52 if (ch == '\n') 54 line->push_back(static_cast<char>(ch));
|
H A D | provider_db_unittest.bfd | 17 country:ch 30 apn:0,gprs.swisscom.ch,,
|
/system/extras/simpleperf/ |
H A D | build_id.h | 44 unsigned char ch = 0; local 46 ch <<= 4; 48 ch |= s[j] - '0'; 50 ch |= s[j] - 'a' + 10; 52 ch |= s[j] - 'A' + 10; 55 data_[i / 2] = ch;
|
/system/bt/udrv/ulinux/ |
H A D | uipc.c | 99 tUIPC_CHAN ch[UIPC_CH_NUM]; member in struct:__anon1307 238 tUIPC_CHAN *p = &uipc_main.ch[i]; 273 //BTIF_TRACE_EVENT("CHECK TASK FLAGS %x %x", uipc_main.ch[i].task_evt_flags, UIPC_TASK_FLAG_DISCONNECT_CHAN); 274 if (uipc_main.ch[i].task_evt_flags & UIPC_TASK_FLAG_DISCONNECT_CHAN) 276 uipc_main.ch[i].task_evt_flags &= ~UIPC_TASK_FLAG_DISCONNECT_CHAN; 291 //BTIF_TRACE_EVENT("CHECK SRVFD %d (ch %d)", uipc_main.ch[ch_id].srvfd, ch_id); 293 if (SAFE_FD_ISSET(uipc_main.ch[ch_id].srvfd, &uipc_main.read_set)) 297 uipc_main.ch[ch_id].fd = accept_server_socket(uipc_main.ch[ch_i [all...] |
/system/core/libutils/ |
H A D | Tokenizer.cpp | 34 static inline bool isDelimiter(char ch, const char* delimiters) { argument 35 return strchr(delimiters, ch) != NULL; 120 char ch = *eol; local 121 if (ch == '\n') { 136 char ch = *mCurrent; local 137 if (ch == '\n' || isDelimiter(ch, delimiters)) { 151 char ch = *(mCurrent++); local 152 if (ch == '\n') { 165 char ch local [all...] |
H A D | Unicode.cpp | 208 char16_t ch; local 212 d = (int)(ch = *s1++) - (int)*s2++; 213 if ( d || !ch ) 222 char16_t ch; local 230 d = (int)(ch = *s1++) - (int)*s2++; 231 if ( d || !ch ) { 243 char16_t ch; local 246 *q++ = ch = *p++; 247 } while ( ch ); 265 char ch; local 455 utf8_codepoint_len(uint8_t ch) argument [all...] |
/system/core/logwrapper/ |
H A D | logwrapper.c | 55 int ch; local 59 while ((ch = getopt(argc, argv, "adk")) != -1) { 60 switch (ch) {
|
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | synthesis-sbc.c | 261 OI_UINT ch; local 279 for (ch = 0; ch < nrof_channels; ch++) { 280 DCT2_8(context->common.filterBuffer[ch] + offset, s); 281 SYNTH80(pcm + ch, context->common.filterBuffer[ch] + offset, pcmStrideShift); 292 OI_UINT ch; local 309 for (ch = 0; ch < nrof_channel 326 OI_UINT ch; local [all...] |
H A D | bitalloc.c | 111 * @param ch Channel 0 or 1 120 OI_UINT ch, 139 OI_INT8 *scale_factor = &common->scale_factor[ch ? nrof_subbands : 0]; 344 OI_UINT ch, 364 allocBits = &common->bits.uint8[ch ? nrof_subbands : 0]; 118 computeBitneed(OI_CODEC_SBC_COMMON_CONTEXT *common, OI_UINT8 *bitneeds, OI_UINT ch, OI_UINT *preferredBitpool) argument 342 oneChannelBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT *common, BITNEED_UNION1 *bitneeds, OI_UINT ch, OI_UINT bitcount) argument
|
/system/core/libcutils/ |
H A D | properties.c | 43 char ch = buf[0]; local 44 if (ch == '0' || ch == 'n') { 46 } else if (ch == '1' || ch == 'y') {
|
H A D | strdup8to16.c | 30 #define UTF8_SEQ_LENGTH(ch) (((0xe5000000 >> ((ch >> 3) & 0x1e)) & 3) + 1)
|
/system/core/toolbox/upstream-netbsd/bin/dd/ |
H A D | conv.c | 120 int ch = 0; /* pacify gcc */ local 153 cnt < maxlen && (ch = *inp++) != '\n'; ++cnt) 154 *outp++ = t[ch]; 157 cnt < maxlen && (ch = *inp++) != '\n'; ++cnt) 158 *outp++ = ch; 163 if (ch != '\n' && in.dbcnt < cbsz) { 170 if (ch == '\n')
|
H A D | dd.c | 111 int ch; local 116 while ((ch = getopt(argc, argv, "")) != -1) { 117 switch (ch) {
|
/system/bt/service/ |
H A D | gatt_server_old.cpp | 166 bluetooth::gatt::Characteristic &ch = g_internal->characteristics[attr_handle]; local 169 if (ch.next_blob_pending && attribute_offset_octets == 0 && 170 ch.blob_section == 0) { 171 std::swap(ch.blob, ch.next_blob); 172 ch.next_blob_pending = false; 176 std::min(ch.blob.size(), ch.blob_section * kMaxGattAttributeSize); 177 const size_t blob_remaining = ch.blob.size() - blob_offset_octets; 185 ch 216 bluetooth::gatt::Characteristic &ch = local 753 Characteristic &ch = internal_->characteristics[attribute_id]; local [all...] |
/system/core/adb/ |
H A D | sysdeps_win32.cpp | 1423 // entered without the modifier. Writes to *ch and returns the number of bytes 1425 static size_t _get_char_ignoring_modifier(char* const ch, argument 1457 *ch = (CHAR)translated; 1464 *ch = key_event->uChar.AsciiChar; 1467 return (*ch == '\0') ? 0 : 1; 1478 static __inline__ size_t _get_non_control_char(char* const ch, argument 1480 return _get_char_ignoring_modifier(ch, key_event, control_key_state, 1485 static __inline__ size_t _get_non_alt_char(char* const ch, argument 1487 return _get_char_ignoring_modifier(ch, key_event, control_key_state, 1500 char ch local 1766 const CHAR ch = key_event->uChar.AsciiChar; local 2433 utf8_codepoint_len(uint8_t ch) argument 2448 const char ch = *current; local 2631 adb_fputc(int ch, FILE* stream) argument 2641 adb_putchar(int ch) argument [all...] |
H A D | adb_utils.cpp | 214 int ch = p[i]; local 215 line.push_back(isprint(ch) ? ch : '.');
|
/system/core/run-as/ |
H A D | package.c | 308 /* Find the first occurence of 'ch' between 'p' and 'end' 312 find_first(const char* p, const char* end, char ch) argument 314 while (p < end && *p != ch) 400 int ch = *p; local 401 unsigned d = (unsigned)(ch - '0');
|
/system/core/healthd/ |
H A D | healthd.cpp | 330 int ch; local 339 while ((ch = getopt(argc, argv, "cr")) != -1) { 340 switch (ch) {
|
/system/sepolicy/tools/ |
H A D | sepolicy-check.c | 239 char ch; local 251 while ((ch = getopt_long(argc, argv, "s:t:c:p:P:", long_options, NULL)) != -1) { 252 switch (ch) {
|
/system/sepolicy/tools/sepolicy-analyze/ |
H A D | typecmp.c | 268 char ch, diff = 0, equiv = 0; local 276 while ((ch = getopt_long(argc, argv, "de", typecmp_options, NULL)) != -1) { 277 switch (ch) {
|
H A D | neverallow.c | 476 char ch; local 486 while ((ch = getopt_long(argc, argv, "df:n:w", neverallow_options, NULL)) != -1) { 487 switch (ch) {
|
/system/bt/embdrv/sbc/decoder/include/ |
H A D | oi_codec_sbc_private.h | 131 OI_UINT ch, 136 OI_UINT ch,
|
/system/core/libmincrypt/ |
H A D | sha256.c | 91 uint32_t ch = (E & F) ^ ((~E) & G); local 92 uint32_t t1 = H + s1 + ch + K[t] + W[t];
|
/system/core/libpixelflinger/ |
H A D | buffer.cpp | 39 int sh, int sl, int dh, int dl, int ch, int cl, int dither); 326 int ch, int cl, // clear 354 if (ch) { 323 downshift_component( uint32_t in, uint32_t v, int sh, int sl, int dh, int dl, int ch, int cl, int dither) argument
|