Searched refs:countCalls (Results 1 – 2 of 2) sorted by relevance
539 const int countCalls = gActiveCalls.size(); in request_get_current_calls() local541 RIL_Call** pp_calls = (RIL_Call**)alloca(countCalls * sizeof(RIL_Call*)); in request_get_current_calls()542 RIL_Call* p_calls = (RIL_Call*)alloca(countCalls * sizeof(RIL_Call)); in request_get_current_calls()544 memset(p_calls, 0, countCalls * sizeof(RIL_Call)); in request_get_current_calls()547 for (int i = 0; i < countCalls; i++) { in request_get_current_calls()574 countCalls * sizeof(RIL_Call*)); in request_get_current_calls()576 ALOGV("Get Current calls: %d calls found.\n", countCalls); in request_get_current_calls()
916 int countCalls; local938 for (countCalls = 0, p_cur = p_response->p_intermediates942 countCalls++;947 pp_calls = (RIL_Call **)alloca(countCalls * sizeof(RIL_Call *));948 p_calls = (RIL_Call *)alloca(countCalls * sizeof(RIL_Call));949 memset (p_calls, 0, countCalls * sizeof(RIL_Call));952 for(i = 0; i < countCalls ; i++) {