Home
last modified time | relevance | path

Searched refs:q (Results 1 – 23 of 23) sorted by relevance

/hardware/broadcom/wlan/bcm4329/src/shared/
Dbcmutils.c154 struct pktq_prec *q; in pktq_penq() local
162 q = &pq->q[prec]; in pktq_penq()
164 if (q->head) in pktq_penq()
165 PKTSETLINK(q->tail, p); in pktq_penq()
167 q->head = p; in pktq_penq()
169 q->tail = p; in pktq_penq()
170 q->len++; in pktq_penq()
183 struct pktq_prec *q; in pktq_penq_head() local
191 q = &pq->q[prec]; in pktq_penq_head()
193 if (q->head == NULL) in pktq_penq_head()
[all …]
/hardware/broadcom/wlan/bcm4329/src/include/
Dbcmutils.h109 struct pktq_prec q[PKTQ_MAX_PREC]; member
119 struct pktq_prec q[1]; member
134 #define pktq_psetmax(pq, prec, _max) ((pq)->q[prec].max = (_max))
135 #define pktq_plen(pq, prec) ((pq)->q[prec].len)
136 #define pktq_pavail(pq, prec) ((pq)->q[prec].max - (pq)->q[prec].len)
137 #define pktq_pfull(pq, prec) ((pq)->q[prec].len >= (pq)->q[prec].max)
138 #define pktq_pempty(pq, prec) ((pq)->q[prec].len == 0)
140 #define pktq_ppeek(pq, prec) ((pq)->q[prec].head)
141 #define pktq_ppeek_tail(pq, prec) ((pq)->q[prec].tail)
/hardware/ril/rild/
Drild.c144 char buffer[1024], *p, *q; in main() local
215 q = strpbrk( p, " \t\n\r" ); in main()
216 if (q != NULL) in main()
217 *q = 0; in main()
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/
Ddhd_common.c283 dhd_prec_enq(dhd_pub_t *dhdp, struct pktq *q, void *pkt, int prec) in dhd_prec_enq() argument
292 if (!pktq_pfull(q, prec) && !pktq_full(q)) { in dhd_prec_enq()
293 pktq_penq(q, prec, pkt); in dhd_prec_enq()
298 if (pktq_pfull(q, prec)) in dhd_prec_enq()
300 else if (pktq_full(q)) { in dhd_prec_enq()
301 p = pktq_peek_tail(q, &eprec); in dhd_prec_enq()
310 ASSERT(!pktq_pempty(q, eprec)); in dhd_prec_enq()
315 p = discard_oldest ? pktq_pdeq(q, eprec) : pktq_pdeq_tail(q, eprec); in dhd_prec_enq()
326 p = pktq_penq(q, prec, pkt); in dhd_prec_enq()
Ddhd.h241 extern bool dhd_prec_enq(dhd_pub_t *dhdp, struct pktq *q, void *pkt, int prec);
/hardware/libhardware_legacy/gps/
Dgps_qemu.c51 char* q; in nmea_tokenizer_init() local
70 const char* q = p; in nmea_tokenizer_init() local
72 q = memchr(p, ',', end-p); in nmea_tokenizer_init()
73 if (q == NULL) in nmea_tokenizer_init()
74 q = end; in nmea_tokenizer_init()
76 if (q > p) { in nmea_tokenizer_init()
79 t->tokens[count].end = q; in nmea_tokenizer_init()
83 if (q < end) in nmea_tokenizer_init()
84 q += 1; in nmea_tokenizer_init()
86 p = q; in nmea_tokenizer_init()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c1708 int q = 0; in myfree() local
1709 for(q=0;q<500;q++){ in myfree()
1710 if(arr[q]==dp){ in myfree()
1711 printf("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
1714 lines[q]=0; in myfree()
1715 strcpy(file[q],""); in myfree()
1719 if(500==q) in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/
DG726EncTest.c190 int q = 0; in DebugFree() local
195 for(q=0;q<500;q++){ in DebugFree()
196 if(arr[q]==dp){ in DebugFree()
197 printf("__ Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in DebugFree()
200 lines[q]=0; in DebugFree()
201 strcpy(file[q],""); in DebugFree()
205 if(500==q) in DebugFree()
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
DWmaDecTest.c1889 int q; in myfree() local
1890 for(q=0;q<500;q++){ in myfree()
1891 if(arr[q]==dp){ in myfree()
1892 printf("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
1895 lines[q]=0; in myfree()
1896 strcpy(file[q],""); in myfree()
1900 if(500==q) in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/
DWBAmrDecTest.c2091 int q; local
2097 for(q=0;q<500;q++){
2098 if(arr[q]==dp){
2099 printf("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s);
2102 lines[q]=0;
2103 strcpy(file[q],"");
2107 if(500==q)
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/
DAmrEncTest.c222 int q; in mynewfree() local
227 for(q=0;q<500;q++){ in mynewfree()
228 if(arr[q]==dp){ in mynewfree()
229 APP_IPRINT("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in mynewfree()
232 lines[q]=0; in mynewfree()
233 strcpy(file[q],""); in mynewfree()
237 if(500==q) in mynewfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/tests/
DWbAmrEncTest.c204 int q; in mynewfree() local
209 for(q=0;q<500;q++){ in mynewfree()
210 if(arr[q]==dp){ in mynewfree()
211 APP_IPRINT("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in mynewfree()
214 lines[q]=0; in mynewfree()
215 strcpy(file[q],""); in mynewfree()
219 if(500==q) in mynewfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
DOMX_G711Decoder.c2024 int q = 0; in myfree() local
2025 for(q=0;q<500;q++){ in myfree()
2026 if(arr[q]==dp){ in myfree()
2027 … G711DEC_PRINT("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
2030 lines[q]=0; in myfree()
2031 strcpy(file[q],""); in myfree()
2035 if(500==q) in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
DOMX_G726Enc_Utils.c117 int q = 0; in DebugFree() local
122 for(q=0;q<500;q++){ in DebugFree()
123 if(arr[q]==dp){ in DebugFree()
124 printf("__ Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in DebugFree()
125 lines[q]=0; in DebugFree()
126 strcpy(file[q],""); in DebugFree()
132 if(500==q) in DebugFree()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/
DOMX_WbAmrDecoder.c2164 int q; in myfree() local
2170 for(q=0;q<500;q++){ in myfree()
2171 if(arr[q]==dp){ in myfree()
2172 …T(stderr, PRINT, 1, 0, "Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
2175 lines[q]=0; in myfree()
2176 strcpy(file[q],""); in myfree()
2180 if(500==q) in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
DOMX_AmrDecoder.c2336 int q; in myfree() local
2337 for(q=0;q<500;q++){ in myfree()
2338 if(arr[q]==dp){ in myfree()
2339 …T(stderr, ERROR, 4, 0, "Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
2342 lines[q]=0; in myfree()
2343 strcpy(file[q],""); in myfree()
2347 if(500==q) in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/
DOMX_WmaDecoder.c2297 int q; in myfree() local
2298 for(q=0;q<500;q++){ in myfree()
2299 if(arr[q]==dp){ in myfree()
2300 …T(stderr, ERROR, 4, 0, "Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
2303 lines[q]=0; in myfree()
2304 strcpy(file[q],""); in myfree()
2308 if(500==q) in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/
DOMX_Mp3Decoder.c2519 int q; in myfree() local
2520 for(q=0;q<500;q++){ in myfree()
2521 if(arr[q]==dp){ in myfree()
2522 …OMXDBG_PRINT(stderr, PRINT, 2, 0, "Deleting %d bytes on address %p, line %d file %s\n", bytes[q],d… in myfree()
2525 lines[q]=0; in myfree()
2526 strcpy(file[q],""); in myfree()
2530 if(500==q) in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
DOMX_WbAmrEnc_Utils.c125 int q; in myfree() local
130 for(q=0;q<500;q++){ in myfree()
131 if(arr[q]==dp){ in myfree()
132 …T(stderr, ERROR, 4, 0, "Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
135 lines[q]=0; in myfree()
136 strcpy(file[q],""); in myfree()
140 if(500==q) in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/
DOMX_AacEnc_Utils.c3417 int q; in myfree() local
3418 for(q=0;q<500;q++){ in myfree()
3419 if(arr[q]==dp){ in myfree()
3420 …T(stderr, PRINT, 2, 0, "Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
3423 lines[q]=0; in myfree()
3424 strcpy(file[q],""); in myfree()
3428 if(500==q) in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/
DOMX_AmrEnc_Utils.c133 int q; in myfree() local
138 for(q=0;q<500;q++){ in myfree()
139 if(arr[q]==dp){ in myfree()
140 …T(stderr, ERROR, 4, 0, "Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
143 lines[q]=0; in myfree()
144 strcpy(file[q],""); in myfree()
148 if(500==q) in myfree()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/
DOMX_AacDec_Utils.c3825 int q; in myfree() local
3826 for(q=0;q<500;q++){ in myfree()
3827 if(arr[q]==dp){ in myfree()
3828 …T(stderr, ERROR, 4, 0, "Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in myfree()
3831 lines[q]=0; in myfree()
3832 strcpy(file[q],""); in myfree()
3836 if(500==q) in myfree()
/hardware/broadcom/wlan/bcm4329/src/
DGNUmakefile.inc332 elif ! diff -q $(WLCFGDIR)/$(WLTUNEFILE) $(@D)/wlconf.h; then \