Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 111) sorted by relevance

12345

/hardware/libhardware_legacy/uevent/
Duevent.c35 int s; in uevent_init() local
42 s = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT); in uevent_init()
43 if(s < 0) in uevent_init()
46 setsockopt(s, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz)); in uevent_init()
48 if(bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) { in uevent_init()
49 close(s); in uevent_init()
53 fd = s; in uevent_init()
/hardware/libhardware_legacy/gps/
Dgps_qemu.c559 gps_state_done( GpsState* s ) in gps_state_done() argument
564 write( s->control[0], &cmd, 1 ); in gps_state_done()
565 pthread_join(s->thread, &dummy); in gps_state_done()
568 close( s->control[0] ); s->control[0] = -1; in gps_state_done()
569 close( s->control[1] ); s->control[1] = -1; in gps_state_done()
572 close( s->fd ); s->fd = -1; in gps_state_done()
573 s->init = 0; in gps_state_done()
578 gps_state_start( GpsState* s ) in gps_state_start() argument
583 do { ret=write( s->control[0], &cmd, 1 ); } in gps_state_start()
593 gps_state_stop( GpsState* s ) in gps_state_stop() argument
[all …]
/hardware/broadcom/wlan/bcm4329/src/dhd/exe/
Ddhdu_linux.c56 syserr(char *s) in syserr() argument
59 perror(s); in syserr()
69 int s; in dhd_ioctl() local
72 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) in dhd_ioctl()
82 if ((ret = ioctl(s, SIOCDEVPRIVATE, ifr)) < 0) { in dhd_ioctl()
89 close(s); in dhd_ioctl()
96 int s; in dhd_get_dev_type() local
102 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) in dhd_get_dev_type()
111 if ((ret = ioctl(s, SIOCETHTOOL, &ifr)) < 0) { in dhd_get_dev_type()
122 close(s); in dhd_get_dev_type()
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/
DOMX_DebugMem.h35 #define calloc(n,s) OMX_DebugMem_calloc(n,s,__FILE__,__FUNCTION__,__LINE__) argument
36 #define realloc(x,s) OMX_DebugMem_realloc(x,s,__FILE__,__FUNCTION__,__LINE__) argument
/hardware/ril/reference-ril/
Datchannel.c94 static int writeCtrlZ (const char *s);
95 static int writeline (const char *s);
492 static int writeline (const char *s) in writeline() argument
495 size_t len = strlen(s); in writeline()
502 LOGD("AT> %s\n", s); in writeline()
504 AT_DUMP( ">> ", s, strlen(s) ); in writeline()
509 written = write (s_fd, s + cur, len - cur); in writeline()
531 static int writeCtrlZ (const char *s) in writeCtrlZ() argument
534 size_t len = strlen(s); in writeCtrlZ()
541 LOGD("AT> %s^Z\n", s); in writeCtrlZ()
[all …]
Dreference-ril.c1892 static void onUnsolicited (const char *s, const char *sms_pdu) argument
1904 if (strStartsWith(s, "%CTZV:")) {
1908 line = strdup(s);
1914 LOGE("invalid NITZ line %s\n", s);
1920 } else if (strStartsWith(s,"+CRING:")
1921 || strStartsWith(s,"RING")
1922 || strStartsWith(s,"NO CARRIER")
1923 || strStartsWith(s,"+CCWA")
1931 } else if (strStartsWith(s,"+CREG:")
1932 || strStartsWith(s,"+CGREG:")
[all …]
/hardware/broadcom/wlan/bcm4329/src/include/proto/
Dethernet.h121 #define ether_copy(s, d) { \ argument
122 ((short*)d)[0] = ((short*)s)[0]; \
123 ((short*)d)[1] = ((short*)s)[1]; \
124 ((short*)d)[2] = ((short*)s)[2]; }
D802.11.h773 #define FC_SUBTYPE_ANY_QOS(s) (((s) & 8) != 0) argument
774 #define FC_SUBTYPE_ANY_NULL(s) (((s) & 4) != 0) argument
775 #define FC_SUBTYPE_ANY_CF_POLL(s) (((s) & 2) != 0) argument
776 #define FC_SUBTYPE_ANY_CF_ACK(s) (((s) & 1) != 0) argument
781 #define FC_KIND(t, s) (((t) << FC_TYPE_SHIFT) | ((s) << FC_SUBTYPE_SHIFT)) argument
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/
DVPPTest.h106 (_s_)->nVersion.s.nVersionMajor = 1; \
107 (_s_)->nVersion.s.nVersionMinor = 0; \
108 (_s_)->nVersion.s.nRevision = 0; \
109 (_s_)->nVersion.s.nStep = 0; \
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/
DPERF.awk160 s = xx ? (x * x / xx) : 0;
161 result = 1/x " fps (s=" s ") (from " N " data points)";
168 s = xx ? (x * x / xx) : 1;
169 result = 1/x " fps (s=" s ") (from " N " data points)";
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/test/
DVideoEncTest.c806 pAppData->pInPortDef->nVersion.s.nVersionMajor = 0x1; in VIDENCTEST_SetH264Parameter()
807 pAppData->pInPortDef->nVersion.s.nVersionMinor = 0x0; in VIDENCTEST_SetH264Parameter()
808 pAppData->pInPortDef->nVersion.s.nRevision = 0x0; in VIDENCTEST_SetH264Parameter()
809 pAppData->pInPortDef->nVersion.s.nStep = 0x0; in VIDENCTEST_SetH264Parameter()
849 pAppData->pOutPortDef->nVersion.s.nVersionMajor = 0x1; in VIDENCTEST_SetH264Parameter()
850 pAppData->pOutPortDef->nVersion.s.nVersionMinor = 0x0; in VIDENCTEST_SetH264Parameter()
851 pAppData->pOutPortDef->nVersion.s.nRevision = 0x0; in VIDENCTEST_SetH264Parameter()
852 pAppData->pOutPortDef->nVersion.s.nStep = 0x0; in VIDENCTEST_SetH264Parameter()
881 pAppData->pH264->nVersion.s.nVersionMajor = 0x1; in VIDENCTEST_SetH264Parameter()
882 pAppData->pH264->nVersion.s.nVersionMinor = 0x0; in VIDENCTEST_SetH264Parameter()
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/inc/
DOMX_VideoDec_Utils.h1033 (_s_)->nVersion.s.nVersionMajor = VERSION_MAJOR; \
1034 (_s_)->nVersion.s.nVersionMinor = VERSION_MINOR; \
1035 (_s_)->nVersion.s.nRevision = VERSION_REVISION; \
1036 (_s_)->nVersion.s.nStep = VERSION_STEP; \
1038 (_s_)->nVersion.s.nVersionMajor, (_s_)->nVersion.s.nVersionMinor, \
1039 (_s_)->nVersion.s.nRevision, (_s_)->nVersion.s.nStep);
1043 (_s_)->nSize, (_s_)->nVersion.s.nVersionMajor, (_s_)->nVersion.s.nVersionMinor, \
1044 (_s_)->nVersion.s.nRevision, (_s_)->nVersion.s.nStep); \
1046 if(((_s_)->nVersion.s.nVersionMajor != VERSION_MAJOR)|| \
1047 ((_s_)->nVersion.s.nVersionMinor != VERSION_MINOR)|| \
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/inc/
DOMX_VideoEnc_Utils.h325 if(((_s_)->nVersion.s.nVersionMajor != 0x1)|| \
326 ((_s_)->nVersion.s.nVersionMinor != 0x0)|| \
327 ((_s_)->nVersion.s.nRevision != 0x0)|| \
328 ((_s_)->nVersion.s.nStep != 0x0)) _e_ = OMX_ErrorVersionMismatch;\
340 (_s_)->nVersion.s.nVersionMajor = 0x1; \
341 (_s_)->nVersion.s.nVersionMinor = 0x0; \
342 (_s_)->nVersion.s.nRevision = 0x0; \
343 (_s_)->nVersion.s.nStep = 0x0; \
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c103 void * mymalloc(int line, char *s, int size);
104 int myfree(void *dp, int line, char *s);
785 pCompPrivateStruct->nVersion.s.nVersionMajor = 0xF1; in main()
786 pCompPrivateStruct->nVersion.s.nVersionMinor = 0xF2; in main()
836 pCompPrivateStructMute->nVersion.s.nVersionMajor = 0xF1; in main()
837 pCompPrivateStructMute->nVersion.s.nVersionMinor = 0xF2; in main()
843 pCompPrivateStructVolume->nVersion.s.nVersionMajor = 0xF1; in main()
844 pCompPrivateStructVolume->nVersion.s.nVersionMinor = 0xF2; in main()
925 pG711Param->nVersion.s.nVersionMajor = 0xF1; in main()
926 pG711Param->nVersion.s.nVersionMinor = 0xF2; in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/
DWBAmrDecTest.c154 void * mymalloc(int line, char *s, int size);
155 int myfree(void *dp, int line, char *s);
842 pCompPrivateStruct->nVersion.s.nVersionMajor = 0xF1;
843 pCompPrivateStruct->nVersion.s.nVersionMinor = 0xF2;
888 pCompPrivateStruct->nVersion.s.nVersionMajor = 0xF1;
889 pCompPrivateStruct->nVersion.s.nVersionMinor = 0xF2;
920 pAmrParam->nVersion.s.nVersionMajor = 0xF1;
921 pAmrParam->nVersion.s.nVersionMinor = 0xF2;
1141 pCompPrivateStructMute->nVersion.s.nVersionMajor = 0xF1;
1142 pCompPrivateStructMute->nVersion.s.nVersionMinor = 0xF2;
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/tests/
DWbAmrEncTest.c181 void * mynewmalloc(int line, char *s, int size) in mynewmalloc() argument
197 strcpy(file[e],s); in mynewmalloc()
198 … APP_IPRINT("Allocating %d bytes on address %p, line %d file %s pos %d\n", size, p, line, s, e); in mynewmalloc()
203 int mynewfree(void *dp, int line, char *s){ in mynewfree() argument
211 APP_IPRINT("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in mynewfree()
220 APP_IPRINT("\n\nPointer not found. Line:%d File%s!!\n\n",line, s); in mynewfree()
242 (_s_)->nVersion.s.nVersionMajor = 0x1; \
243 (_s_)->nVersion.s.nVersionMinor = 0x0; \
244 (_s_)->nVersion.s.nRevision = 0x0; \
245 (_s_)->nVersion.s.nStep = 0x0
[all …]
/hardware/broadcom/wlan/
D.gitignore16 *.s
41 # quilt's files
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/
DG726EncTest.c167 void * DebugMalloc(int line, char *s, int size) in DebugMalloc() argument
183 strcpy(file[e],s); in DebugMalloc()
184 printf("__ Allocating %d bytes on address %p, line %d file %s\n", size, p, line, s); in DebugMalloc()
189 int DebugFree(void *dp, int line, char *s){ in DebugFree() argument
197 printf("__ Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in DebugFree()
206 printf("\n\__ nPointer not found. Line:%d File%s!!\n\n",line, s); in DebugFree()
223 (_s_)->nVersion.s.nVersionMajor = 0x1; \
224 (_s_)->nVersion.s.nVersionMinor = 0x0; \
225 (_s_)->nVersion.s.nRevision = 0x0; \
226 (_s_)->nVersion.s.nStep = 0x0
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/inc/
DOMX_G729Decoder.h196 (_s_)->nVersion.s.nVersionMajor = 0x1; \
197 (_s_)->nVersion.s.nVersionMinor = 0x1; \
198 (_s_)->nVersion.s.nRevision = 0x0; \
199 (_s_)->nVersion.s.nStep = 0x0;
/hardware/ril/rild/
Drild.c72 char * s = args; in make_argv() local
74 while ((tok = strtok(s, " \0"))) { in make_argv()
76 s = NULL; in make_argv()
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/
DAmrEncTest.c199 void * mynewmalloc(int line, char *s, int size) in mynewmalloc() argument
215 strcpy(file[e],s); in mynewmalloc()
216 … APP_IPRINT("Allocating %d bytes on address %p, line %d file %s pos %d\n", size, p, line, s, e); in mynewmalloc()
221 int mynewfree(void *dp, int line, char *s){ in mynewfree() argument
229 APP_IPRINT("Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); in mynewfree()
238 APP_IPRINT("\n\nPointer not found. Line:%d File%s!!\n\n",line, s); in mynewfree()
259 (_s_)->nVersion.s.nVersionMajor = 0x1; \
260 (_s_)->nVersion.s.nVersionMinor = 0x0; \
261 (_s_)->nVersion.s.nRevision = 0x0; \
262 (_s_)->nVersion.s.nStep = 0x0
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/inc/
DOMX_G726Enc_Utils.h152 (_s_)->nVersion.s.nVersionMajor = 0x1; \
153 (_s_)->nVersion.s.nVersionMinor = 0x0; \
154 (_s_)->nVersion.s.nRevision = 0x0; \
155 (_s_)->nVersion.s.nStep = 0x0
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/inc/
DOMX_G722Enc_Utils.h277 (_s_)->nVersion.s.nVersionMajor = 0x1; \
278 (_s_)->nVersion.s.nVersionMinor = 0x1; \
279 (_s_)->nVersion.s.nRevision = 0x0; \
280 (_s_)->nVersion.s.nStep = 0x0
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/inc/
DOMX_G711Decoder.h228 (_s_)->nVersion.s.nVersionMajor = 0x1; \
229 (_s_)->nVersion.s.nVersionMinor = 0x0; \
230 (_s_)->nVersion.s.nRevision = 0x0; \
231 (_s_)->nVersion.s.nStep = 0x0
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/inc/
DOMX_G722Dec_Utils.h204 (_s_)->nVersion.s.nVersionMajor = 0x1; \
205 (_s_)->nVersion.s.nVersionMinor = 0x0; \
206 (_s_)->nVersion.s.nRevision = 0x0; \
207 (_s_)->nVersion.s.nStep = 0x0

12345