Searched refs:allocSize (Results 1 – 5 of 5) 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()
383 size_t allocSize = in convertSoundModelToHal() local386 static_cast<struct sound_trigger_phrase_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()389 allocSize); in convertSoundModelToHal()402 size_t allocSize = sizeof(struct sound_trigger_sound_model) + soundModel->data.size(); in convertSoundModelToHal() local403 halModel = static_cast<struct sound_trigger_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()406 allocSize); in convertSoundModelToHal()438 size_t allocSize = sizeof(struct sound_trigger_recognition_config) + config->data.size(); in convertRecognitionConfigToHal() local440 static_cast<struct sound_trigger_recognition_config*>(malloc(allocSize)); in convertRecognitionConfigToHal()443 "malloc failed for size %zu in convertRecognitionConfigToHal", allocSize); in convertRecognitionConfigToHal()469 size_t allocSize = in convertRecognitionConfigToHalHeader() local[all …]
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()
48 allocSize = gralloc_alloc_size; in gpu_context_t()
49 allocSize = gralloc_alloc_size; in gpu_context_t()