/hardware/interfaces/confirmationui/support/src/ |
D | ConfirmationUITranslations.c | 1080 for (int n = 0; haystack[n] != NULL; n++) { in ConfirmationUITranslations_find_str() local 1081 if (strcmp(needle, haystack[n]) == 0) { in ConfirmationUITranslations_find_str() 1082 return n; in ConfirmationUITranslations_find_str() 1094 size_t n; in ConfirmationUITranslations_lang_id_match() local 1102 for (n = 0; lang_id[n] != '\0' && n < MAX_LANG_ID_SIZE; n++) { in ConfirmationUITranslations_lang_id_match() 1103 lang_id_buf[n] = lang_id[n]; in ConfirmationUITranslations_lang_id_match() 1105 lang_id_buf[n] = '\0'; in ConfirmationUITranslations_lang_id_match() 1107 while (n >= 1) { in ConfirmationUITranslations_lang_id_match() 1109 while (n >= 1 && lang_id_buf[n - 1] != '-') { in ConfirmationUITranslations_lang_id_match() 1110 n--; in ConfirmationUITranslations_lang_id_match() [all …]
|
/hardware/qcom/display/msm8909/gpu_tonemapper/ |
D | rgba_inverse_tonemap.inl | 21 …tension GL_OES_EGL_image_external_essl3 : require \n" 22 …cision highp float; \n" 23 …cision highp sampler2D; \n" 24 …out(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 …out(binding = 1) uniform sampler3D tonemapper; \n" 26 …out(binding = 2) uniform sampler2D xform; \n" 27 …out(location = 3) uniform vec2 tSO; \n" 28 … defined(USE_NONUNIFORM_SAMPLING) \n" 29 …out(location = 4) uniform vec2 xSO; \n" 30 …dif \n" [all …]
|
D | forward_tonemap.inl | 21 "#extension GL_OES_EGL_image_external_essl3 : require \n" 22 "precision highp float; \n" 23 "precision highp sampler2D; \n" 24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 "layout(binding = 1) uniform sampler3D tonemapper; \n" 26 "layout(binding = 2) uniform sampler2D xform; \n" 27 "layout(location = 3) uniform vec2 tSO; \n" 28 "#ifdef USE_NONUNIFORM_SAMPLING \n" 29 "layout(location = 4) uniform vec2 xSO; \n" 30 "#endif \n" [all …]
|
D | fullscreen_vertex_shader.inl | 21 "#version 300 es \n" 22 "precision highp float; \n" 23 "layout(location = 0) in vec2 iUV; \n" 24 "out vec2 uv; \n" 25 "void main() \n" 26 "{ \n" 27 " vec2 positions[3]; \n" 28 " positions[0] = vec2(-1.0f, 3.0f); \n" 29 " positions[1] = vec2(-1.0f, -1.0f); \n" 30 " positions[2] = vec2(3.0f, -1.0f); \n" [all …]
|
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/ |
D | rgba_inverse_tonemap.inl | 21 …tension GL_OES_EGL_image_external_essl3 : require \n" 22 …cision highp float; \n" 23 …cision highp sampler2D; \n" 24 …out(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 …out(binding = 1) uniform sampler3D tonemapper; \n" 26 …out(binding = 2) uniform sampler2D xform; \n" 27 …out(location = 3) uniform vec2 tSO; \n" 28 … defined(USE_NONUNIFORM_SAMPLING) \n" 29 …out(location = 4) uniform vec2 xSO; \n" 30 …dif \n" [all …]
|
D | forward_tonemap.inl | 21 "#extension GL_OES_EGL_image_external_essl3 : require \n" 22 "precision highp float; \n" 23 "precision highp sampler2D; \n" 24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 "layout(binding = 1) uniform sampler3D tonemapper; \n" 26 "layout(binding = 2) uniform sampler2D xform; \n" 27 "layout(location = 3) uniform vec2 tSO; \n" 28 "#ifdef USE_NONUNIFORM_SAMPLING \n" 29 "layout(location = 4) uniform vec2 xSO; \n" 30 "#endif \n" [all …]
|
D | fullscreen_vertex_shader.inl | 21 "#version 300 es \n" 22 "precision highp float; \n" 23 "layout(location = 0) in vec2 iUV; \n" 24 "out vec2 uv; \n" 25 "void main() \n" 26 "{ \n" 27 " vec2 positions[3]; \n" 28 " positions[0] = vec2(-1.0f, 3.0f); \n" 29 " positions[1] = vec2(-1.0f, -1.0f); \n" 30 " positions[2] = vec2(3.0f, -1.0f); \n" [all …]
|
/hardware/qcom/sm8150/display/gpu_tonemapper/ |
D | rgba_inverse_tonemap.inl | 21 …tension GL_OES_EGL_image_external_essl3 : require \n" 22 …cision highp float; \n" 23 …cision highp sampler2D; \n" 24 …out(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 …out(binding = 1) uniform sampler3D tonemapper; \n" 26 …out(binding = 2) uniform sampler2D xform; \n" 27 …out(location = 3) uniform vec2 tSO; \n" 28 … defined(USE_NONUNIFORM_SAMPLING) \n" 29 …out(location = 4) uniform vec2 xSO; \n" 30 …dif \n" [all …]
|
D | forward_tonemap.inl | 21 "#extension GL_OES_EGL_image_external_essl3 : require \n" 22 "precision highp float; \n" 23 "precision highp sampler2D; \n" 24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 "layout(binding = 1) uniform sampler3D tonemapper; \n" 26 "layout(binding = 2) uniform sampler2D xform; \n" 27 "layout(location = 3) uniform vec2 tSO; \n" 28 "#ifdef USE_NONUNIFORM_SAMPLING \n" 29 "layout(location = 4) uniform vec2 xSO; \n" 30 "#endif \n" [all …]
|
D | fullscreen_vertex_shader.inl | 21 "#version 300 es \n" 22 "precision highp float; \n" 23 "layout(location = 0) in vec2 iUV; \n" 24 "out vec2 uv; \n" 25 "void main() \n" 26 "{ \n" 27 " vec2 positions[3]; \n" 28 " positions[0] = vec2(-1.0f, 3.0f); \n" 29 " positions[1] = vec2(-1.0f, -1.0f); \n" 30 " positions[2] = vec2(3.0f, -1.0f); \n" [all …]
|
/hardware/qcom/display/msm8998/gpu_tonemapper/ |
D | rgba_inverse_tonemap.inl | 21 …tension GL_OES_EGL_image_external_essl3 : require \n" 22 …cision highp float; \n" 23 …cision highp sampler2D; \n" 24 …out(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 …out(binding = 1) uniform sampler3D tonemapper; \n" 26 …out(binding = 2) uniform sampler2D xform; \n" 27 …out(location = 3) uniform vec2 tSO; \n" 28 … defined(USE_NONUNIFORM_SAMPLING) \n" 29 …out(location = 4) uniform vec2 xSO; \n" 30 …dif \n" [all …]
|
D | forward_tonemap.inl | 21 "#extension GL_OES_EGL_image_external_essl3 : require \n" 22 "precision highp float; \n" 23 "precision highp sampler2D; \n" 24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 "layout(binding = 1) uniform sampler3D tonemapper; \n" 26 "layout(binding = 2) uniform sampler2D xform; \n" 27 "layout(location = 3) uniform vec2 tSO; \n" 28 "#ifdef USE_NONUNIFORM_SAMPLING \n" 29 "layout(location = 4) uniform vec2 xSO; \n" 30 "#endif \n" [all …]
|
D | fullscreen_vertex_shader.inl | 21 "#version 300 es \n" 22 "precision highp float; \n" 23 "layout(location = 0) in vec2 iUV; \n" 24 "out vec2 uv; \n" 25 "void main() \n" 26 "{ \n" 27 " vec2 positions[3]; \n" 28 " positions[0] = vec2(-1.0f, 3.0f); \n" 29 " positions[1] = vec2(-1.0f, -1.0f); \n" 30 " positions[2] = vec2(3.0f, -1.0f); \n" [all …]
|
/hardware/qcom/sdm845/display/gpu_tonemapper/ |
D | rgba_inverse_tonemap.inl | 21 …tension GL_OES_EGL_image_external_essl3 : require \n" 22 …cision highp float; \n" 23 …cision highp sampler2D; \n" 24 …out(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 …out(binding = 1) uniform sampler3D tonemapper; \n" 26 …out(binding = 2) uniform sampler2D xform; \n" 27 …out(location = 3) uniform vec2 tSO; \n" 28 … defined(USE_NONUNIFORM_SAMPLING) \n" 29 …out(location = 4) uniform vec2 xSO; \n" 30 …dif \n" [all …]
|
D | forward_tonemap.inl | 21 "#extension GL_OES_EGL_image_external_essl3 : require \n" 22 "precision highp float; \n" 23 "precision highp sampler2D; \n" 24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 "layout(binding = 1) uniform sampler3D tonemapper; \n" 26 "layout(binding = 2) uniform sampler2D xform; \n" 27 "layout(location = 3) uniform vec2 tSO; \n" 28 "#ifdef USE_NONUNIFORM_SAMPLING \n" 29 "layout(location = 4) uniform vec2 xSO; \n" 30 "#endif \n" [all …]
|
D | fullscreen_vertex_shader.inl | 21 "#version 300 es \n" 22 "precision highp float; \n" 23 "layout(location = 0) in vec2 iUV; \n" 24 "out vec2 uv; \n" 25 "void main() \n" 26 "{ \n" 27 " vec2 positions[3]; \n" 28 " positions[0] = vec2(-1.0f, 3.0f); \n" 29 " positions[1] = vec2(-1.0f, -1.0f); \n" 30 " positions[2] = vec2(3.0f, -1.0f); \n" [all …]
|
/hardware/st/secure_element2/secure_element/1.0/esehal/src/ |
D | iso7816_t1.c | 53 t1_init_recv_window(struct t1_state *t1, void *buf, size_t n) in t1_init_recv_window() argument 56 t1->recv.size = n; in t1_init_recv_window() 66 t1_recv_window_append(struct t1_state *t1, const void *buf, int n) in t1_recv_window_append() argument 70 if (n > free) in t1_recv_window_append() 71 n = (int)free; in t1_recv_window_append() 72 if (n > 0) { in t1_recv_window_append() 73 memcpy(t1->recv.end, buf, (size_t)n); in t1_recv_window_append() 74 t1->recv.end += n; in t1_recv_window_append() 92 t1_init_send_window(struct t1_state *t1, const void *buf, size_t n) in t1_init_send_window() argument 95 t1->send.end = t1->send.start + n; in t1_init_send_window() [all …]
|
D | spi.c | 81 ssize_t n; in spi_write() local 83 n = write(fd, buf, count); in spi_write() 84 if ((int)n != n) in spi_write() 87 return (int)n; in spi_write() 93 ssize_t n; in spi_read() local 95 n = read(fd, buf, count); in spi_read() 96 if ((int)n != n) in spi_read() 99 return (int)n; in spi_read()
|
D | transport.c | 82 int n = 0; in crc_length() local 86 n = 1; in crc_length() 90 n = 2; in crc_length() 93 return n; in crc_length() 97 block_send(struct t1_state *t1, const void *block, size_t n) in block_send() argument 99 if (n < 4) in block_send() 102 return spi_write(t1->spi_fd, block, n); in block_send() 106 block_recv(struct t1_state *t1, void *block, size_t n) in block_recv() argument 116 if (n < 4) in block_recv() 157 if ((size_t)max > n) in block_recv()
|
D | log.c | 55 int n = fmt[1] - '0'; in vsay() local 56 n = (n < 0 || n > 4) ? 5 : n; in vsay() 57 if (n <= ctx->log_level) { in vsay() 59 strcpy(ctx->log_buf, levels[n]); in vsay()
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | alsa_mixer.c | 99 static const char *elem_iface_name(snd_ctl_elem_iface_t n) in elem_iface_name() argument 101 switch (n) { in elem_iface_name() 113 static const char *elem_type_name(snd_ctl_elem_type_t n) in elem_type_name() argument 115 switch (n) { in elem_type_name() 129 unsigned n,m; in mixer_close() local 135 for (n = 0; n < mixer->count; n++) { in mixer_close() 136 if (mixer->ctl[n].ename) { in mixer_close() 137 unsigned max = mixer->ctl[n].info->value.enumerated.items; in mixer_close() 139 free(mixer->ctl[n].ename[m]); in mixer_close() 140 free(mixer->ctl[n].ename); in mixer_close() [all …]
|
D | alsa_pcm.c | 195 static inline struct snd_interval *param_to_interval(struct snd_pcm_hw_params *p, int n) in param_to_interval() argument 197 return &(p->intervals[n - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL]); in param_to_interval() 200 static inline struct snd_mask *param_to_mask(struct snd_pcm_hw_params *p, int n) in param_to_mask() argument 202 return &(p->masks[n - SNDRV_PCM_HW_PARAM_FIRST_MASK]); in param_to_mask() 205 void param_set_mask(struct snd_pcm_hw_params *p, int n, unsigned bit) in param_set_mask() argument 209 if (param_is_mask(n)) { in param_set_mask() 210 struct snd_mask *m = param_to_mask(p, n); in param_set_mask() 217 void param_set_min(struct snd_pcm_hw_params *p, int n, unsigned val) in param_set_min() argument 219 if (param_is_interval(n)) { in param_set_min() 220 struct snd_interval *i = param_to_interval(p, n); in param_set_min() [all …]
|
/hardware/qcom/msm8998/json-c/ |
D | linkhash.c | 110 #define hashsize(n) ((uint32_t)1<<(n)) argument 111 #define hashmask(n) (hashsize(n)-1) argument 495 unsigned long h, n; in lh_table_insert() local 501 n = h % t->size; in lh_table_insert() 504 if(t->table[n].k == LH_EMPTY || t->table[n].k == LH_FREED) break; in lh_table_insert() 506 if ((int)++n == t->size) n = 0; in lh_table_insert() 509 t->table[n].k = k; in lh_table_insert() 510 t->table[n].v = v; in lh_table_insert() 514 t->head = t->tail = &t->table[n]; in lh_table_insert() 515 t->table[n].next = t->table[n].prev = NULL; in lh_table_insert() [all …]
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | list.h | 62 #define list_for_each_entry_safe(pos, n, head, member) \ argument 64 n = list_entry(pos->member.next, typeof(*pos), member); \ 66 pos = n, n = list_entry(n->member.next, typeof(*n), member)) 68 #define list_for_each_safe(pos, n, head) \ argument 69 for (pos = (head)->next, n = pos->next; pos != (head); \ 70 pos = n, n = pos->next)
|
/hardware/interfaces/health/utils/libhealthloop/ |
D | HealthLoop.cpp | 134 int n; in UeventEvent() local 136 n = uevent_kernel_multicast_recv(uevent_fd_, msg, UEVENT_MSG_LEN); in UeventEvent() 137 if (n <= 0) return; in UeventEvent() 138 if (n >= UEVENT_MSG_LEN) /* overflow -- discard */ in UeventEvent() 141 msg[n] = '\0'; in UeventEvent() 142 msg[n + 1] = '\0'; in UeventEvent() 220 for (int n = 0; n < nevents; ++n) { in MainLoop() local 221 if (events[n].data.ptr) { in MainLoop() 222 auto* event_handler = reinterpret_cast<EventHandler*>(events[n].data.ptr); in MainLoop() 223 event_handler->func(event_handler->object, events[n].events); in MainLoop()
|