Searched refs:countCalls (Results 1 – 3 of 3) sorted by relevance
450 const int countCalls = gActiveCalls.size(); in request_get_current_calls() local452 RIL_Call** pp_calls = (RIL_Call**)alloca(countCalls * sizeof(RIL_Call*)); in request_get_current_calls()453 RIL_Call* p_calls = (RIL_Call*)alloca(countCalls * sizeof(RIL_Call)); in request_get_current_calls()455 memset(p_calls, 0, countCalls * sizeof(RIL_Call)); in request_get_current_calls()458 for (int i = 0; i < countCalls; i++) { in request_get_current_calls()485 countCalls * sizeof(RIL_Call*)); in request_get_current_calls()487 ALOGV("Get Current calls: %d calls found.\n", countCalls); in request_get_current_calls()
958 int countCalls; local980 for (countCalls = 0, p_cur = p_response->p_intermediates984 countCalls++;989 pp_calls = (RIL_Call **)alloca(countCalls * sizeof(RIL_Call *));990 p_calls = (RIL_Call *)alloca(countCalls * sizeof(RIL_Call));991 memset (p_calls, 0, countCalls * sizeof(RIL_Call));994 for(i = 0; i < countCalls ; i++) {
1005 int countCalls; local1027 for (countCalls = 0, p_cur = p_response->p_intermediates1031 countCalls++;1036 pp_calls = (RIL_Call **)alloca(countCalls * sizeof(RIL_Call *));1037 p_calls = (RIL_Call *)alloca(countCalls * sizeof(RIL_Call));1038 memset (p_calls, 0, countCalls * sizeof(RIL_Call));1041 for(i = 0; i < countCalls ; i++) {