Searched refs:raw_mem (Results 1 – 4 of 4) sorted by relevance
68 picoos_uint8 * raw_mem; /* pointer to allocated memory. NULL if preallocated. */ member106 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 …]
500 void *raw_mem; member597 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()
145 void * picoos_raw_malloc(byte_ptr_t raw_mem,
279 void * picoos_raw_malloc(byte_ptr_t raw_mem, in picoos_raw_malloc() argument284 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()