Home
last modified time | relevance | path

Searched defs:p (Results 1 – 25 of 140) sorted by relevance

123456

/hardware/qcom/msm8998/json-c/
Dprintbuf.c35 struct printbuf *p; in printbuf_new() local
57 static int printbuf_extend(struct printbuf *p, int min_size) in printbuf_extend()
80 int printbuf_memappend(struct printbuf *p, const char *buf, int size) in printbuf_memappend()
153 int sprintbuf(struct printbuf *p, const char *msg, ...) in sprintbuf()
181 void printbuf_reset(struct printbuf *p) in printbuf_reset()
187 void printbuf_free(struct printbuf *p) in printbuf_free()
Dprintbuf.h42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ argument
51 #define printbuf_length(p) ((p)->bpos) argument
/hardware/google/apf/
Dapf_interpreter.c49 #define IN_PROGRAM_BOUNDS(p) (ENFORCE_UNSIGNED(p) && (p) < program_len) in accept_packet() argument
51 #define IN_PACKET_BOUNDS(p) (ENFORCE_UNSIGNED(p) && (p) < packet_len) in accept_packet() argument
53 #define IN_DATA_BOUNDS(p, size) (ENFORCE_UNSIGNED(p) && \ in accept_packet() argument
59 #define ASSERT_IN_PROGRAM_BOUNDS(p) ASSERT_RETURN(IN_PROGRAM_BOUNDS(p)) in accept_packet() argument
61 #define ASSERT_IN_PACKET_BOUNDS(p) ASSERT_RETURN(IN_PACKET_BOUNDS(p)) in accept_packet() argument
63 #define ASSERT_IN_DATA_BOUNDS(p, size) ASSERT_RETURN(IN_DATA_BOUNDS(p, size)) in accept_packet() argument
68 #define ASSERT_FORWARD_IN_PROGRAM(p) ASSERT_RETURN(IN_PROGRAM_BOUNDS(p) && (p) >= pc) in accept_packet() argument
/hardware/broadcom/libbt/src/
Dhardware.c100 #define STREAM_TO_UINT16(u16, p) {u16 = ((uint16_t)(*(p)) + (((uint16_t)(*((p) + 1))) << 8)); (p) +… argument
101 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (uint8_t)(u8);} argument
102 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (uint8_t)(u16); *(p)++ = (uint8_t)((u16) >> 8);} argument
103 #define UINT32_TO_STREAM(p, u32) {*(p)++ = (uint8_t)(u32); *(p)++ = (uint8_t)((u32) >> 8); *(p)++ =… argument
515 char *p = p_chip_id_str + len - 1; in hw_config_findpatch() local
557 uint8_t *p = (uint8_t *) (p_buf + 1); in hw_config_set_bdaddr() local
595 uint8_t *p = (uint8_t *) (p_buf + 1); in hw_config_read_bdaddr() local
623 uint8_t *p, status; in hw_config_cback() local
976 uint8_t *p; in hw_sco_i2spcm_cfg_cback() local
1125 uint8_t *p; in hw_config_start() local
[all …]
/hardware/nxp/secure_element/libese-spi/p73/utils/
Dringbuffer.cpp33 ringbuffer_t* p = static_cast<ringbuffer_t*>(calloc(1, sizeof(ringbuffer_t))); in ringbuffer_init() local
59 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length) { in ringbuffer_insert()
86 size_t ringbuffer_peek(const ringbuffer_t* rb, off_t offset, uint8_t* p, in ringbuffer_peek()
106 size_t ringbuffer_pop(ringbuffer_t* rb, uint8_t* p, size_t length) { in ringbuffer_pop()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c59 pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktcopy()
91 pktfrombuf(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktfrombuf()
122 pkttotlen(osl_t *osh, void *p) in pkttotlen()
138 pktlast(osl_t *osh, void *p) in pktlast()
148 pktsegcnt(osl_t *osh, void *p) in pktsegcnt()
161 pktsegcnt_war(osl_t *osh, void *p) in pktsegcnt_war()
190 pktdataoffset(osl_t *osh, void *p, uint offset) in pktdataoffset()
212 pktoffset(osl_t *osh, void *p, uint offset) in pktoffset()
233 pktq_penq(struct pktq *pq, int prec, void *p) in pktq_penq()
262 pktq_penq_head(struct pktq *pq, int prec, void *p) in pktq_penq_head()
[all …]
/hardware/qcom/bt/msm8992/libbt-vendor/include/
Dbt_vendor_qcom.h23 #define STREAM_TO_UINT16(u16, p) {u16 = ((uint16_t)(*(p)) + (((uint16_t)(*((p) + 1))) << 8)); (p) +… argument
24 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (uint8_t)(u16); *(p)++ = (uint8_t)((u16) >> 8);} argument
25 #define UINT32_TO_STREAM(p, u32) {*(p)++ = (uint8_t)(u32); *(p)++ = (uint8_t)((u32) >> 8); *(p)++ =… argument
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DHidParserExample.cpp27 for (const TestHidDescriptor *p = gDescriptorArray; ; ++p) { in doParse() local
49 for (const TestHidDescriptor *p = gDescriptorArray; ; ++p) { in doParseAndFilter() local
80 for (const TestHidDescriptor *p = gDescriptorArray; ; ++p) { in doDigest() local
/hardware/qcom/bt/msm8996/libbt-vendor/include/
Dbt_vendor_qcom.h32 #define STREAM_TO_UINT16(u16, p) {u16 = ((uint16_t)(*(p)) + (((uint16_t)(*((p) + 1))) << 8)); (p) +… argument
33 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (uint8_t)(u16); *(p)++ = (uint8_t)((u16) >> 8);} argument
34 #define UINT32_TO_STREAM(p, u32) {*(p)++ = (uint8_t)(u32); *(p)++ = (uint8_t)((u32) >> 8); *(p)++ =… argument
/hardware/qcom/bt/msm8909/libbt-vendor/include/
Dbt_vendor_qcom.h32 #define STREAM_TO_UINT16(u16, p) {u16 = ((uint16_t)(*(p)) + (((uint16_t)(*((p) + 1))) << 8)); (p) +… argument
33 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (uint8_t)(u16); *(p)++ = (uint8_t)((u16) >> 8);} argument
34 #define UINT32_TO_STREAM(p, u32) {*(p)++ = (uint8_t)(u32); *(p)++ = (uint8_t)((u32) >> 8); *(p)++ =… argument
/hardware/st/secure_element2/secure_element/1.0/esehal/src/
Dchecksum.c32 const uint8_t *p = s; in lrc8() local
87 const uint8_t *p = s; in crc_ccitt() local
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_pcm.c183 static inline int param_is_mask(int p) in param_is_mask()
189 static inline int param_is_interval(int p) in param_is_interval()
195 static inline struct snd_interval *param_to_interval(struct snd_pcm_hw_params *p, int n) in param_to_interval()
200 static inline struct snd_mask *param_to_mask(struct snd_pcm_hw_params *p, int n) in param_to_mask()
205 void param_set_mask(struct snd_pcm_hw_params *p, int n, unsigned bit) in param_set_mask()
217 void param_set_min(struct snd_pcm_hw_params *p, int n, unsigned val) in param_set_min()
225 void param_set_max(struct snd_pcm_hw_params *p, int n, unsigned val) in param_set_max()
233 void param_set_int(struct snd_pcm_hw_params *p, int n, unsigned val) in param_set_int()
243 void param_init(struct snd_pcm_hw_params *p) in param_init()
283 void param_dump(struct snd_pcm_hw_params *p) in param_dump()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/
Dvidc_vendor_extensions.cpp41 const ParamListBuilder& p) in VendorExtension()
65 for (const Param& p : mParams) { in copyInfoTo() local
193 for (const Param& p : mParams) { in debugString() local
252 for (const Param& p : mParams) { in indexOfParam() local
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/src/
Dvidc_vendor_extensions.cpp41 const ParamListBuilder& p) in VendorExtension()
65 for (const Param& p : mParams) { in copyInfoTo() local
193 for (const Param& p : mParams) { in debugString() local
252 for (const Param& p : mParams) { in indexOfParam() local
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/common/src/
Dvidc_vendor_extensions.cpp45 const ParamListBuilder& p) in VendorExtension()
69 for (const Param& p : mParams) { in copyInfoTo() local
209 for (const Param& p : mParams) { in debugString() local
268 for (const Param& p : mParams) { in indexOfParam() local
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/common/src/
Dvidc_vendor_extensions.cpp41 const ParamListBuilder& p) in VendorExtension()
65 for (const Param& p : mParams) { in copyInfoTo() local
205 for (const Param& p : mParams) { in debugString() local
264 for (const Param& p : mParams) { in indexOfParam() local
/hardware/interfaces/health/1.0/default/
Dconvert.cpp104 void convertToHealthInfo(const struct android::BatteryProperties *p, in convertToHealthInfo()
125 struct android::BatteryProperties *p) { in convertFromHealthInfo()
/hardware/nxp/nfc/halimpl/tml/
DphDal4Nfc_messageQueueLib.cc118 phDal4Nfc_message_queue_item_t* p; in phDal4Nfc_msgctl() local
163 phDal4Nfc_message_queue_item_t* p; in phDal4Nfc_msgsnd() local
214 phDal4Nfc_message_queue_item_t* p; in phDal4Nfc_msgrcv() local
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhardware.c113 uint8_t *p, status; in hw_epilog_cback() local
144 uint8_t *p; in hw_epilog_process() local
/hardware/qcom/bt/msm8960/libbt-vendor/src/
Dhardware.c114 uint8_t *p, status; in hw_epilog_cback() local
145 uint8_t *p; in hw_epilog_process() local
/hardware/qcom/sdm845/bt/libbt-vendor/src/
Dhardware.c127 uint8_t *p, status; in hw_epilog_cback() local
168 uint8_t *p; in __hw_epilog_process() local
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dhardware.c128 uint8_t *p, status; in hw_epilog_cback() local
158 uint8_t *p; in __hw_epilog_process() local
/hardware/google/pixel/atrace/
DAtraceDevice.cpp85 for (auto &p : kTracingMap.at(c).paths) { in enableCategories() local
105 for (auto &p : c.second.paths) { in disableAllCategories() local
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dhardware.c126 uint8_t *p, status; in hw_epilog_cback() local
157 uint8_t *p; in hw_epilog_process() local
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhardware.c128 uint8_t *p, status; in hw_epilog_cback() local
159 uint8_t *p; in hw_epilog_process() local

123456