Home
last modified time | relevance | path

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

/external/svox/pico/lib/
Dpicorsrc.c68 picoos_uint8 * raw_mem; /* pointer to allocated memory. NULL if preallocated. */ member
106 this->raw_mem = NULL; in picorsrc_newResource()
121 if ((*this)->raw_mem != NULL) { in picorsrc_disposeResource()
122 picoos_deallocProtMem(mm, (void *) &(*this)->raw_mem); in picorsrc_disposeResource()
601 res->raw_mem = picoos_allocProtMem(this->common->mm, maxlen); in picorsrc_loadResource()
603 status = (NULL == res->raw_mem) ? PICO_EXC_OUT_OF_MEM : PICO_OK; in picorsrc_loadResource()
606 rem = (uintptr_t) res->raw_mem % PICOOS_ALIGN_SIZE; in picorsrc_loadResource()
608 res->start = res->raw_mem + (PICOOS_ALIGN_SIZE - rem); in picorsrc_loadResource()
610 res->start = res->raw_mem; in picorsrc_loadResource()
706 if (NULL != rsrc->raw_mem) { in picorsrc_unloadResource()
[all …]
Dpicoctrl.c500 void *raw_mem; member
597 this->raw_mem = picoos_allocate(mm, PICOCTRL_DEFAULT_ENGINE_SIZE); in picoctrl_newEngine()
598 if (NULL == this->raw_mem) { in picoctrl_newEngine()
604 engMM = picoos_newMemoryManager(this->raw_mem, PICOCTRL_DEFAULT_ENGINE_SIZE, in picoctrl_newEngine()
644 if(NULL != this->raw_mem) { in picoctrl_newEngine()
645 picoos_deallocate(mm,&(this->raw_mem)); in picoctrl_newEngine()
673 if(NULL != (*this)->raw_mem) { in picoctrl_disposeEngine()
674 picoos_deallocate(mm,&((*this)->raw_mem)); in picoctrl_disposeEngine()
Dpicoos.h145 void * picoos_raw_malloc(byte_ptr_t raw_mem,
Dpicoos.c279 void * picoos_raw_malloc(byte_ptr_t raw_mem, in picoos_raw_malloc() argument
284 if (raw_mem == NULL) { in picoos_raw_malloc()
298 *rest_mem = raw_mem + alloc_size; in picoos_raw_malloc()
299 return (void *) raw_mem; in picoos_raw_malloc()
/external/libchrome/sandbox/win/src/
Dcrosscall_client.h292 void* raw_mem = ipc_provider.GetBuffer(); \
293 if (NULL == raw_mem) \
295 ActualParams* params = new(raw_mem) ActualParams(tag);
306 ipc_provider.FreeBuffer(raw_mem); \
311 ipc_provider.FreeBuffer(raw_mem);