Home
last modified time | relevance | path

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

12345678910

/hardware/qcom/display/liboverlay/
DmdpWrapper.h83 void dump(const char* const s, const msmfb_overlay_data& ov);
84 void dump(const char* const s, const msmfb_data& ov);
85 void dump(const char* const s, const mdp_overlay& ov);
86 void dump(const char* const s, const msmfb_overlay_3d& ov);
87 void dump(const char* const s, const uint32_t u[], uint32_t cnt);
88 void dump(const char* const s, const msmfb_img& ov);
89 void dump(const char* const s, const mdp_rect& ov);
92 void dump(const char* const s, const msm_rotator_img_info& rot);
93 void dump(const char* const s, const msm_rotator_data_info& rot);
96 void dump(const char* const s, const fb_fix_screeninfo& finfo);
[all …]
/hardware/ril/mock-ril/src/python/
Dtcs.py34 def recvall(s, count): argument
47 data = s.recv(count)
55 def sendall(s, data): argument
65 s.sendall(data)
75 def sendHeader(self, s): argument
91 sendall(s, len_msg_header_raw)
92 sendall(s, mhser)
94 def recvHeader(self, s): argument
96 len_msg_header_raw = recvall(s, 4)
99 mh_raw = recvall(s, len_msg_hdr[0])
[all …]
/hardware/ti/wlan/wl1271/platforms/os/linux/src/
DosRgstry_parser.c110 char * ltrim(char *s ) in ltrim() argument
112 while( *s == ' ' || *s == '\t' ) s++; in ltrim()
113 return s; in ltrim()
120 char *s, *buf = init_file, *end_buf = init_file + init_file_length; in NdisReadConfiguration() local
140 s = mem_str(buf, name, end_buf); in NdisReadConfiguration()
141 if( !s ) in NdisReadConfiguration()
144 buf = ltrim(s + strlen(name)); in NdisReadConfiguration()
149 buf = s + 1; /*strlen(name);*/ in NdisReadConfiguration()
157 s = strchr(buf, '\n'); in NdisReadConfiguration()
158 if( !s ) in NdisReadConfiguration()
[all …]
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_agps.cpp104 bool BITSubscriber::equals(const Subscriber *s) const in equals()
106 BITSubscriber* bitS = (BITSubscriber*)s; in equals()
613 Subscriber* s = (Subscriber*)~0; in notifySubscribers() local
614 while (NULL != s) { in notifySubscribers()
615 s = NULL; in notifySubscribers()
620 linked_list_search(mSubscribers, (void**)&s, notifySubscriber, in notifySubscribers()
633 Subscriber* s = NULL; in addSubscriber() local
635 linked_list_search(mSubscribers, (void**)&s, in addSubscriber()
638 if (NULL == s) { in addSubscriber()
645 Subscriber* s = NULL; in sendRsrcRequest() local
[all …]
Dloc_eng_ni.cpp81 EXIT_LOG(%s, "loc_eng_ni_init hasn't happened yet."); in loc_eng_ni_request_handler()
137 EXIT_LOG(%s, VOID_RET); in loc_eng_ni_request_handler()
202 EXIT_LOG(%s, VOID_RET); in ni_thread_proc()
212 EXIT_LOG(%s, "loc_eng_ni_init hasn't happened yet."); in loc_eng_ni_reset_on_engine_restart()
229 EXIT_LOG(%s, VOID_RET); in loc_eng_ni_reset_on_engine_restart()
253 EXIT_LOG(%s, "loc_eng_ni_init: failed, no cb."); in loc_eng_ni_init()
255 EXIT_LOG(%s, "loc_eng_ni_init: already inited."); in loc_eng_ni_init()
266 EXIT_LOG(%s, VOID_RET); in loc_eng_ni_init()
293 EXIT_LOG(%s, "loc_eng_ni_init hasn't happened yet."); in loc_eng_ni_respond()
312 EXIT_LOG(%s, VOID_RET); in loc_eng_ni_respond()
Dloc.cpp264 EXIT_LOG(%s, VOID_RET); in loc_cleanup()
437 EXIT_LOG(%s, VOID_RET); in loc_delete_aiding_data()
542 EXIT_LOG(%s, VOID_RET); in loc_agps_init()
764 EXIT_LOG(%s, VOID_RET); in loc_ni_init()
787 EXIT_LOG(%s, VOID_RET); in loc_ni_respond()
818 EXIT_LOG(%s, VOID_RET); in loc_agps_ril_update_network_availability()
842 EXIT_LOG(%s, loc_logger_boolStr[ret_val!=0]); in loc_inject_raw_command()
859 EXIT_LOG(%s, VOID_RET); in loc_cb()
869 EXIT_LOG(%s, VOID_RET); in sv_cb()
/hardware/samsung_slsi/exynos5/libswconverter/
DAndroid.mk9 csc_tiled_to_linear_y_neon.s \
10 csc_tiled_to_linear_uv_neon.s \
11 csc_tiled_to_linear_uv_deinterleave_neon.s \
12 csc_interleave_memcpy_neon.s \
13 csc_ARGB8888_to_YUV420SP_NEON.s
/hardware/libhardware_legacy/uevent/
Duevent.c46 int s; in uevent_init() local
53 s = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT); in uevent_init()
54 if(s < 0) in uevent_init()
57 setsockopt(s, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz)); in uevent_init()
59 if(bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) { in uevent_init()
60 close(s); in uevent_init()
64 fd = s; in uevent_init()
/hardware/invensense/libsensors/
DMPLSensor.cpp603 void MPLSensor::gyroHandler(sensors_event_t* s, uint32_t* pending_mask, in gyroHandler() argument
608 res = inv_get_float_array(INV_GYROS, s->gyro.v); in gyroHandler()
609 s->gyro.v[0] = s->gyro.v[0] * M_PI / 180.0; in gyroHandler()
610 s->gyro.v[1] = s->gyro.v[1] * M_PI / 180.0; in gyroHandler()
611 s->gyro.v[2] = s->gyro.v[2] * M_PI / 180.0; in gyroHandler()
612 s->gyro.status = mMpuAccuracy; in gyroHandler()
617 void MPLSensor::accelHandler(sensors_event_t* s, uint32_t* pending_mask, in accelHandler() argument
622 res = inv_get_float_array(INV_ACCELS, s->acceleration.v); in accelHandler()
624 s->acceleration.v[0] = s->acceleration.v[0] * 9.81; in accelHandler()
625 s->acceleration.v[1] = s->acceleration.v[1] * 9.81; in accelHandler()
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
Dethernet.h125 #define ether_copy(s, d) { \ argument
126 ((short*)(d))[0] = ((const short*)(s))[0]; \
127 ((short*)(d))[1] = ((const short*)(s))[1]; \
128 ((short*)(d))[2] = ((const short*)(s))[2]; }
148 #define ETHER_MOVE_HDR(d, s) \ argument
151 t = *(struct ether_header *)(s); \
/hardware/broadcom/wlan/bcm4329/dhdutil/include/proto/
Dethernet.h123 #define ether_copy(s, d) { \ argument
124 ((short*)d)[0] = ((short*)s)[0]; \
125 ((short*)d)[1] = ((short*)s)[1]; \
126 ((short*)d)[2] = ((short*)s)[2]; }
146 #define ETHER_MOVE_HDR(d, s) \ argument
149 t = *(struct ether_header *)(s); \
/hardware/invensense/libsensors_iio/
DMPLSensor.cpp1272 int MPLSensor::gyroHandler(sensors_event_t* s) in gyroHandler() argument
1276 update = inv_get_sensor_type_gyroscope(s->gyro.v, &s->gyro.status, &s->timestamp); in gyroHandler()
1278 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update); in gyroHandler()
1282 int MPLSensor::rawGyroHandler(sensors_event_t* s) in rawGyroHandler() argument
1286 update = inv_get_sensor_type_gyroscope_raw(s->gyro.v, &s->gyro.status, &s->timestamp); in rawGyroHandler()
1288 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update); in rawGyroHandler()
1292 int MPLSensor::accelHandler(sensors_event_t* s) in accelHandler() argument
1297 s->acceleration.v, &s->acceleration.status, &s->timestamp); in accelHandler()
1299 s->acceleration.v[0], s->acceleration.v[1], s->acceleration.v[2], in accelHandler()
1300 s->timestamp, update); in accelHandler()
[all …]
DInputEventReader.cpp80 size_t s = mHead - mBufferEnd; in fill() local
81 memcpy(mBuffer, mBufferEnd, s * sizeof(input_event)); in fill()
82 mHead = mBuffer + s; in fill()
/hardware/broadcom/wlan/bcm4329/dhdutil/
Ddhdu_linux.c80 syserr(char *s) in syserr() argument
83 perror(s); in syserr()
96 int s; in dhd_ioctl() local
102 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) in dhd_ioctl()
113 if ((ret = ioctl(s, SIOCDEVPRIVATE, ifr)) < 0) { in dhd_ioctl()
120 close(s); in dhd_ioctl()
140 int s; in dhd_get_dev_type() local
146 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) in dhd_get_dev_type()
156 if ((ret = ioctl(s, SIOCETHTOOL, &ifr)) < 0) { in dhd_get_dev_type()
167 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/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/include/exynos/
DExynos_OMX_Macros.h47 (_struct_)->nVersion.s.nVersionMajor = VERSIONMAJOR_NUMBER; \
48 (_struct_)->nVersion.s.nVersionMinor = VERSIONMINOR_NUMBER; \
49 (_struct_)->nVersion.s.nRevision = REVISION_NUMBER; \
50 (_struct_)->nVersion.s.nStep = STEP_NUMBER; \
/hardware/ti/omap4xxx/domx/omx_core/inc/
DOMX_DebugMem.h59 #define calloc(n,s) OMX_DebugMem_calloc(n,s,__FILE__,__FUNCTION__,__LINE__) argument
60 #define realloc(x,s) OMX_DebugMem_realloc(x,s,__FILE__,__FUNCTION__,__LINE__) argument
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/
Domx_proxy_videodec.c221 tParamStruct.nVersion.s.nVersionMajor = OMX_VER_MAJOR; in OMX_ProxyViddecInit()
222 tParamStruct.nVersion.s.nVersionMinor = OMX_VER_MINOR; in OMX_ProxyViddecInit()
223 tParamStruct.nVersion.s.nRevision = 0x0; in OMX_ProxyViddecInit()
224 tParamStruct.nVersion.s.nStep = 0x0; in OMX_ProxyViddecInit()
557 sPortDef.nVersion.s.nVersionMajor = OMX_VER_MAJOR; in RPC_UTIL_SetStrideAndPadding()
558 sPortDef.nVersion.s.nVersionMinor = OMX_VER_MINOR; in RPC_UTIL_SetStrideAndPadding()
559 sPortDef.nVersion.s.nRevision = 0x0; in RPC_UTIL_SetStrideAndPadding()
560 sPortDef.nVersion.s.nStep = 0x0; in RPC_UTIL_SetStrideAndPadding()
577 tParamStruct.nVersion.s.nVersionMajor = OMX_VER_MAJOR; in RPC_UTIL_SetStrideAndPadding()
578 tParamStruct.nVersion.s.nVersionMinor = OMX_VER_MINOR; in RPC_UTIL_SetStrideAndPadding()
[all …]
/hardware/ti/wlan/wl1271/CUDK/os/linux/src/
Dosapi.c196 U32 os_strlen(const PS8 s) in os_strlen() argument
198 return strlen((char*)s); in os_strlen()
260 PVOID os_memset(PVOID s, U8 c, U32 n) in os_memset() argument
262 return memset(s, c, n); in os_memset()
344 PS8 os_strchr(const PS8 s, S32 c) in os_strchr() argument
346 return (PS8)strchr((char*)s,c); in os_strchr()
476 inline PS8 os_fgets(PS8 s, S32 size, PVOID stream) in os_fgets() argument
478 return (PS8)fgets((char*)s, size, stream); in os_fgets()
/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 ALOGD("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 ALOGD("AT> %s^Z\n", s); in writeCtrlZ()
[all …]
/hardware/ril/mock-ril/src/cpp/
Dctrl_server.cpp76 int WriteAll(int s, void *data, int length) { in WriteAll() argument
82 ret_value = send(s, bytes, length, 0); in WriteAll()
96 int ReadAll(int s, void *data, int length) { in ReadAll() argument
102 ret_value = recv(s, bytes, length, 0); in ReadAll()
257 int WaitOnSocketOrStopping(fd_set *rfds, int s) { in WaitOnSocketOrStopping() argument
258 DBG("WaitOnSocketOrStopping E s=%d stopper_fd_=%d", s, stopper_fd_); in WaitOnSocketOrStopping()
260 FD_SET(s, rfds); in WaitOnSocketOrStopping()
262 int fd_number = s > stopper_fd_ ? s + 1 : stopper_fd_ + 1; in WaitOnSocketOrStopping()
266 DBG("WaitOnSocketOrStopping X rv=%d s=%d stopper_fd_=%d", rv, s, stopper_fd_); in WaitOnSocketOrStopping()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu_linux.c89 syserr(char *s) in syserr() argument
92 perror(s); in syserr()
105 int s; in dhd_ioctl() local
121 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) in dhd_ioctl()
132 if ((ret = ioctl(s, SIOCDEVPRIVATE, ifr)) < 0) { in dhd_ioctl()
139 close(s); in dhd_ioctl()
159 int s; in dhd_get_dev_type() local
165 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) in dhd_get_dev_type()
175 if ((ret = ioctl(s, SIOCETHTOOL, &ifr)) < 0) { in dhd_get_dev_type()
186 close(s); in dhd_get_dev_type()
/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/libhardware/include/hardware/
Daudio.h296 static inline size_t audio_stream_frame_size(const struct audio_stream *s) in audio_stream_frame_size() argument
300 switch (s->get_format(s)) { in audio_stream_frame_size()
310 return popcount(s->get_channels(s)) * chan_samp_sz; in audio_stream_frame_size()

12345678910