Searched refs:size (Results 1 - 25 of 1405) sorted by relevance

1234567891011>>

/hardware/libhardware/modules/sensors/dynamic_sensor/
H A DRingBuffer.cpp24 RingBuffer::RingBuffer(size_t size) argument
25 : mSize(size),
36 ssize_t RingBuffer::write(const sensors_event_t *ev, size_t size) { argument
42 if (size > numAvailableToWrite) {
43 size = numAvailableToWrite;
49 if (copy > size) {
50 copy = size;
55 if (size > copy) {
56 memcpy(mData, &ev[copy], (size - copy) * sizeof(sensors_event_t));
59 mWritePos += size;
68 read(sensors_event_t *ev, size_t size) argument
[all...]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/
H A Dipc_fw_custom.h80 int size );
85 int size );
/hardware/nxp/nfc/halimpl/utils/
H A Dsparse_crc32.h22 uint32_t sparse_crc32(uint32_t crc, const void* buf, int size);
/hardware/interfaces/wifi/1.2/default/
H A Dringbuffer.cpp30 if (input.size() == 0) {
33 if (input.size() > maxSize_) {
34 LOG(INFO) << "Oversized message of " << input.size()
39 size_ += input.size() * sizeof(input[0]);
41 size_ -= data_.front().size() * sizeof(data_.front()[0]);
/hardware/qcom/display/msm8226/libgralloc/
H A Dmemalloc.h47 unsigned int size; member in struct:gralloc::alloc_data
64 virtual int free_buffer(void *base, unsigned int size,
68 virtual int map_buffer(void **pBase, unsigned int size,
72 virtual int unmap_buffer(void *base, unsigned int size,
76 virtual int clean_buffer(void *base, unsigned int size,
H A Dionalloc.h44 virtual int free_buffer(void *base, unsigned int size,
47 virtual int map_buffer(void **pBase, unsigned int size,
50 virtual int unmap_buffer(void *base, unsigned int size,
53 virtual int clean_buffer(void*base, unsigned int size,
/hardware/qcom/display/msm8909/libgralloc/
H A Dmemalloc.h47 unsigned int size; member in struct:gralloc::alloc_data
65 virtual int free_buffer(void *base, unsigned int size,
69 virtual int map_buffer(void **pBase, unsigned int size,
73 virtual int unmap_buffer(void *base, unsigned int size,
77 virtual int clean_buffer(void *base, unsigned int size,
H A Dionalloc.h44 virtual int free_buffer(void *base, unsigned int size,
47 virtual int map_buffer(void **pBase, unsigned int size,
50 virtual int unmap_buffer(void *base, unsigned int size,
53 virtual int clean_buffer(void*base, unsigned int size,
/hardware/qcom/display/msm8909w_3100/libgralloc/
H A Dmemalloc.h47 unsigned int size; member in struct:gralloc::alloc_data
65 virtual int free_buffer(void *base, unsigned int size,
69 virtual int map_buffer(void **pBase, unsigned int size,
73 virtual int unmap_buffer(void *base, unsigned int size,
77 virtual int clean_buffer(void *base, unsigned int size,
H A Dionalloc.h44 virtual int free_buffer(void *base, unsigned int size,
47 virtual int map_buffer(void **pBase, unsigned int size,
50 virtual int unmap_buffer(void *base, unsigned int size,
53 virtual int clean_buffer(void*base, unsigned int size,
/hardware/qcom/display/msm8994/libgralloc/
H A Dmemalloc.h47 unsigned int size; member in struct:gralloc::alloc_data
64 virtual int free_buffer(void *base, unsigned int size,
68 virtual int map_buffer(void **pBase, unsigned int size,
72 virtual int unmap_buffer(void *base, unsigned int size,
76 virtual int clean_buffer(void *base, unsigned int size,
H A Dionalloc.h44 virtual int free_buffer(void *base, unsigned int size,
47 virtual int map_buffer(void **pBase, unsigned int size,
50 virtual int unmap_buffer(void *base, unsigned int size,
53 virtual int clean_buffer(void*base, unsigned int size,
/hardware/qcom/display/msm8996/libgralloc/
H A Dmemalloc.h47 unsigned int size; member in struct:gralloc::alloc_data
65 virtual int free_buffer(void *base, unsigned int size,
69 virtual int map_buffer(void **pBase, unsigned int size,
73 virtual int unmap_buffer(void *base, unsigned int size,
77 virtual int clean_buffer(void *base, unsigned int size,
H A Dionalloc.h44 virtual int free_buffer(void *base, unsigned int size,
47 virtual int map_buffer(void **pBase, unsigned int size,
50 virtual int unmap_buffer(void *base, unsigned int size,
53 virtual int clean_buffer(void*base, unsigned int size,
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
H A Dviddec_parse_sc_stub.c3 uint32_t cp_using_dma(uint32_t ddr_addr, uint32_t local_addr, uint32_t size, char to_ddr, char swap) argument
H A Dviddec_parse_sc.c20 uint32_t size; local
28 size = 0;
29 data_left = cxt->size;
57 ptr+=4;size+=4;data_left-=4;
74 ptr++;size++;data_left--;
87 ptr+=4;size+=4;data_left-=4;
97 cxt->sc_end_pos = size;
103 ptr++;size++;data_left--;
/hardware/intel/common/libwsbm/src/
H A Dwsbm_mm.h59 unsigned long size; member in struct:_WsbmMMNode
64 unsigned long size,
68 unsigned long size,
73 unsigned long size);
H A Dwsbm_mm.c65 return entry->size;
69 wsbmMMRemoveSpaceFromTail(struct _WsbmMM *mm, unsigned long size) argument
80 if (entry->size <= size)
83 entry->size -= size;
89 unsigned long start, unsigned long size)
98 child->size = size;
109 wsbmMMSplitAtStart(struct _WsbmMMNode *parent, unsigned long size) argument
88 wsbmMMCreateTailNode(struct _WsbmMM *mm, unsigned long start, unsigned long size) argument
133 wsbmMMGetBlock(struct _WsbmMMNode *parent, unsigned long size, unsigned alignment) argument
215 wsbmMMSearchFree(const struct _WsbmMM *mm, unsigned long size, unsigned alignment, int best_match) argument
265 wsbmMMinit(struct _WsbmMM *mm, unsigned long start, unsigned long size) argument
[all...]
/hardware/qcom/display/msm8960/libgralloc/
H A Dionalloc.h44 virtual int free_buffer(void *base, size_t size,
47 virtual int map_buffer(void **pBase, size_t size,
50 virtual int unmap_buffer(void *base, size_t size,
53 virtual int clean_buffer(void*base, size_t size,
/hardware/qcom/msm8998/json-c/
H A Dprintbuf.c39 p->size = 32;
41 if(!(p->buf = (char*)malloc(p->size))) {
50 * Extend the buffer p so it has a size of at least min_size.
52 * If the current size is large enough, nothing is changed.
62 if (p->size >= min_size)
65 new_size = p->size * 2;
71 p->bpos, min_size, p->size, new_size);
75 p->size = new_size;
80 int printbuf_memappend(struct printbuf *p, const char *buf, int size) argument
82 if (p->size <
157 int size; local
[all...]
/hardware/interfaces/confirmationui/support/src/
H A Dconfirmationui_utils.cpp26 if (lhs.size() == rhs.size()) {
/hardware/interfaces/thermal/1.0/default/
H A DThermal.cpp59 ssize_t size = mModule->getTemperatures(mModule, nullptr, 0); local
60 if (size >= 0) {
62 list.resize(size);
63 size = mModule->getTemperatures(mModule, list.data(), list.size());
64 if (size >= 0) {
65 temperatures.resize(list.size());
66 for (size_t i = 0; i < list.size(); ++i) {
96 if (size < 0) {
98 status.debugMessage = strerror(-size);
115 ssize_t size = mModule->getCpuUsages(mModule, nullptr); local
153 ssize_t size = mModule->getCoolingDevices(mModule, nullptr, 0); local
[all...]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
H A Dstorage_manager.h19 size_t size, unsigned int key);
22 inv_error_t inv_get_mpl_state_size(size_t *size);
H A Dstorage_manager.c38 long size; member in struct:data_header_t
65 * @param[in] size The size in bytes of the amount of data you want loaded and saved.
71 inv_error_t (*save_func)(unsigned char *data), size_t size, unsigned int key)
86 ds.hd[ds.num].size = size;
89 ds.total_size += size + sizeof(struct data_header_t);
95 /** Returns the memory size needed to perform a store
96 * @param[out] size Size in bytes of memory needed to store.
99 inv_error_t inv_get_mpl_state_size(size_t *size) argument
70 inv_register_load_store(inv_error_t (load_func)const unsigned char *data), inv_error_t (*save_func)(unsigned char *data), size_t size, unsigned int key) argument
[all...]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Dstorage_manager.h19 size_t size, unsigned int key);
22 inv_error_t inv_get_mpl_state_size(size_t *size);

Completed in 1494 milliseconds

1234567891011>>