Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 72) sorted by relevance

123

/hardware/ril/mock-ril/src/java/com/android/internal/telephony/
DRilChannel.java94 int count = 0; in sendAll() local
96 count += mChannel.write(bb); in sendAll()
98 return count; in sendAll()
109 int count = 0; in recvAll() local
111 count += mChannel.read(bb); in recvAll()
113 return count; in recvAll()
136 int count = recvAll(bb); in recvAllRewind() local
138 return count; in recvAllRewind()
/hardware/ti/omap4xxx/
Dstacktrace.c37 size_t count; member
52 if (state->count) { in trace_function()
57 state->count--; in trace_function()
71 state.count = max_entries; in heaptracker_stacktrace()
74 return max_entries - state.count; in heaptracker_stacktrace()
/hardware/ti/omap4xxx/domx/domx/omx_proxy_common/src/
Domx_proxy_common.c267 for (count = 0; count < pCompPrv->nTotalBuffers; ++count) in PROXY_EventHandler()
269 if (pCompPrv->tBufList[count].pBufHeaderRemote == in PROXY_EventHandler()
273 pCompPrv->tBufList[count].pBufHeader; in PROXY_EventHandler()
275 (OMX_U8 *) pCompPrv->tBufList[count]. in PROXY_EventHandler()
280 PROXY_assert((count != pCompPrv->nTotalBuffers), in PROXY_EventHandler()
333 OMX_U16 count; in PROXY_EmptyBufferDone() local
346 for (count = 0; count < pCompPrv->nTotalBuffers; ++count) in PROXY_EmptyBufferDone()
348 if (pCompPrv->tBufList[count].pBufHeaderRemote == in PROXY_EmptyBufferDone()
351 pBufHdr = pCompPrv->tBufList[count].pBufHeader; in PROXY_EmptyBufferDone()
363 PROXY_assert((count != pCompPrv->nTotalBuffers), in PROXY_EmptyBufferDone()
[all …]
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/
Dperf_unittest.c73 unsigned long count = 0, delta; in time_get_test() local
80 for (count = 0; count < 1000; count++) in time_get_test()
96 sum_d /= count; in time_get_test()
97 sum_dd /= count; in time_get_test()
115 count++; in time_get_test()
121 count, in time_get_test()
122 1000000.0/count, in time_get_test()
DPERF.awk85 count = boundary ? skip : 0;
126 if (count == after) {
141 if (count < after) { count++; }
152 count = /started/ ? 0 : skip;
/hardware/libhardware/tests/nusensors/
Dnusensors.cpp79 int count = module->get_sensors_list(module, &list); in main() local
80 printf("%d sensors found:\n", count); in main()
81 for (int i=0 ; i<count ; i++) { in main()
103 for (int i=0 ; i<count ; i++) { in main()
112 for (int i=0 ; i<count ; i++) { in main()
180 for (int i=0 ; i<count ; i++) { in main()
/hardware/ti/omap4xxx/libtiutils/
DSemaphore.cpp87 status_t Semaphore::Create(int count) in Create() argument
92 if(count<0) in Create()
113 return ErrorUtils::posixToAndroidError(sem_init(mSemaphore, 0x00, count)); in Create()
/hardware/libhardware_legacy/wifi/
Dwifi.c202 int count = 100; /* wait at most 20 seconds for completion */ in wifi_load_driver() local
219 while (count-- > 0) { in wifi_load_driver()
244 int count = 20; /* wait at most 10 seconds for completion */ in wifi_unload_driver() local
245 while (count-- > 0) { in wifi_unload_driver()
251 if (count) { in wifi_unload_driver()
479 int count = 200; /* wait at most 20 seconds for completion */ in wifi_start_supplicant_common() local
522 while (count-- > 0) { in wifi_start_supplicant_common()
560 int count = 50; /* wait at most 5 seconds for completion */ in wifi_stop_supplicant() local
571 while (count-- > 0) { in wifi_stop_supplicant()
731 int count = 50; /* wait at most 5 seconds to ensure init has stopped stupplicant */ in wifi_close_supplicant_connection() local
[all …]
/hardware/ti/omap4xxx/domx/omx_core/src/
DOMX_Core.c72 int count = 0; variable
142 count++; in OMX_Init()
144 if (count == 1) in OMX_Init()
206 CORE_require(count > 0, OMX_ErrorUndefined, in OMX_GetHandle()
368 CORE_require(count > 0, OMX_ErrorUndefined, in OMX_FreeHandle()
428 CORE_assert(count > 0, OMX_ErrorNone, in OMX_Deinit()
430 count--; in OMX_Deinit()
435 if (count == 0) in OMX_Deinit()
537 CORE_require(count > 0, OMX_ErrorUndefined, in OMX_ComponentNameEnum()
581 CORE_require(count > 0, OMX_ErrorUndefined, in OMX_GetRolesOfComponent()
[all …]
/hardware/ril/reference-ril/
Datchannel.c334 ssize_t count; in readline() local
382 count = read(s_fd, p_read, in readline()
384 } while (count < 0 && errno == EINTR); in readline()
386 if (count > 0) { in readline()
387 AT_DUMP( "<< ", p_read, count ); in readline()
388 s_readCount += count; in readline()
390 p_read[count] = '\0'; in readline()
397 p_read += count; in readline()
398 } else if (count <= 0) { in readline()
400 if(count == 0) { in readline()
/hardware/libhardware_legacy/uevent/
Duevent.c85 int count = recv(fd, buffer, buffer_length, 0); in uevent_next_event() local
86 if (count > 0) { in uevent_next_event()
93 return count; in uevent_next_event()
/hardware/ril/rild/
Drild.c71 int count = 1; in make_argv() local
76 argv[count] = tok; in make_argv()
78 count++; in make_argv()
80 return count; in make_argv()
/hardware/ril/mock-ril/src/python/
Dtcs.py34 def recvall(s, count): argument
46 while (count > 0):
47 data = s.recv(count)
50 count -= len(data)
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_script.cpp1061 size_t count; in load_script() local
1064 count = 0; in load_script()
1071 while((config[count] != '.') && (count < sizeof(dir_name)/sizeof(dir_name[0]))) in load_script()
1072 count++; in load_script()
1075 if(strncpy(dir_name,config,count) == NULL) in load_script()
1078 dir_name[count]=NULL; in load_script()
1130 size_t count = 0; in start_logging() local
1134 while((config[count] != '.') && (count < sizeof(dir_name)/sizeof(dir_name[0]))) in start_logging()
1135 count++; in start_logging()
1137 if(strncpy(dir_name,config,count) == NULL) in start_logging()
[all …]
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/src/
DOMX_Core.c45 int count = 0; variable
128 count++; in TIOMX_Init()
129 LOGD("init count = %d\n", count); in TIOMX_Init()
131 if (count == 1) in TIOMX_Init()
416 if (count) { in TIOMX_Deinit()
417 count--; in TIOMX_Deinit()
420 LOGD("deinit count = %d\n", count); in TIOMX_Deinit()
/hardware/msm7k/librpc/
Dsvc_clnt_common.c164 size_t count;
171 if (state->count) {
176 state->count--;
186 state.count = max_entries;
189 return max_entries - state.count;
/hardware/ti/omap3/omx/ti_omx_config_parser/src/
Dti_m4v_config_parser.cpp41 int32 count = 0; in LocateFrameHeader() local
50 if ((count > 1) && (*ptr == 0x01)) in LocateFrameHeader()
57 count = 0; in LocateFrameHeader()
59 count++; in LocateFrameHeader()
1279 int32 count = 0; in Parser_EBSPtoRBSP() local
1284 if (count == 2 && nal_unit[i] == 0x03) in Parser_EBSPtoRBSP()
1290 count = 0; in Parser_EBSPtoRBSP()
1292 count++; in Parser_EBSPtoRBSP()
1295 count = 0; in Parser_EBSPtoRBSP()
1299 if (count == 2 && nal_unit[i] == 0x03) in Parser_EBSPtoRBSP()
[all …]
Dti_video_config_parser.cpp265 int count = 0; in GetNAL_Config() local
288 if (count == 2 && nal_unit[i] == 0x01) in GetNAL_Config()
295 count = 0; in GetNAL_Config()
297 count++; in GetNAL_Config()
/hardware/msm7k/libaudio-qdsp5v2/
DAudioHardware.cpp219 size_t count = bytes; in write() local
273 while (count) { in write()
274 ssize_t written = ::write(mFd, p, count); in write()
276 count -= written; in write()
/hardware/msm7k/libcopybit/
Dcopybit.cpp214 for (int i=0 ; i<l->count ; i++) { in msm_copybit()
351 uint32_t count; in stretch_copybit() member
381 list.count = 0; in stretch_copybit()
385 mdp_blit_req* req = &list.req[list.count]; in stretch_copybit()
397 if (++list.count == maxCount) { in stretch_copybit()
399 list.count = 0; in stretch_copybit()
402 if ((status == 0) && list.count) { in stretch_copybit()
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/
Domx_proxy_videodec.c616 OMX_U32 count = 0; in PROXY_VIDDEC_FillThisBuffer() local
677 OMX_U32 count = 0; in PROXY_VIDDEC_FillBufferDone() local
692 for (count = 0; count < pCompPrv->nTotalBuffers; ++count) in PROXY_VIDDEC_FillBufferDone()
694 if (pCompPrv->tBufList[count].pBufHeaderRemote == remoteBufHdr) in PROXY_VIDDEC_FillBufferDone()
696 grallocHandle = (IMG_native_handle_t*)(pCompPrv->tBufList[count].pBufHeader)->pBuffer; in PROXY_VIDDEC_FillBufferDone()
701 PROXY_assert((count != pCompPrv->nTotalBuffers), in PROXY_VIDDEC_FillBufferDone()
/hardware/ti/omap4xxx/domx/domx/omx_rpc/src/
Domx_rpc_utils.c77 OMX_U8 count = 0; in RPC_UTIL_GetTargetServerName() local
90 count++; in RPC_UTIL_GetTargetServerName()
91 if (count == 2) in RPC_UTIL_GetTargetServerName()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
Dwpa.h91 } BWL_POST_PACKED_STRUCT count;
100 } BWL_POST_PACKED_STRUCT count;
/hardware/broadcom/wlan/bcm4329/dhdutil/include/proto/
Dwpa.h91 } BWL_POST_PACKED_STRUCT count;
100 } BWL_POST_PACKED_STRUCT count;
/hardware/qcom/media/mm-video/vidc/vdec/inc/
DMap.h131 int count =0; in size() local
136 count++; in size()
138 return count; in size()

123