Home
last modified time | relevance | path

Searched refs:allocSize (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/soundtrigger/2.0/default/
DSoundTriggerHalImpl.cpp353 size_t allocSize = in convertSoundModelToHal() local
356 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() local
373 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() local
409 static_cast<struct sound_trigger_recognition_config*>(malloc(allocSize)); in convertRecognitionConfigToHal()
412 "malloc failed for size %zu in convertRecognitionConfigToHal", allocSize); in convertRecognitionConfigToHal()
/hardware/interfaces/soundtrigger/2.3/default/
DSoundTriggerHw.cpp383 size_t allocSize = in convertSoundModelToHal() local
386 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() local
403 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() local
440 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 …]
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp375 size_t allocSize = in convertSoundModelToHal() local
378 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() local
395 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() local
432 static_cast<struct sound_trigger_recognition_config*>(malloc(allocSize)); in convertRecognitionConfigToHal()
435 "malloc failed for size %zu in convertRecognitionConfigToHal", allocSize); in convertRecognitionConfigToHal()
/hardware/qcom/display/msm8960/libgralloc/
Dgpu.cpp49 allocSize = gralloc_alloc_size; in gpu_context_t()
/hardware/qcom/display/msm8084/libgralloc/
Dgpu.cpp49 allocSize = gralloc_alloc_size; in gpu_context_t()