Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 18 of 18) sorted by relevance

/device/linaro/dragonboard/qcom/pd-mapper/
Djson.c65 int ch; in json_skip_whitespace() local
67 while ((ch = input()) && isspace(ch)) in json_skip_whitespace()
76 int ch; in json_parse_string() local
78 ch = input(); in json_parse_string()
79 if (ch != '"') { in json_parse_string()
84 while ((ch = input()) && ch != '"' && b - buf < sizeof(buf) - 1) in json_parse_string()
85 *b++ = ch; in json_parse_string()
88 if (!ch) in json_parse_string()
101 int ch; in json_parse_number() local
103 while ((ch = input()) && isdigit(ch) && b - buf < sizeof(buf) - 1) in json_parse_number()
[all …]
/device/linaro/dragonboard/qcom/rmtfs/
Dutil.c6 static uint8_t to_hex(uint8_t ch) in to_hex() argument
8 ch &= 0xf; in to_hex()
9 return ch <= 9 ? '0' + ch : 'a' + ch - 10; in to_hex()
16 uint8_t ch; in print_hex_dump() local
27 ch = ptr[i + j]; in print_hex_dump()
28 line[li++] = to_hex(ch >> 4); in print_hex_dump()
29 line[li++] = to_hex(ch); in print_hex_dump()
40 ch = ptr[i + j]; in print_hex_dump()
41 line[li++] = isprint(ch) ? ch : '.'; in print_hex_dump()
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/gdbstub/
Dgdbstub.c251 static int hex(unsigned char ch) in hex() argument
253 if (ch >= 'a' && ch <= 'f') in hex()
254 return ch-'a'+10; in hex()
255 if (ch >= '0' && ch <= '9') in hex()
256 return ch-'0'; in hex()
257 if (ch >= 'A' && ch <= 'F') in hex()
258 return ch-'A'+10; in hex()
270 char ch; in getpacket() local
274 while ((ch = getDebugChar ()) != '$') in getpacket()
284 ch = getDebugChar (); in getpacket()
[all …]
/device/amlogic/yukawa/hal/audio/
Dfir_filter.c111 for (int ch = 0; ch < fir->channels; ch += 2) { in fir_process_interleaved() local
112 p_output = &output[ch]; in fir_process_interleaved()
113 int offset = start_offset + ch; in fir_process_interleaved()
140 if (ch < fir->channels - 1) { in fir_process_interleaved()
Daudio_aec.c109 size_t frame, ch; in get_reference_audio_in_place() local
112 for (ch = 0; ch < aec->spk_num_channels; ch++) { in get_reference_audio_in_place()
113 acc += src_Nch[ch]; in get_reference_audio_in_place()
428 size_t frame, ch; in get_reference_samples() local
430 for (ch = 0; ch < aec->num_reference_channels; ch++) { in get_reference_samples()
/device/google/cuttlefish/host/commands/launch/
Dlaunch_cvd.cc109 char ch = !use_metrics.empty() ? tolower(use_metrics.at(0)) : -1; in ValidateMetricsConfirmation() local
110 if (ch != 'n') { in ValidateMetricsConfirmation()
124 switch (ch) { in ValidateMetricsConfirmation()
136 std::cin.get(ch); in ValidateMetricsConfirmation()
137 ch = tolower(ch); in ValidateMetricsConfirmation()
/device/google/contexthub/firmware/os/platform/native/
Dplatform.c43 void platLogPutchar(char ch) in platLogPutchar() argument
45 putchar(ch); in platLogPutchar()
/device/google/contexthub/firmware/os/platform/stm32/
Dplatform.c196 bool platLogPutcharF(void *userData, char ch) in platLogPutcharF() argument
199 if (ch == '\n') in platLogPutcharF()
201 gpioBitbangedUartOut(ch); in platLogPutcharF()
204 if (ch == '\n') in platLogPutcharF()
206 usartPutchar(&mDbgUart, ch); in platLogPutcharF()
220 buffer->buffer[buffer->length++] = ch; in platLogPutcharF()
/device/google/contexthub/firmware/os/inc/
Dplatform.h47 bool platLogPutcharF(void *userData, char ch);
/device/google/contexthub/lib/nanohub/
Dsha2.c94 uint32_t ch = (e & f) ^ ((~e) & g); in sha2processBlock() local
95 uint32_t temp1 = h + s1 + ch + k[i] + state->w[i]; in sha2processBlock()
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/cmsis/
Dcore_cm3.h1592 __STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch) in ITM_SendChar() argument
1598 ITM->PORT[0].u8 = (uint8_t) ch; in ITM_SendChar()
1600 return (ch); in ITM_SendChar()
1612 int32_t ch = -1; /* no character available */ in ITM_ReceiveChar() local
1615 ch = ITM_RxBuffer; in ITM_ReceiveChar()
1619 return (ch); in ITM_ReceiveChar()
Dcore_sc300.h1572 __STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch) in ITM_SendChar() argument
1578 ITM->PORT[0].u8 = (uint8_t) ch; in ITM_SendChar()
1580 return (ch); in ITM_SendChar()
1592 int32_t ch = -1; /* no character available */ in ITM_ReceiveChar() local
1595 ch = ITM_RxBuffer; in ITM_ReceiveChar()
1599 return (ch); in ITM_ReceiveChar()
Dcore_cm4.h1744 __STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch) in ITM_SendChar() argument
1750 ITM->PORT[0].u8 = (uint8_t) ch; in ITM_SendChar()
1752 return (ch); in ITM_SendChar()
1764 int32_t ch = -1; /* no character available */ in ITM_ReceiveChar() local
1767 ch = ITM_RxBuffer; in ITM_ReceiveChar()
1771 return (ch); in ITM_ReceiveChar()
Dcore_cm7.h2163 __STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch) in ITM_SendChar() argument
2169 ITM->PORT[0].u8 = (uint8_t) ch; in ITM_SendChar()
2171 return (ch); in ITM_SendChar()
2183 int32_t ch = -1; /* no character available */ in ITM_ReceiveChar() local
2186 ch = ITM_RxBuffer; in ITM_ReceiveChar()
2190 return (ch); in ITM_ReceiveChar()
/device/google/contexthub/firmware/os/core/
Dbl.c98 static bool blLogPutcharF(void *userData, char ch) in blLogPutcharF() argument
100 if (ch == '\n') in blLogPutcharF()
103 gpioBitbangedUartOut(ch); in blLogPutcharF()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp2009 std::unique_ptr<DirectChannelBase> ch; in addDirectChannel() local
2021 ch = std::make_unique<AshmemDirectChannel>(mem); in addDirectChannel()
2024 ch = std::make_unique<GrallocDirectChannel>(mem); in addDirectChannel()
2030 if (ch) { in addDirectChannel()
2031 if (ch->isValid()) { in addDirectChannel()
2033 mDirectChannel.insert(std::make_pair(ret, std::move(ch))); in addDirectChannel()
2035 ret = ch->getError(); in addDirectChannel()
/device/linaro/dragonboard/db845c/firmware/
Dadsp.b1332ch = %lu, bps = %lu, qf = %lu��capi_v2_sample_slip.cpp:CAPI_V2 SAMPLE_SLIP: Get Frame Size Info, B…
38ch = %u���AFEDecoder_If.cpp:afe_send_media_type_to_decoder port_id: 0x%x failed to send media type…
39 …y from %lu to %lu�AudioEncSvc_Prop_Util.cpp:AAC encoder cfg block: SR %lu, ch %u. aac-fmt %u, bit-…
/device/google/crosshatch/acdbdata/OEM/sdm845-tavil-c1-snd-card/
DworkspaceFile.qwsp1 …P2t++yGZpyEKMG+Uxg+TZbIBt4D0+giBm9CRVbQPcMdhQeDp1Nx3K4ya3Z6MASRMNMVveJO5CT+ch+kqkL4IKswvWLjlXAVt/P…