Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 67) sorted by relevance

123

/hardware/ril/libril/
Dril.cpp120 void (*dispatchFunction) (Parcel &p, struct RequestInfo *pRI);
121 int(*responseFunction) (Parcel &p, void *response, size_t responselen);
126 int (*responseFunction) (Parcel &p, void *response, size_t responselen);
195 static void dispatchVoid (Parcel& p, RequestInfo *pRI);
196 static void dispatchString (Parcel& p, RequestInfo *pRI);
197 static void dispatchStrings (Parcel& p, RequestInfo *pRI);
198 static void dispatchInts (Parcel& p, RequestInfo *pRI);
199 static void dispatchDial (Parcel& p, RequestInfo *pRI);
200 static void dispatchSIM_IO (Parcel& p, RequestInfo *pRI);
201 static void dispatchCallForward(Parcel& p, RequestInfo *pRI);
[all …]
/hardware/broadcom/wlan/bcm4329/dhdutil/
Dbcmutils.c60 pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktcopy() argument
68 for (; p && offset; p = PKTNEXT(osh, p)) { in pktcopy()
69 if (offset < (uint)PKTLEN(osh, p)) in pktcopy()
71 offset -= PKTLEN(osh, p); in pktcopy()
74 if (!p) in pktcopy()
78 for (; p && len; p = PKTNEXT(osh, p)) { in pktcopy()
79 n = MIN((uint)PKTLEN(osh, p) - offset, (uint)len); in pktcopy()
80 bcopy(PKTDATA(osh, p) + offset, buf, n); in pktcopy()
92 pktfrombuf(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktfrombuf() argument
97 for (; p && offset; p = PKTNEXT(osh, p)) { in pktfrombuf()
[all …]
Dminiopt.c58 char *p, *eq, *valstr, *endptr = NULL; in miniopt() local
74 p = *argv++; in miniopt()
77 if (!t->opt_end && !strcmp(p, "--")) { in miniopt()
83 p = *argv++; in miniopt()
89 valstr = p; in miniopt()
91 else if (!strncmp(p, "--", 2)) { in miniopt()
92 eq = strchr(p, '='); in miniopt()
95 "%s: missing \" = \" in long param \"%s\"\n", t->name, p); in miniopt()
99 keylen = eq ? (eq - (p + 2)) : (int)strlen(p) - 2; in miniopt()
101 memcpy(t->key, p + 2, keylen); in miniopt()
[all …]
Ddhdu.c534 char* p; in dhd_hexdump() local
542 p = line; in dhd_hexdump()
545 p += sprintf(p, "%08x: ", saddr + i); /* line prefix */ in dhd_hexdump()
547 p += sprintf(p, "%02x ", buf[i]); in dhd_hexdump()
550 p += sprintf(p, " "); in dhd_hexdump()
552 p += sprintf(p, "%c", in dhd_hexdump()
555 p = line; in dhd_hexdump()
560 if (p != line) in dhd_hexdump()
2270 char *p; in dhd_var_setint() local
2298 p = buf; in dhd_var_setint()
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c60 pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktcopy() argument
68 for (; p && offset; p = PKTNEXT(osh, p)) { in pktcopy()
69 if (offset < (uint)PKTLEN(osh, p)) in pktcopy()
71 offset -= PKTLEN(osh, p); in pktcopy()
74 if (!p) in pktcopy()
78 for (; p && len; p = PKTNEXT(osh, p)) { in pktcopy()
79 n = MIN((uint)PKTLEN(osh, p) - offset, (uint)len); in pktcopy()
80 bcopy(PKTDATA(osh, p) + offset, buf, n); in pktcopy()
92 pktfrombuf(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktfrombuf() argument
97 for (; p && offset; p = PKTNEXT(osh, p)) { in pktfrombuf()
[all …]
Dminiopt.c58 char *p, *eq, *valstr, *endptr = NULL; in miniopt() local
74 p = *argv++; in miniopt()
77 if (!t->opt_end && !strcmp(p, "--")) { in miniopt()
83 p = *argv++; in miniopt()
89 valstr = p; in miniopt()
91 else if (!strncmp(p, "--", 2)) { in miniopt()
92 eq = strchr(p, '='); in miniopt()
95 "%s: missing \" = \" in long param \"%s\"\n", t->name, p); in miniopt()
99 keylen = eq ? (eq - (p + 2)) : (int)strlen(p) - 2; in miniopt()
101 memcpy(t->key, p + 2, keylen); in miniopt()
[all …]
Ddhdu.c534 char* p; in dhd_hexdump() local
542 p = line; in dhd_hexdump()
545 p += sprintf(p, "%08x: ", saddr + i); /* line prefix */ in dhd_hexdump()
547 p += sprintf(p, "%02x ", buf[i]); in dhd_hexdump()
550 p += sprintf(p, " "); in dhd_hexdump()
552 p += sprintf(p, "%c", in dhd_hexdump()
555 p = line; in dhd_hexdump()
560 if (p != line) in dhd_hexdump()
2270 char *p; in dhd_var_setint() local
2298 p = buf; in dhd_var_setint()
[all …]
/hardware/ril/mock-ril/src/cpp/
Dworker.cpp156 r->p, r->time); in Worker()
169 r->p, r->time, delay_ms); in Worker()
181 void *p = r->p; in Worker() local
184 wq->Process(r->p); in Worker()
236 struct WorkerQueue::Record *WorkerQueue::obtain_record(void *p, int delay_in_ms) { in obtain_record() argument
246 r->p = p; in obtain_record()
266 void WorkerQueue::Add(void *p) { in Add() argument
269 struct Record *r = obtain_record(p, 0); in Add()
278 void WorkerQueue::AddDelayed(void *p, int delay_in_ms) { in AddDelayed() argument
281 Add(p); in AddDelayed()
[all …]
Dworker.h109 void *p; member
127 struct Record *obtain_record(void *p, int delay_in_ms);
140 void Add(void *p);
142 void AddDelayed(void *p, int delay_in_ms);
Dexperiments.cpp45 void *p = q.front(); in testStlPort() local
46 if (p == param) { in testStlPort()
60 void *p = wrap->Value(); in GetReqScreenState() local
61 int state = static_cast<int *>(p)[0]; in GetReqScreenState()
100 int *p = new int; in callOnRilRequest() local
101 *p = ((int *)data)[0]; in callOnRilRequest()
103 params_obj->SetInternalField(0, v8::External::New(p)); in callOnRilRequest()
Dnode_buffer.cpp189 char *p = buffer->data(); in New() local
191 p[i] = a->Get(i)->Uint32Value(); in New()
280 char *p = blob_->data + off_; in data() local
281 DBG("Buffer::data() EX p=%p", p); in data()
282 return p; in data()
439 const char *p = buffer->data() + offset; in Utf8Write() local
443 int written = s->WriteUtf8((char*)p, in Utf8Write()
451 if (written > 0 && p[written-1] == '\0') written--; in Utf8Write()
481 const char *p = buffer->data() + offset; in AsciiWrite() local
485 int written = s->WriteAscii((char*)p, 0, towrite, String::HINT_MANY_WRITES_EXPECTED); in AsciiWrite()
[all …]
/hardware/msm7k/dspcrashd/
Ddspcrashd.c55 char *p = buffer; in dump_dmesg() local
64 while((ret = write(fd, p, n))) { in dump_dmesg()
70 p += ret; in dump_dmesg()
81 char **p = props; in dump_info() local
84 while (*p) { in dump_info()
85 property_get(*p,val,""); in dump_info()
86 sprintf(buf,"%s: %s\n", *p, val); in dump_info()
88 p++; in dump_info()
/hardware/ti/omap4xxx/camera/
DCameraHal.cpp3206 CameraParameters &p = mParameters; in insertSupportedParams() local
3209p.set(TICameraParameters::KEY_CAMERA_NAME, mCameraProperties->get(CameraProperties::CAMERA_NAME)); in insertSupportedParams()
3213p.set(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES, mCameraProperties->get(CameraProperties::SUPP… in insertSupportedParams()
3214p.set(CameraParameters::KEY_SUPPORTED_PICTURE_FORMATS, mCameraProperties->get(CameraProperties::SU… in insertSupportedParams()
3215p.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, mCameraProperties->get(CameraProperties::SUPP… in insertSupportedParams()
3216p.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS, mCameraProperties->get(CameraProperties::SU… in insertSupportedParams()
3217p.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES, mCameraProperties->get(CameraProperties… in insertSupportedParams()
3218p.set(CameraParameters::KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES, mCameraProperties->get(CameraPropertie… in insertSupportedParams()
3219p.set(CameraParameters::KEY_SUPPORTED_WHITE_BALANCE, mCameraProperties->get(CameraProperties::SUPP… in insertSupportedParams()
3220p.set(CameraParameters::KEY_SUPPORTED_EFFECTS, mCameraProperties->get(CameraProperties::SUPPORTED_… in insertSupportedParams()
[all …]
/hardware/invensense/mlsdk/mllite/
DmlMathFunc.c310 float inv_matrix_det(float *p, int *n) in inv_matrix_det() argument
316 return (*p ** (p + 11) - *(p + 1) ** (p + 10)); in inv_matrix_det()
319 inv_matrix_det_inc(p, &d[0][0], n, i, j); in inv_matrix_det()
321 sum + *(p + 10 * i + j) * SIGNM(i + j) * inv_matrix_det(&d[0][0], in inv_matrix_det()
328 double inv_matrix_detd(double *p, int *n) in inv_matrix_detd() argument
334 return (*p ** (p + 11) - *(p + 1) ** (p + 10)); in inv_matrix_detd()
337 inv_matrix_det_incd(p, &d[0][0], n, i, j); in inv_matrix_detd()
339 sum + *(p + 10 * i + j) * SIGNM(i + j) * inv_matrix_detd(&d[0][0], in inv_matrix_detd()
DmlMathFunc.h58 float inv_matrix_det(float *p, int *n);
60 double inv_matrix_detd(double *p, int *n);
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCapabilities.cpp795 const char *p; in insertWBModes() local
802 p = getLUTvalue_OMXtoHAL(caps.eWhiteBalanceModes[i], WBalLUT); in insertWBModes()
803 if ( NULL != p ) { in insertWBModes()
804 strncat(supported, p, MAX_PROP_NAME_LENGTH); in insertWBModes()
819 const char *p; in insertEffects() local
826 p = getLUTvalue_OMXtoHAL(caps.eColorEffects[i], EffLUT); in insertEffects()
827 if ( NULL != p ) { in insertEffects()
828 strncat(supported, p, MAX_PROP_NAME_LENGTH); in insertEffects()
843 const char *p; in insertExpModes() local
850 p = getLUTvalue_OMXtoHAL(caps.eExposureModes[i], ExpLUT); in insertExpModes()
[all …]
/hardware/ti/omap3/omx/ti_omx_config_parser/src/
Dti_video_config_parser.cpp37 #define LoadBYTE( b, p ) b = *(uint8 *)p; p += sizeof( uint8 ) argument
39 #define LoadWORD( w, p ) GetUnalignedWordEx( p, w ) argument
40 #define LoadDWORD( dw, p ) GetUnalignedDwordEx( p, dw ) argument
41 #define LoadQWORD( qw, p ) GetUnalignedQwordEx( p, qw ) argument
/hardware/broadcom/wlan/bcm4329/dhdutil/include/
Dbcmutils.h159 void *p; member
210 extern void pktpool_free(pktpool_t *pktp, void *p);
211 extern int pktpool_add(pktpool_t *pktp, void *p);
225 extern int pktpool_start_trigger(pktpool_t *pktp, void *p);
249 extern void *pktq_penq(struct pktq *pq, int prec, void *p);
250 extern void *pktq_penq_head(struct pktq *pq, int prec, void *p);
257 extern bool pktq_pdel(struct pktq *pq, void *p, int prec);
273 #define pktenq(pq, p) pktq_penq(((struct pktq *)pq), 0, (p)) argument
274 #define pktenq_head(pq, p) pktq_penq_head(((struct pktq *)pq), 0, (p)) argument
289 extern uint pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf);
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h159 void *p; member
210 extern void pktpool_free(pktpool_t *pktp, void *p);
211 extern int pktpool_add(pktpool_t *pktp, void *p);
225 extern int pktpool_start_trigger(pktpool_t *pktp, void *p);
249 extern void *pktq_penq(struct pktq *pq, int prec, void *p);
250 extern void *pktq_penq_head(struct pktq *pq, int prec, void *p);
257 extern bool pktq_pdel(struct pktq *pq, void *p, int prec);
273 #define pktenq(pq, p) pktq_penq(((struct pktq *)pq), 0, (p)) argument
274 #define pktenq_head(pq, p) pktq_penq_head(((struct pktq *)pq), 0, (p)) argument
289 extern uint pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf);
[all …]
/hardware/ril/rild/
Drild.c146 char buffer[1024], *p, *q; in main() local
214 p = strstr( buffer, KERNEL_OPTION ); in main()
215 if (p == NULL) in main()
218 p += sizeof(KERNEL_OPTION)-1; in main()
219 q = strpbrk( p, " \t\n\r" ); in main()
223 snprintf( arg_device, sizeof(arg_device), DEV_PREFIX "%s", p ); in main()
/hardware/ti/omap4xxx/
Dmapinfo.c11 while (p <= end) {
12 data = ptrace(PTRACE_PEEKTEXT, pid, (void*)p, NULL);
14 " %08x %08x %s\n", p, data,
16 p += 4;
/hardware/msm7k/libgralloc-qsd8k/
Dallocator.cpp145 chunk_t* const p = cur->prev; in dealloc() local
147 if (p && (p->free || !cur->size)) { in dealloc()
148 freed = p; in dealloc()
149 p->size += cur->size; in dealloc()
/hardware/msm7k/libgralloc/
Dallocator.cpp145 chunk_t* const p = cur->prev; in dealloc() local
147 if (p && (p->free || !cur->size)) { in dealloc()
148 freed = p; in dealloc()
149 p->size += cur->size; in dealloc()
/hardware/ti/omap4xxx/libtiutils/
DMessageQueue.cpp117 char* p = (char*) msg; in get() local
122 int err = read(this->fd_read, p, sizeof(*msg) - read_bytes); in get()
191 char* p = (char*) msg; in put() local
213 int err = write(this->fd_write, p, sizeof(*msg) - bytes); in put()
/hardware/msm7k/libcamera/
DQualcommCameraHardware.cpp312 CameraParameters p; in initDefaultParameters() local
315 p.setPreviewSize(ps->width, ps->height); in initDefaultParameters()
316 p.setPreviewFrameRate(15); in initDefaultParameters()
317 p.setPreviewFormat("yuv420sp"); in initDefaultParameters()
318 p.setPictureFormat("jpeg"); // we do not look at this currently in initDefaultParameters()
319 p.setPictureSize(2048, 1536); in initDefaultParameters()
320 p.set("jpeg-quality", "100"); // maximum quality in initDefaultParameters()
324 p.set("jpeg-thumbnail-width", "512"); in initDefaultParameters()
325 p.set("jpeg-thumbnail-height", "384"); in initDefaultParameters()
326 p.set("jpeg-thumbnail-quality", "90"); in initDefaultParameters()
[all …]

123