/device/google/coral/json-c/ |
D | printbuf.c | 31 static int printbuf_extend(struct printbuf *p, int min_size); 35 struct printbuf *p; in printbuf_new() local 37 p = (struct printbuf*)calloc(1, sizeof(struct printbuf)); in printbuf_new() 38 if(!p) return NULL; in printbuf_new() 39 p->size = 32; in printbuf_new() 40 p->bpos = 0; in printbuf_new() 41 if(!(p->buf = (char*)malloc(p->size))) { in printbuf_new() 42 free(p); in printbuf_new() 45 return p; in printbuf_new() 57 static int printbuf_extend(struct printbuf *p, int min_size) in printbuf_extend() argument [all …]
|
D | printbuf.h | 40 printbuf_memappend(struct printbuf *p, const char *buf, int size); 42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ argument 44 if ((p->size - p->bpos) > bufsize) { \ 45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \ 46 p->bpos += bufsize; \ 47 p->buf[p->bpos]= '\0'; \ 48 } else { printbuf_memappend(p, (bufptr), bufsize); } \ 51 #define printbuf_length(p) ((p)->bpos) argument 65 sprintbuf(struct printbuf *p, const char *msg, ...); 68 printbuf_reset(struct printbuf *p); [all …]
|
/device/google/crosshatch/json-c/ |
D | printbuf.c | 31 static int printbuf_extend(struct printbuf *p, int min_size); 35 struct printbuf *p; in printbuf_new() local 37 p = (struct printbuf*)calloc(1, sizeof(struct printbuf)); in printbuf_new() 38 if(!p) return NULL; in printbuf_new() 39 p->size = 32; in printbuf_new() 40 p->bpos = 0; in printbuf_new() 41 if(!(p->buf = (char*)malloc(p->size))) { in printbuf_new() 42 free(p); in printbuf_new() 45 return p; in printbuf_new() 57 static int printbuf_extend(struct printbuf *p, int min_size) in printbuf_extend() argument [all …]
|
D | printbuf.h | 40 printbuf_memappend(struct printbuf *p, const char *buf, int size); 42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ argument 44 if ((p->size - p->bpos) > bufsize) { \ 45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \ 46 p->bpos += bufsize; \ 47 p->buf[p->bpos]= '\0'; \ 48 } else { printbuf_memappend(p, (bufptr), bufsize); } \ 51 #define printbuf_length(p) ((p)->bpos) argument 65 sprintbuf(struct printbuf *p, const char *msg, ...); 68 printbuf_reset(struct printbuf *p); [all …]
|
/device/google/bonito/json-c/ |
D | printbuf.c | 31 static int printbuf_extend(struct printbuf *p, int min_size); 35 struct printbuf *p; in printbuf_new() local 37 p = (struct printbuf*)calloc(1, sizeof(struct printbuf)); in printbuf_new() 38 if(!p) return NULL; in printbuf_new() 39 p->size = 32; in printbuf_new() 40 p->bpos = 0; in printbuf_new() 41 if(!(p->buf = (char*)malloc(p->size))) { in printbuf_new() 42 free(p); in printbuf_new() 45 return p; in printbuf_new() 57 static int printbuf_extend(struct printbuf *p, int min_size) in printbuf_extend() argument [all …]
|
D | printbuf.h | 40 printbuf_memappend(struct printbuf *p, const char *buf, int size); 42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ argument 44 if ((p->size - p->bpos) > bufsize) { \ 45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \ 46 p->bpos += bufsize; \ 47 p->buf[p->bpos]= '\0'; \ 48 } else { printbuf_memappend(p, (bufptr), bufsize); } \ 51 #define printbuf_length(p) ((p)->bpos) argument 65 sprintbuf(struct printbuf *p, const char *msg, ...); 68 printbuf_reset(struct printbuf *p); [all …]
|
/device/generic/goldfish-opengl/system/vulkan_enc/ |
D | vulkan_enc_unittests.cpp | 30 WorkPool p; in TEST() local 35 WorkPool p; in TEST() local 43 p.schedule(tasks); in TEST() 48 WorkPool p; in TEST() local 55 p.schedule(tasks); in TEST() 60 WorkPool p; in TEST() local 73 p.schedule(tasks); in TEST() 80 WorkPool p; in TEST() local 91 handle = p.schedule(tasks); in TEST() 95 p.waitAny(handle, -1); in TEST() [all …]
|
/device/linaro/dragonboard/qcom/tqftpserv/ |
D | tqftpserv.c | 80 char *p; in tftp_send_data() local 83 p = buf; in tftp_send_data() 85 *p++ = 0; in tftp_send_data() 86 *p++ = OP_DATA; in tftp_send_data() 88 *p++ = (block >> 8) & 0xff; in tftp_send_data() 89 *p++ = block & 0xff; in tftp_send_data() 91 len = pread(client->fd, p, client->blksize, offset); in tftp_send_data() 99 p += len; in tftp_send_data() 102 len = send(client->sock, buf, p - buf, 0); in tftp_send_data() 124 char *p = buf; in tftp_send_oack() local [all …]
|
/device/google/coral/ |
D | init.qcom.usb.sh | 203 mkdir -p streaming/uncompressed/u/360p 204 echo "666666\n1000000\n5000000\n" > streaming/uncompressed/u/360p/dwFrameInterval 206 mkdir -p streaming/uncompressed/u/720p 207 echo 1280 > streaming/uncompressed/u/720p/wWidth 208 echo 720 > streaming/uncompressed/u/720p/wWidth 209 echo 29491200 > streaming/uncompressed/u/720p/dwMinBitRate 210 echo 29491200 > streaming/uncompressed/u/720p/dwMaxBitRate 211 echo 1843200 > streaming/uncompressed/u/720p/dwMaxVideoFrameBufferSize 212 echo 5000000 > streaming/uncompressed/u/720p/dwDefaultFrameInterval 213 echo "5000000\n" > streaming/uncompressed/u/720p/dwFrameInterval [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/ipc/xt-shmem/hikey/ |
D | dsp_debug.c | 88 char *p = scratch + 15; in __xprintf() local 89 *p = 0; in __xprintf() 91 *--p = hex2asc(n); in __xprintf() 94 while(p > (scratch + 7)) *--p = '0'; in __xprintf() 95 xputs(p, xputc, cookie); in __xprintf() 101 char *p = scratch + 15; in __xprintf() local 102 *p = 0; in __xprintf() 108 *--p = (n % 10) + '0'; in __xprintf() 111 xputs(p, xputc, cookie); in __xprintf() 120 char *p = scratch + 31; in __xprintf() local [all …]
|
/device/google/contexthub/firmware/app/chre/chre_test1.app/ |
D | main.cpp | 67 int *p; member in A 70 p = new int[1]; in A() 71 if (p != nullptr) in A() 72 *p = _x; in A() 73 chreLog(CHRE_LOG_INFO, APP_LABEL "A::A(int): *p=%d", p != nullptr ? *p : 0); in A() 76 chreLog(CHRE_LOG_INFO, APP_LABEL "A::~A(): *p=%d", p != nullptr ? *p : 0); in ~A() 77 delete p; in ~A() 78 p = nullptr; in ~A()
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | eeData.c | 30 uint32_t *p = __eedata_start + (offset ? *offset : 0); in eeFind() local 34 while (p < __eedata_end) { in eeFind() 35 uint32_t info = *p++; in eeFind() 38 void *data = p; in eeFind() 41 p += (sz + 3) / 4; in eeFind() 58 *offset = p - __eedata_start; in eeFind() 100 uint32_t *p = __eedata_start; in eeDataGetFree() local 103 while (p < __eedata_end) { in eeDataGetFree() 104 uint32_t info = *p; in eeDataGetFree() 112 p++; in eeDataGetFree() [all …]
|
/device/generic/goldfish-opengl/shared/qemupipe/ |
D | qemu_pipe_common.cpp | 18 char* p = (char*)buffer; in qemu_pipe_read_fully() local 21 int n = QEMU_PIPE_RETRY(qemu_pipe_read(pipe, p, size)); in qemu_pipe_read_fully() 24 p += n; in qemu_pipe_read_fully() 32 const char* p = (const char*)buffer; in qemu_pipe_write_fully() local 35 int n = QEMU_PIPE_RETRY(qemu_pipe_write(pipe, p, size)); in qemu_pipe_write_fully() 38 p += n; in qemu_pipe_write_fully()
|
/device/generic/goldfish-opengl/system/hals/ |
D | cb_handle_30.h | 62 static cb_handle_30_t* from(void* p) { in from() 63 if (!p) { return nullptr; } in from() 64 cb_handle_30_t* cb = static_cast<cb_handle_30_t*>(p); in from() 68 static const cb_handle_30_t* from(const void* p) { in from() 69 return from(const_cast<void*>(p)); in from() 72 static cb_handle_30_t* from_unconst(const void* p) { in from_unconst() 73 return from(const_cast<void*>(p)); in from_unconst()
|
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/ |
D | pcm.c | 125 static inline int param_is_mask(int p) in param_is_mask() argument 127 return (p >= SNDRV_PCM_HW_PARAM_FIRST_MASK) && in param_is_mask() 128 (p <= SNDRV_PCM_HW_PARAM_LAST_MASK); in param_is_mask() 131 static inline int param_is_interval(int p) in param_is_interval() argument 133 return (p >= SNDRV_PCM_HW_PARAM_FIRST_INTERVAL) && in param_is_interval() 134 (p <= SNDRV_PCM_HW_PARAM_LAST_INTERVAL); in param_is_interval() 137 static inline struct snd_interval *param_to_interval(struct snd_pcm_hw_params *p, int n) in param_to_interval() argument 139 return &(p->intervals[n - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL]); in param_to_interval() 142 static inline struct snd_mask *param_to_mask(struct snd_pcm_hw_params *p, int n) in param_to_mask() argument 144 return &(p->masks[n - SNDRV_PCM_HW_PARAM_FIRST_MASK]); in param_to_mask() [all …]
|
/device/google/contexthub/firmware/lib/libm/ |
D | ef_asin.c | 47 float t,w,p,q,c,r,s; local 61 p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5))))); 63 w = p/q; 70 p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5))))); 74 w = p/q; 82 r = p/q; 83 p = (float)2.0*s*r-(pio2_lo-(float)2.0*c); 85 t = pio4_hi-(p-q);
|
/device/google/contexthub/firmware/lib/libc/ |
D | new.cpp | 35 void operator delete(void *p) in operator delete() argument 37 eOsHeapFree(p); in operator delete() 40 void operator delete[](void *p) in operator delete[]() argument 42 eOsHeapFree(p); in operator delete[]()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/ |
D | xf-msg.c | 48 …XF_CHK_ERR(pool->p = xf_mem_alloc(XF_MM(sizeof(*pool->p) * n), XF_PROXY_ALIGNMENT, core, 1), -ENOM… in xf_msg_pool_init() 51 for (pool->head = &pool->p[i = 0]; i < n - 1; i++) in xf_msg_pool_init() 70 xf_mem_free(pool->p, XF_MM(sizeof(*pool->p) * pool->n), core, 1); in xf_msg_pool_destroy() 100 BUG(!xf_msg_from_pool(pool, m) < 0, _x("Bad pool/message: %p/%p"), pool->p, _m); in xf_msg_pool_put()
|
/device/generic/goldfish-opengl/shared/gralloc_cb/include/ |
D | gralloc_cb_bp.h | 90 static cb_handle_t* from(void* p) { in from() 91 if (!p) { return NULL; } in from() 92 cb_handle_t* cb = static_cast<cb_handle_t*>(p); in from() 96 static const cb_handle_t* from(const void* p) { in from() 97 return from(const_cast<void*>(p)); in from() 100 static cb_handle_t* from_unconst(const void* p) { in from_unconst() 101 return from(const_cast<void*>(p)); in from_unconst()
|
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv3_dec/ |
D | gles3.types | 5 GLeglImageOES 32 %p 39 GLsync 64 %p 42 GLint32* 32 %p 44 GLint64* 32 %p 46 GLuint32* 32 %p 48 GLuint64* 32 %p
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/ |
D | xa_hikey.img | 7 … � p� 0� @� P� `� p� 5�I� �I �I0�I@@IPPI``IppI��I��I��I��I… 11 p00�E>���|� ��0)Q9aIq�a�E_ 35 …nfo_typexa_mixer_set_mem_ptrxa_mixer�@� �`��P�0�p��H�(�h��X�8�x��D�… 37 …�����%8Lby����&Jp���#X… 40 :'#/M~���pJA Z"�$�&)1,/2a5�8�<z… 43 …p�\��O�&3 e2"Nk$0�&qN)��+y�.��1�"5�8^D<�.@�ZD��H�MƐR\�W6�] �cH6jB… 44 ������!��"�$&��!��"�p&��!��"��&��)�h(�(�(�+���C2… 51 +�{-҂�_d~���y��Nu���p�'�k�YgӋ6bؽ?]��4X�!
|
/device/linaro/hikey/hifi/firmware/ |
D | hifi-hikey960.img | 7 … � p� 0� @� P� `� p� 5�I� �I �I0�I@@IPPI``IppI��I��I��I��I… 11 p00�E>���|� ��0)Q9aIq�a�E_ 34 …p��xa_codec_prepare_runtimexa_codec_empty_this_bufferxa_codec_fill_this… 37 …nfo_typexa_mixer_set_mem_ptrxa_mixer�@� �`��P�0�p��H�(�h��X�8�x��D�… 39 …�����%8Lby����&Jp���#X… 42 :'#/M~���pJA Z"�$�&)1,/2a5�8�<z…
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/ |
D | xf-mm.h | 66 #define XF_ALIGNED_OBJ(p) \ argument 67 (&(p)->__obj) 69 #define XF_IS_ALIGNED(p) \ argument 70 (((u32)(p) & (XF_PROXY_ALIGNMENT - 1)) == 0)
|
/device/linaro/hikey/hifi/xaf/host-apf/proxy/ |
D | xf-proxy.c | 567 xf_pool_t *p; in xf_pool_alloc() local 582 p = xaf_malloc(offset_of(xf_pool_t, buffer) + number * sizeof(xf_buffer_t), id); in xf_pool_alloc() 583 XF_CHK_ERR(p, -ENOMEM); in xf_pool_alloc() 587 r = xf_proxy_buffer_alloc(proxy, number * length, &p->p); in xf_pool_alloc() 594 xaf_free(p, id); in xf_pool_alloc() 600 p->number = number, p->length = length; in xf_pool_alloc() 601 p->proxy = proxy; in xf_pool_alloc() 605 for (p->free = b = &p->buffer[0], data = p->p; number > 0; number--, b++) in xf_pool_alloc() 620 TRACE(BUFFER, _b("[%p]: pool[%p] created: %u * %u"), proxy, p, p->number, p->length); in xf_pool_alloc() 623 *pool = p; in xf_pool_alloc() [all …]
|
/device/google/cuttlefish/tools/ |
D | tombstone_to_line.py | 85 for p in patterns: 86 groups = p[0].match(line) 91 info = lookup_addr(args, groups.group(p[2]), groups.group(p[3])) 96 source_match(line, info, len(groups.group(p[1])), out_file) 98 simple_match(line, info, len(groups.group(p[1])), out_file)
|