Searched refs:allocSize (Results 1 – 6 of 6) sorted by relevance
353 size_t allocSize = in convertSoundModelToHal() local356 static_cast<struct sound_trigger_phrase_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()359 allocSize); in convertSoundModelToHal()372 size_t allocSize = sizeof(struct sound_trigger_sound_model) + soundModel->data.size(); in convertSoundModelToHal() local373 halModel = static_cast<struct sound_trigger_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()376 allocSize); in convertSoundModelToHal()407 size_t allocSize = sizeof(struct sound_trigger_recognition_config) + config->data.size(); in convertRecognitionConfigToHal() local409 static_cast<struct sound_trigger_recognition_config*>(malloc(allocSize)); in convertRecognitionConfigToHal()412 "malloc failed for size %zu in convertRecognitionConfigToHal", allocSize); in convertRecognitionConfigToHal()
375 size_t allocSize = in convertSoundModelToHal() local378 static_cast<struct sound_trigger_phrase_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()381 allocSize); in convertSoundModelToHal()394 size_t allocSize = sizeof(struct sound_trigger_sound_model) + soundModel->data.size(); in convertSoundModelToHal() local395 halModel = static_cast<struct sound_trigger_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()398 allocSize); in convertSoundModelToHal()430 size_t allocSize = sizeof(struct sound_trigger_recognition_config) + config->data.size(); in convertRecognitionConfigToHal() local432 static_cast<struct sound_trigger_recognition_config*>(malloc(allocSize)); in convertRecognitionConfigToHal()435 "malloc failed for size %zu in convertRecognitionConfigToHal", allocSize); in convertRecognitionConfigToHal()
445 size_t *allocSize) override;542 size_t *allocSize) { in allocate() argument559 *allocSize = (size_t)c2Params.data.params[0]; in allocate()581 *allocSize = c2Params.data.params[0] * c2Params.data.params[1]; in allocate()
49 allocSize = gralloc_alloc_size; in gpu_context_t()
48 allocSize = gralloc_alloc_size; in gpu_context_t()