Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 42) sorted by relevance

12

/hardware/msm7k/libgralloc/
Dallocator.cpp90 int extra = ( -cur->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()
109 int extra = ( -free_chunk->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()
111 chunk_t* split = new chunk_t(free_chunk->start, extra); in alloc()
112 free_chunk->start += extra; in alloc()
116 LOGE_IF(((free_chunk->start*kMemoryAlign)&(pagesize-1)), in alloc()
122 free_chunk->start + free_chunk->size, tail_free); in alloc()
126 return (free_chunk->start)*kMemoryAlign; in alloc()
131 SimpleBestFitAllocator::chunk_t* SimpleBestFitAllocator::dealloc(size_t start) in dealloc() argument
133 start = start / kMemoryAlign; in dealloc()
136 if (cur->start == start) { in dealloc()
[all …]
Dallocator.h110 chunk_t(size_t start, size_t size) in chunk_t()
111 : start(start), size(size), free(1), prev(0), next(0) { in chunk_t()
113 size_t start; member
121 chunk_t* dealloc(size_t start);
/hardware/msm7k/libgralloc-qsd8k/
Dallocator.cpp90 int extra = ( -cur->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()
109 int extra = ( -free_chunk->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()
111 chunk_t* split = new chunk_t(free_chunk->start, extra); in alloc()
112 free_chunk->start += extra; in alloc()
116 LOGE_IF(((free_chunk->start*kMemoryAlign)&(pagesize-1)), in alloc()
122 free_chunk->start + free_chunk->size, tail_free); in alloc()
126 return (free_chunk->start)*kMemoryAlign; in alloc()
131 SimpleBestFitAllocator::chunk_t* SimpleBestFitAllocator::dealloc(size_t start) in dealloc() argument
133 start = start / kMemoryAlign; in dealloc()
136 if (cur->start == start) { in dealloc()
[all …]
Dallocator.h111 chunk_t(size_t start, size_t size) in chunk_t()
112 : start(start), size(size), free(1), prev(0), next(0) { in chunk_t()
114 size_t start; member
122 chunk_t* dealloc(size_t start);
Dgralloc.cpp94 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd, in mmap() argument
96 return ::mmap(start, length, prot, flags, fd, offset); in mmap()
99 virtual int munmap(void* start, size_t length) { in munmap() argument
100 return ::munmap(start, length); in munmap()
Dpmemalloc.h77 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd,
137 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd,
139 virtual int munmap(void* start, size_t length) = 0;
/hardware/ril/mock-ril/src/cpp/
Dnode_buffer.cpp61 int32_t start = start_arg->Int32Value(); \
63 if (start < 0 || end < 0) { \
67 if (!(start <= end)) { \
136 AsciiSliceExt(Buffer *parent, size_t start, size_t end) {
140 assert(start <= end);
141 length_ = end - start;
142 assert(start + length_ <= parent->length());
143 data_ = parent->data() + start;
205 buffer = new Buffer(parent, start, end); in New()
255 Buffer::Buffer(Buffer *parent, size_t start, size_t end) : ObjectWrap() { in Buffer() argument
[all …]
Dutil.cpp63 int start = message->GetStartColumn(); in LogErrorMessage() local
65 int lenErr = end - start; in LogErrorMessage()
72 memset(error_string, ' ', start); in LogErrorMessage()
73 memset(&error_string[start], '^', lenErr); in LogErrorMessage()
Dmock_ril.cpp278 v8::Handle<v8::Function> start = in startMockRil() local
281 v8::Handle<v8::Value> result = start->Call(context->Global(), 0, NULL); in startMockRil()
/hardware/ti/wlan/wl1271/platforms/os/common/build/linux/
Dos_sources.inc2 #start of OS_DK_INCS_FILES# do not remove or change this comment
62 #start of OS_DK_INCS_FILES_XCC# do not remove or change this comment
72 #start of OS_DK_INCS_FILES# do not remove or change this comment
75 #start of OS_DK_INCS# do not remove or change this comment
98 #start of OS_DK_INCS_XCC# do not remove or change this comment
109 #start of OS_DK_INCS# do not remove or change this comment
/hardware/ti/wlan/wl1271/platforms/os/linux/build/
Dos_sources.inc2 #start of OS_DK_INCS_FILES# do not remove or change this comment
62 #start of OS_DK_INCS_FILES_XCC# do not remove or change this comment
72 #start of OS_DK_INCS_FILES# do not remove or change this comment
75 #start of OS_DK_INCS# do not remove or change this comment
98 #start of OS_DK_INCS_XCC# do not remove or change this comment
109 #start of OS_DK_INCS# do not remove or change this comment
/hardware/ti/wlan/wl1271/stad/build/linux/
Ddrv_sources.inc2 #start of TNETW_INCS# do not remove or change this comment
26 #start of TNETW_INCS_XCC# do not remove or change this comment
41 #start of CORE_INCS# do not remove or change this comment
58 #start of CORE_INCS_XCC# do not remove or change this comment
73 #start of UTIL_SRCS# do not remove or change this comment
86 #start of TNETW_SRCS# do not remove or change this comment
132 #start of TNETW_SRCS_XCC# do not remove or change this comment
137 #start of CORE_SRCS# do not remove or change this comment
249 #start of CORE_SRCS_XCC# do not remove or change this comment
/hardware/broadcom/wlan/bcm4329/src/dhd/exe/
Ddhdu.c1452 dhd_load_file_bytes(void *dhd, cmd_t *cmd, FILE *fp, int fsize, int start) in dhd_load_file_bytes() argument
1478 memcpy(bufp, &start, sizeof(int)); in dhd_load_file_bytes()
1488 __FUNCTION__, ret, len, start); in dhd_load_file_bytes()
1491 start += len; in dhd_load_file_bytes()
1508 uint32 start = 0; in dhd_download()
1542 start = (uint32)opts.uval; in dhd_download()
1639 if (dhd_load_file_bytes(dhd, cmd, fp, fsize, start)) { in dhd_download()
1641 __FUNCTION__, start); in dhd_download()
1647 start = trx_hdr.offsets[2]; in dhd_download()
1650 fprintf(stderr, "setting the maxsocram value 0x%x \n", start); in dhd_download()
[all …]
/hardware/ti/omap3/liboverlay/
Dv4l2_utils.h11 int v4l2_overlay_map_buf(int fd, int index, void **start, size_t *len);
12 int v4l2_overlay_unmap_buf(void *start, size_t len);
Dv4l2_utils.c543 int v4l2_overlay_map_buf(int fd, int index, void **start, size_t *len) in v4l2_overlay_map_buf() argument
560 *start = mmap(NULL, buf.length, PROT_READ | PROT_WRITE, MAP_SHARED, in v4l2_overlay_map_buf()
562 if (*start == MAP_FAILED) { in v4l2_overlay_map_buf()
569 int v4l2_overlay_unmap_buf(void *start, size_t len) in v4l2_overlay_unmap_buf() argument
573 return munmap(start, len); in v4l2_overlay_unmap_buf()
/hardware/msm7k/libgralloc-qsd8k/tests/
Dpmemalloc_test.cpp50 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd, in mmap() argument
55 virtual int munmap(void* start, size_t length) { in munmap() argument
109 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd, in mmap()
155 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd, in mmap()
483 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd, in mmap()
575 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd, in mmap()
/hardware/broadcom/wlan/bcm4329/src/include/
Dlinuxver.h202 #define pci_resource_start(dev, bar) ((dev)->resource[(bar)].start)
265 #define netif_down(dev) do { (dev)->start = 0; } while (0)
281 dev->start = 1; in netif_start_queue()
285 #define netif_running(dev) (dev)->start
/hardware/ti/wlan/wl1271/platforms/hw/linux/
Dhost_platform.c60 printk("wifi_irqres->start = %lu\n", (unsigned long)(wifi_irqres->start)); in wifi_probe()
210 drv->irq = wifi_irqres->start; in hPlatform_Wlan_Hardware_Init()
/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/
DbroadcastKeySM.h89 broadcastKeySmStart_t start; member
DunicastKeySM.h91 unicastKeySmStart_t start; member
DbroadcastKeyNone.c85 pBroadcastKey->start = broadcastKeyNone_start; in broadcastKeyNone_config()
DmainSecKeysOnly.c140 pMainSec->start = mainSecKeysOnly_start; in mainSecKeysOnly_config()
307 status = pMainSec->pMainKeys->start(pMainSec->pMainKeys); in mainSecKeysOnly_startIdle()
DmainSecNull.c98 pMainSec->start = (mainSecSmStart_t)mainSecSmNull_start; in mainSecSmNull_config()
DunicastKeyNone.c82 pUnicastKey->start = unicastKeyNone_start; in unicastKeyNone_config()
/hardware/libhardware/include/hardware/
Dgps.h360 typedef pthread_t (* gps_create_thread)(const char* name, void (*start)(void *), void* arg);
388 int (*start)( void ); member

12