Lines Matching refs:picoos_objsize_t
124 picoos_int8 picoos_strncmp(const picoos_char *a, const picoos_char *b, picoos_objsize_t siz)
171 picoos_objsize_t picoos_strlcpy(picoos_char *dst, const picoos_char *src, picoos_objsize_t siz)
173 return (picoos_objsize_t) picopal_strlcpy((picopal_char *) dst, (const picopal_char *) src, (picopal_objsize_t) siz);
177 void * picoos_mem_copy(const void * src, void * dst, picoos_objsize_t length)
183 void * picoos_mem_set(void * dest, picoos_uint8 byte_val, picoos_objsize_t length) {
245 picoos_objsize_t size;
262 picoos_objsize_t fullCellHdrSize; /* aligned size of full cell header, including free-links */
263 picoos_objsize_t usedCellHdrSize; /* aligned size of header part without free-links */
264 picoos_objsize_t minContSize; /* minimum requestable application content size for allocation;
266 picoos_objsize_t minCellSize; /* minimum remaining cell size when a free cell is split */
280 picoos_objsize_t raw_mem_size, picoos_objsize_t alloc_size,
281 byte_ptr_t * rest_mem, picoos_objsize_t * rest_mem_size)
309 picoos_objsize_t size;
316 cmid = (MemCellHdr)((picoos_objsize_t)newBlockAddr + this->fullCellHdrSize);
317 cend = (MemCellHdr)((picoos_objsize_t)newBlockAddr + size
352 picoos_objsize_t size,
356 picoos_objsize_t rest_mem_size;
358 picoos_objsize_t size2;
395 this->usedCellHdrSize = (picoos_objsize_t) &test_cell.size
396 - (picoos_objsize_t) &test_cell + sizeof(picoos_objsize_t);
397 size2 = (picoos_objsize_t) &test_cell.leftCell - (picoos_objsize_t)
435 void *picoos_allocProtMem(picoos_MemoryManager mm, picoos_objsize_t byteSize)
458 picoos_objsize_t len,
508 picoos_objsize_t byteSize)
511 picoos_objsize_t cellSize;
537 c2 = (MemCellHdr)((picoos_objsize_t)c + cellSize);
541 c2r = (MemCellHdr)((picoos_objsize_t)c2 + c2->size);
556 adr = (void *)((picoos_objsize_t)c + this->usedCellHdrSize);
569 c = (MemCellHdr)((picoos_objsize_t)(*adr) - this->usedCellHdrSize);
576 cr = (MemCellHdr)((picoos_objsize_t)c + c->size);
580 crr = (MemCellHdr)((picoos_objsize_t)cr + cr->size);
591 crr = (MemCellHdr)((picoos_objsize_t)cr + cr->size);
658 static void picoos_vSetErrorMsg(picoos_char * dst, picoos_objsize_t siz,
808 void picoos_setErrorMsg(picoos_char * dst, picoos_objsize_t siz,
1993 picoos_uint8 picoos_get_str (picoos_char * fromStr, picoos_uint32 * pos, picoos_char * toStr, picoos_objsize_t maxsize)