Home
last modified time | relevance | path

Searched refs:index (Results 201 - 225 of 22913) sorted by relevance

12345678910>>...917

/kernel/linux/linux-5.10/drivers/extcon/
H A Dextcon.c204 * @cable_index: the index of this cable in the edev
268 /* Find the the index of extcon cable in edev->supported_cable */ in find_cable_index_by_id()
293 static bool is_extcon_attached(struct extcon_dev *edev, unsigned int index) in is_extcon_attached() argument
295 return !!(edev->state & BIT(index)); in is_extcon_attached()
298 static bool is_extcon_changed(struct extcon_dev *edev, int index, in is_extcon_changed() argument
301 int state = !!(edev->state & BIT(index)); in is_extcon_changed()
319 unsigned int id, int index,unsigned int prop) in is_extcon_property_capability()
329 cable = &edev->cables[index]; in is_extcon_property_capability()
351 static void init_property(struct extcon_dev *edev, unsigned int id, int index) in init_property() argument
354 struct extcon_cable *cable = &edev->cables[index]; in init_property()
318 is_extcon_property_capability(struct extcon_dev *edev, unsigned int id, int index,unsigned int prop) is_extcon_property_capability() argument
434 int index; extcon_sync() local
509 int index, state; extcon_get_state() local
543 int index, ret = 0; extcon_set_state() local
597 int ret, index; extcon_set_state_sync() local
639 int index, ret = 0; extcon_get_property() local
718 int index, ret = 0; extcon_set_property() local
803 int index; extcon_get_property_capability() local
838 int index, type, ret = 0; extcon_set_property_capability() local
1102 int ret, index = 0; extcon_dev_register() local
1314 int index; extcon_dev_unregister() local
1382 extcon_get_edev_by_phandle(struct device *dev, int index) extcon_get_edev_by_phandle() argument
1415 extcon_get_edev_by_phandle(struct device *dev, int index) extcon_get_edev_by_phandle() argument
[all...]
/third_party/mesa3d/src/mesa/vbo/
H A Dvbo_attrib_tmp.h184 #define ATTR_UI_INDEX(ctx, val, type, normalized, index, arg) do { \
185 if ((index) == 0 && _mesa_attr_zero_aliases_vertex(ctx)) { \
187 } else if ((index) < MAX_VERTEX_GENERIC_ATTRIBS) { \
188 ATTR_UI(ctx, val, (type), normalized, VBO_ATTRIB_GENERIC0 + (index), (arg)); \
252 TAG(VertexAttrib1fARB)(GLuint index, GLfloat x) in VertexAttrib1fARB() argument
255 if (is_vertex_position(ctx, index)) in VertexAttrib1fARB()
257 else if (index < MAX_VERTEX_GENERIC_ATTRIBS) in VertexAttrib1fARB()
258 ATTR1F(VBO_ATTRIB_GENERIC0 + index, x); in VertexAttrib1fARB()
264 TAG(VertexAttrib1fvARB)(GLuint index, const GLfloat * v) in VertexAttrib1fvARB() argument
267 if (is_vertex_position(ctx, index)) in VertexAttrib1fvARB()
276 VertexAttrib2fARB(GLuint index, GLfloat x, GLfloat y) VertexAttrib2fARB() argument
288 VertexAttrib2fvARB(GLuint index, const GLfloat * v) VertexAttrib2fvARB() argument
300 VertexAttrib3fARB(GLuint index, GLfloat x, GLfloat y, GLfloat z) VertexAttrib3fARB() argument
312 VertexAttrib3fvARB(GLuint index, const GLfloat * v) VertexAttrib3fvARB() argument
324 VertexAttrib4fARB(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) VertexAttrib4fARB() argument
336 VertexAttrib4fvARB(GLuint index, const GLfloat * v) VertexAttrib4fvARB() argument
353 VertexAttribI1iEXT(GLuint index, GLint x) VertexAttribI1iEXT() argument
365 VertexAttribI2iEXT(GLuint index, GLint x, GLint y) VertexAttribI2iEXT() argument
377 VertexAttribI3iEXT(GLuint index, GLint x, GLint y, GLint z) VertexAttribI3iEXT() argument
389 VertexAttribI4iEXT(GLuint index, GLint x, GLint y, GLint z, GLint w) VertexAttribI4iEXT() argument
401 VertexAttribI2ivEXT(GLuint index, const GLint *v) VertexAttribI2ivEXT() argument
413 VertexAttribI3ivEXT(GLuint index, const GLint *v) VertexAttribI3ivEXT() argument
425 VertexAttribI4ivEXT(GLuint index, const GLint *v) VertexAttribI4ivEXT() argument
442 VertexAttribI1uiEXT(GLuint index, GLuint x) VertexAttribI1uiEXT() argument
454 VertexAttribI2uiEXT(GLuint index, GLuint x, GLuint y) VertexAttribI2uiEXT() argument
466 VertexAttribI3uiEXT(GLuint index, GLuint x, GLuint y, GLuint z) VertexAttribI3uiEXT() argument
478 VertexAttribI4uiEXT(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) VertexAttribI4uiEXT() argument
490 VertexAttribI2uivEXT(GLuint index, const GLuint *v) VertexAttribI2uivEXT() argument
502 VertexAttribI3uivEXT(GLuint index, const GLuint *v) VertexAttribI3uivEXT() argument
514 VertexAttribI4uivEXT(GLuint index, const GLuint *v) VertexAttribI4uivEXT() argument
533 VertexAttrib1fNV(GLuint index, GLfloat x) VertexAttrib1fNV() argument
541 VertexAttrib1fvNV(GLuint index, const GLfloat * v) VertexAttrib1fvNV() argument
549 VertexAttrib2fNV(GLuint index, GLfloat x, GLfloat y) VertexAttrib2fNV() argument
557 VertexAttrib2fvNV(GLuint index, const GLfloat * v) VertexAttrib2fvNV() argument
565 VertexAttrib3fNV(GLuint index, GLfloat x, GLfloat y, GLfloat z) VertexAttrib3fNV() argument
573 VertexAttrib3fvNV(GLuint index, const GLfloat * v) VertexAttrib3fvNV() argument
582 VertexAttrib4fNV(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) VertexAttrib4fNV() argument
590 VertexAttrib4fvNV(GLuint index, const GLfloat * v) VertexAttrib4fvNV() argument
646 VertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) VertexAttribP1ui() argument
655 VertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) VertexAttribP2ui() argument
664 VertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) VertexAttribP3ui() argument
673 VertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) VertexAttribP4ui() argument
682 VertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) VertexAttribP1uiv() argument
691 VertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) VertexAttribP2uiv() argument
700 VertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) VertexAttribP3uiv() argument
709 VertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) VertexAttribP4uiv() argument
720 VertexAttribL1d(GLuint index, GLdouble x) VertexAttribL1d() argument
732 VertexAttribL1dv(GLuint index, const GLdouble * v) VertexAttribL1dv() argument
744 VertexAttribL2d(GLuint index, GLdouble x, GLdouble y) VertexAttribL2d() argument
756 VertexAttribL2dv(GLuint index, const GLdouble * v) VertexAttribL2dv() argument
768 VertexAttribL3d(GLuint index, GLdouble x, GLdouble y, GLdouble z) VertexAttribL3d() argument
780 VertexAttribL3dv(GLuint index, const GLdouble * v) VertexAttribL3dv() argument
792 VertexAttribL4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) VertexAttribL4d() argument
804 VertexAttribL4dv(GLuint index, const GLdouble * v) VertexAttribL4dv() argument
816 VertexAttribL1ui64ARB(GLuint index, GLuint64EXT x) VertexAttribL1ui64ARB() argument
828 VertexAttribL1ui64vARB(GLuint index, const GLuint64EXT *v) VertexAttribL1ui64vARB() argument
883 VertexAttrib1hNV(GLuint index, GLhalfNV x) VertexAttrib1hNV() argument
895 VertexAttrib2hNV(GLuint index, GLhalfNV x, GLhalfNV y) VertexAttrib2hNV() argument
907 VertexAttrib3hNV(GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z) VertexAttrib3hNV() argument
919 VertexAttrib4hNV(GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w) VertexAttrib4hNV() argument
931 VertexAttrib1hvNV(GLuint index, const GLhalfNV * v) VertexAttrib1hvNV() argument
943 VertexAttrib2hvNV(GLuint index, const GLhalfNV * v) VertexAttrib2hvNV() argument
955 VertexAttrib3hvNV(GLuint index, const GLhalfNV * v) VertexAttrib3hvNV() argument
967 VertexAttrib4hvNV(GLuint index, const GLhalfNV * v) VertexAttrib4hvNV() argument
979 VertexAttribs1hvNV(GLuint index, GLsizei n, const GLhalfNV *v) VertexAttribs1hvNV() argument
988 VertexAttribs2hvNV(GLuint index, GLsizei n, const GLhalfNV *v) VertexAttribs2hvNV() argument
997 VertexAttribs3hvNV(GLuint index, GLsizei n, const GLhalfNV *v) VertexAttribs3hvNV() argument
1007 VertexAttribs4hvNV(GLuint index, GLsizei n, const GLhalfNV *v) VertexAttribs4hvNV() argument
1150 VertexAttrib1sNV(GLuint index, GLshort x) VertexAttrib1sNV() argument
1157 VertexAttrib1dNV(GLuint index, GLdouble x) VertexAttrib1dNV() argument
1164 VertexAttrib2sNV(GLuint index, GLshort x, GLshort y) VertexAttrib2sNV() argument
1171 VertexAttrib2dNV(GLuint index, GLdouble x, GLdouble y) VertexAttrib2dNV() argument
1178 VertexAttrib3sNV(GLuint index, GLshort x, GLshort y, GLshort z) VertexAttrib3sNV() argument
1185 VertexAttrib3dNV(GLuint index, GLdouble x, GLdouble y, GLdouble z) VertexAttrib3dNV() argument
1192 VertexAttrib4sNV(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) VertexAttrib4sNV() argument
1199 VertexAttrib4dNV(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) VertexAttrib4dNV() argument
1206 VertexAttrib4ubNV(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) VertexAttrib4ubNV() argument
1214 VertexAttrib1svNV(GLuint index, const GLshort *v) VertexAttrib1svNV() argument
1221 VertexAttrib1dvNV(GLuint index, const GLdouble *v) VertexAttrib1dvNV() argument
1228 VertexAttrib2svNV(GLuint index, const GLshort *v) VertexAttrib2svNV() argument
1235 VertexAttrib2dvNV(GLuint index, const GLdouble *v) VertexAttrib2dvNV() argument
1242 VertexAttrib3svNV(GLuint index, const GLshort *v) VertexAttrib3svNV() argument
1249 VertexAttrib3dvNV(GLuint index, const GLdouble *v) VertexAttrib3dvNV() argument
1256 VertexAttrib4svNV(GLuint index, const GLshort *v) VertexAttrib4svNV() argument
1264 VertexAttrib4dvNV(GLuint index, const GLdouble *v) VertexAttrib4dvNV() argument
1271 VertexAttrib4ubvNV(GLuint index, const GLubyte *v) VertexAttrib4ubvNV() argument
1280 VertexAttribs1svNV(GLuint index, GLsizei n, const GLshort *v) VertexAttribs1svNV() argument
1290 VertexAttribs1fvNV(GLuint index, GLsizei n, const GLfloat *v) VertexAttribs1fvNV() argument
1300 VertexAttribs1dvNV(GLuint index, GLsizei n, const GLdouble *v) VertexAttribs1dvNV() argument
1310 VertexAttribs2svNV(GLuint index, GLsizei n, const GLshort *v) VertexAttribs2svNV() argument
1320 VertexAttribs2fvNV(GLuint index, GLsizei n, const GLfloat *v) VertexAttribs2fvNV() argument
1330 VertexAttribs2dvNV(GLuint index, GLsizei n, const GLdouble *v) VertexAttribs2dvNV() argument
1340 VertexAttribs3svNV(GLuint index, GLsizei n, const GLshort *v) VertexAttribs3svNV() argument
1350 VertexAttribs3fvNV(GLuint index, GLsizei n, const GLfloat *v) VertexAttribs3fvNV() argument
1360 VertexAttribs3dvNV(GLuint index, GLsizei n, const GLdouble *v) VertexAttribs3dvNV() argument
1370 VertexAttribs4svNV(GLuint index, GLsizei n, const GLshort *v) VertexAttribs4svNV() argument
1380 VertexAttribs4fvNV(GLuint index, GLsizei n, const GLfloat *v) VertexAttribs4fvNV() argument
1390 VertexAttribs4dvNV(GLuint index, GLsizei n, const GLdouble *v) VertexAttribs4dvNV() argument
1400 VertexAttribs4ubvNV(GLuint index, GLsizei n, const GLubyte *v) VertexAttribs4ubvNV() argument
1417 VertexAttrib1s(GLuint index, GLshort x) VertexAttrib1s() argument
1429 VertexAttrib1d(GLuint index, GLdouble x) VertexAttrib1d() argument
1441 VertexAttrib2s(GLuint index, GLshort x, GLshort y) VertexAttrib2s() argument
1453 VertexAttrib2d(GLuint index, GLdouble x, GLdouble y) VertexAttrib2d() argument
1465 VertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z) VertexAttrib3s() argument
1477 VertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z) VertexAttrib3d() argument
1489 VertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) VertexAttrib4s() argument
1501 VertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) VertexAttrib4d() argument
1513 VertexAttrib1sv(GLuint index, const GLshort *v) VertexAttrib1sv() argument
1525 VertexAttrib1dv(GLuint index, const GLdouble *v) VertexAttrib1dv() argument
1537 VertexAttrib2sv(GLuint index, const GLshort *v) VertexAttrib2sv() argument
1549 VertexAttrib2dv(GLuint index, const GLdouble *v) VertexAttrib2dv() argument
1561 VertexAttrib3sv(GLuint index, const GLshort *v) VertexAttrib3sv() argument
1573 VertexAttrib3dv(GLuint index, const GLdouble *v) VertexAttrib3dv() argument
1585 VertexAttrib4sv(GLuint index, const GLshort *v) VertexAttrib4sv() argument
1597 VertexAttrib4dv(GLuint index, const GLdouble *v) VertexAttrib4dv() argument
1609 VertexAttrib4bv(GLuint index, const GLbyte * v) VertexAttrib4bv() argument
1621 VertexAttrib4iv(GLuint index, const GLint * v) VertexAttrib4iv() argument
1633 VertexAttrib4ubv(GLuint index, const GLubyte * v) VertexAttrib4ubv() argument
1645 VertexAttrib4usv(GLuint index, const GLushort * v) VertexAttrib4usv() argument
1657 VertexAttrib4uiv(GLuint index, const GLuint * v) VertexAttrib4uiv() argument
1669 VertexAttrib4Nbv(GLuint index, const GLbyte * v) VertexAttrib4Nbv() argument
1681 VertexAttrib4Nsv(GLuint index, const GLshort * v) VertexAttrib4Nsv() argument
1693 VertexAttrib4Niv(GLuint index, const GLint * v) VertexAttrib4Niv() argument
1705 VertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) VertexAttrib4Nub() argument
1717 VertexAttrib4Nubv(GLuint index, const GLubyte * v) VertexAttrib4Nubv() argument
1729 VertexAttrib4Nusv(GLuint index, const GLushort * v) VertexAttrib4Nusv() argument
1741 VertexAttrib4Nuiv(GLuint index, const GLuint * v) VertexAttrib4Nuiv() argument
1758 VertexAttribI1iv(GLuint index, const GLint *v) VertexAttribI1iv() argument
1770 VertexAttribI1uiv(GLuint index, const GLuint *v) VertexAttribI1uiv() argument
1782 VertexAttribI4bv(GLuint index, const GLbyte *v) VertexAttribI4bv() argument
1794 VertexAttribI4sv(GLuint index, const GLshort *v) VertexAttribI4sv() argument
1806 VertexAttribI4ubv(GLuint index, const GLubyte *v) VertexAttribI4ubv() argument
1818 VertexAttribI4usv(GLuint index, const GLushort *v) VertexAttribI4usv() argument
[all...]
/kernel/linux/linux-6.6/drivers/extcon/
H A Dextcon.c205 * @cable_index: the index of this cable in the edev
270 /* Find the index of extcon cable in edev->supported_cable */ in find_cable_index_by_id()
295 static bool is_extcon_attached(struct extcon_dev *edev, unsigned int index) in is_extcon_attached() argument
297 return !!(edev->state & BIT(index)); in is_extcon_attached()
300 static bool is_extcon_changed(struct extcon_dev *edev, int index, in is_extcon_changed() argument
303 int state = !!(edev->state & BIT(index)); in is_extcon_changed()
321 unsigned int id, int index,unsigned int prop) in is_extcon_property_capability()
331 cable = &edev->cables[index]; in is_extcon_property_capability()
353 static void init_property(struct extcon_dev *edev, unsigned int id, int index) in init_property() argument
356 struct extcon_cable *cable = &edev->cables[index]; in init_property()
320 is_extcon_property_capability(struct extcon_dev *edev, unsigned int id, int index,unsigned int prop) is_extcon_property_capability() argument
437 int index; extcon_sync() local
512 int index, state; extcon_get_state() local
546 int index, ret = 0; extcon_set_state() local
630 int index, ret = 0; extcon_get_property() local
709 int index, ret = 0; extcon_set_property() local
797 int index; extcon_get_property_capability() local
832 int index, type, ret = 0; extcon_set_property_capability() local
1091 int index; extcon_alloc_cables() local
1151 int index; extcon_alloc_muex() local
1205 int index; extcon_alloc_groups() local
1249 int ret, index; extcon_dev_register() local
1360 int index; extcon_dev_unregister() local
1429 extcon_get_edev_by_phandle(struct device *dev, int index) extcon_get_edev_by_phandle() argument
1458 extcon_get_edev_by_phandle(struct device *dev, int index) extcon_get_edev_by_phandle() argument
[all...]
/kernel/linux/linux-6.6/mm/
H A Dreadahead.c209 unsigned long index = readahead_index(ractl); in page_cache_ra_unbounded() local
230 struct folio *folio = xa_load(&mapping->i_pages, index + i); in page_cache_ra_unbounded()
243 i = ractl->_index + ractl->_nr_pages - index - 1; in page_cache_ra_unbounded()
250 if (filemap_add_folio(mapping, folio, index + i, in page_cache_ra_unbounded()
255 i = ractl->_index + ractl->_nr_pages - index - 1; in page_cache_ra_unbounded()
285 unsigned long index = readahead_index(ractl); in do_page_cache_ra() local
293 if (index > end_index) in do_page_cache_ra()
296 if (nr_to_read > end_index - index) in do_page_cache_ra()
297 nr_to_read = end_index - index + 1; in do_page_cache_ra()
312 unsigned long max_pages, index; in force_page_cache_ra() local
418 count_history_pages(struct address_space *mapping, pgoff_t index, unsigned long max) count_history_pages() argument
433 try_context_readahead(struct address_space *mapping, struct file_ra_state *ra, pgoff_t index, unsigned long req_size, unsigned long max) try_context_readahead() argument
464 ra_alloc_folio(struct readahead_control *ractl, pgoff_t index, pgoff_t mark, unsigned int order, gfp_t gfp) ra_alloc_folio() argument
490 pgoff_t index = readahead_index(ractl); page_cache_ra_order() local
559 pgoff_t index = readahead_index(ractl); ondemand_readahead() local
790 unsigned long index = ractl->_index - 1; readahead_expand() local
817 unsigned long index = ractl->_index + ractl->_nr_pages; readahead_expand() local
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DFormattedStringBuilder.java90 public char charAt(int index) { in charAt() argument
91 assert index >= 0; in charAt()
92 assert index < length; in charAt()
93 return chars[zero + index]; in charAt()
96 public Object fieldAt(int index) { in fieldAt() argument
97 assert index >= 0; in fieldAt()
98 assert index < length; in fieldAt()
99 return fields[zero + index]; in fieldAt()
116 public int codePointAt(int index) { in codePointAt() argument
117 return Character.codePointAt(chars, zero + index, zer in codePointAt()
120 codePointBefore(int index) codePointBefore() argument
135 setAppendIndex(int index) setAppendIndex() argument
143 insertChar16(int index, char codeUnit, Object field) insertChar16() argument
165 insertCodePoint(int index, int codePoint, Object field) insertCodePoint() argument
189 insert(int index, CharSequence sequence, Object field) insert() argument
208 insert(int index, CharSequence sequence, int start, int end, Object field) insert() argument
267 insert(int index, char[] chars, Object[] fields) insert() argument
294 insert(int index, FormattedStringBuilder other) insert() argument
320 prepareForInsert(int index, int count) prepareForInsert() argument
339 prepareForInsertHelper(int index, int count) prepareForInsertHelper() argument
400 remove(int index, int count) remove() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DFormattedStringBuilder.java76 public char charAt(int index) { in charAt() argument
77 assert index >= 0; in charAt()
78 assert index < length; in charAt()
79 return chars[zero + index]; in charAt()
82 public Object fieldAt(int index) { in fieldAt() argument
83 assert index >= 0; in fieldAt()
84 assert index < length; in fieldAt()
85 return fields[zero + index]; in fieldAt()
102 public int codePointAt(int index) { in codePointAt() argument
103 return Character.codePointAt(chars, zero + index, zer in codePointAt()
106 codePointBefore(int index) codePointBefore() argument
121 setAppendIndex(int index) setAppendIndex() argument
129 insertChar16(int index, char codeUnit, Object field) insertChar16() argument
151 insertCodePoint(int index, int codePoint, Object field) insertCodePoint() argument
175 insert(int index, CharSequence sequence, Object field) insert() argument
194 insert(int index, CharSequence sequence, int start, int end, Object field) insert() argument
253 insert(int index, char[] chars, Object[] fields) insert() argument
280 insert(int index, FormattedStringBuilder other) insert() argument
306 prepareForInsert(int index, int count) prepareForInsert() argument
325 prepareForInsertHelper(int index, int count) prepareForInsertHelper() argument
386 remove(int index, int count) remove() argument
[all...]
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/
H A Dreli_test.cpp140 for (int32_t index = 0; index < g_track; index++) { in DemuxFunc()
141 if ((audioIsEnd && (index == MEDIA_TYPE_AUD)) || (videoIsEnd && (index == MEDIA_TYPE_VID))) { in DemuxFunc()
144 ASSERT_EQ(AV_ERR_OK, OH_AVDemuxer_ReadSample(demuxer_list[i], index, memory_list[i], &attr)); in DemuxFunc()
146 if ((index == MEDIA_TYPE_AUD) && (attr.flags & OH_AVCodecBufferFlags::AVCODEC_BUFFER_FLAGS_EOS)) { in DemuxFunc()
149 if ((index == MEDIA_TYPE_VID) && (attr.flags & OH_AVCodecBufferFlags::AVCODEC_BUFFER_FLAGS_EOS)) { in DemuxFunc()
321 for (int32_t index = 0; index < in HWTEST_F()
[all...]
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/
H A DIt_posix_queue_136.cpp36 INT32 index; in Testcase() local
48 for (index = 0; index < (LOSCFG_BASE_IPC_QUEUE_CONFIG - QUEUE_EXISTED_NUM); index++) { in Testcase()
49 (void)snprintf_s(qName[index], MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase()
50 "/mq136_%d", index); in Testcase()
51 queueID[index] = mq_open(qName[index], O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &msgAttr); in Testcase()
52 ICUNIT_GOTO_NOT_EQUAL(queueID[index], (mqd_t)-1, queueID[index], EXI in Testcase()
[all...]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_INPUT.c34 int valid_input_index(int f, __u32 index) in valid_input_index() argument
41 /* Search for index with VIDIOC_ENUMINPUT. Do not just in valid_input_index()
42 * check the given index with VIDIOC_ENUMINPUT because in valid_input_index()
49 input.index = i; in valid_input_index()
52 if (ret_enum == 0 && index == i) { in valid_input_index()
64 __u32 index; in test_VIDIOC_G_INPUT() local
69 memset(&index, 0xff, sizeof(index)); in test_VIDIOC_G_INPUT()
70 ret_get = ioctl(f, VIDIOC_G_INPUT, &index); in test_VIDIOC_G_INPUT()
78 CU_ASSERT(valid_input_index(f, index)); in test_VIDIOC_G_INPUT()
140 do_set_input(int f, __u32 first_wrong_input, __u32 index) do_set_input() argument
233 __u32 index; test_VIDIOC_G_INPUT_NULL() local
267 __u32 index; test_VIDIOC_S_INPUT_NULL() local
[all...]
H A Dtest_VIDIOC_OUTPUT.c32 int valid_output_index(int f, __u32 index) in valid_output_index() argument
39 /* Search for index with VIDIOC_ENUMOUTPUT. Do not just in valid_output_index()
40 * check the given index with VIDIOC_ENUMOUTPUT because in valid_output_index()
47 output.index = i; in valid_output_index()
50 if (ret_enum == 0 && index == i) { in valid_output_index()
62 __u32 index; in test_VIDIOC_G_OUTPUT() local
67 memset(&index, 0xff, sizeof(index)); in test_VIDIOC_G_OUTPUT()
68 ret_get = ioctl(f, VIDIOC_G_OUTPUT, &index); in test_VIDIOC_G_OUTPUT()
76 CU_ASSERT(valid_output_index(f, index)); in test_VIDIOC_G_OUTPUT()
140 do_set_output(int f, __u32 first_wrong_output, __u32 index) do_set_output() argument
231 __u32 index; test_VIDIOC_G_OUTPUT_NULL() local
265 __u32 index; test_VIDIOC_S_OUTPUT_NULL() local
[all...]
/third_party/node/deps/v8/src/heap/cppgc/
H A Dfree-list.cc93 const size_t index = BucketIndexForSize(static_cast<uint32_t>(size)); in AddReturningUnusedBounds() local
94 entry.Link(&free_list_heads_[index]); in AddReturningUnusedBounds()
95 biggest_free_list_index_ = std::max(biggest_free_list_index_, index); in AddReturningUnusedBounds()
97 free_list_tails_[index] = &entry; in AddReturningUnusedBounds()
109 for (size_t index = 0; index < free_list_tails_.size(); ++index) { in Append()
110 Entry* other_tail = other.free_list_tails_[index]; in Append()
111 Entry*& this_head = this->free_list_heads_[index]; in Append()
115 this->free_list_tails_[index] in Append()
140 size_t index = biggest_free_list_index_; Allocate() local
[all...]
/third_party/skia/src/gpu/mtl/
H A DGrMtlRenderCommandEncoder.h68 void setVertexBuffer(id<MTLBuffer> buffer, NSUInteger offset, NSUInteger index) { in setVertexBuffer() argument
70 if (fCurrentVertexBuffer[index] == buffer) { in setVertexBuffer()
71 this->setVertexBufferOffset(offset, index); in setVertexBuffer()
75 if (fCurrentVertexBuffer[index] != buffer || fCurrentVertexOffset[index] != offset) { in setVertexBuffer()
78 atIndex:index]; in setVertexBuffer()
79 fCurrentVertexBuffer[index] = buffer; in setVertexBuffer()
80 fCurrentVertexOffset[index] = offset; in setVertexBuffer()
83 void setVertexBufferOffset(NSUInteger offset, NSUInteger index)
85 if (fCurrentVertexOffset[index] !
92 setFragmentBuffer(id<MTLBuffer> buffer, NSUInteger offset, NSUInteger index) setFragmentBuffer() argument
129 setFragmentTexture(id<MTLTexture> texture, NSUInteger index) setFragmentTexture() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dnsp32_io.h13 unsigned int index, in nsp32_write1()
16 outb(val, (base + index)); in nsp32_write1()
20 unsigned int index) in nsp32_read1()
22 return inb(base + index); in nsp32_read1()
26 unsigned int index, in nsp32_write2()
29 outw(val, (base + index)); in nsp32_write2()
33 unsigned int index) in nsp32_read2()
35 return inw(base + index); in nsp32_read2()
39 unsigned int index, in nsp32_write4()
42 outl(val, (base + index)); in nsp32_write4()
12 nsp32_write1(unsigned int base, unsigned int index, unsigned char val) nsp32_write1() argument
19 nsp32_read1(unsigned int base, unsigned int index) nsp32_read1() argument
25 nsp32_write2(unsigned int base, unsigned int index, unsigned short val) nsp32_write2() argument
32 nsp32_read2(unsigned int base, unsigned int index) nsp32_read2() argument
38 nsp32_write4(unsigned int base, unsigned int index, unsigned long val) nsp32_write4() argument
45 nsp32_read4(unsigned int base, unsigned int index) nsp32_read4() argument
53 nsp32_mmio_write1(unsigned long base, unsigned int index, unsigned char val) nsp32_mmio_write1() argument
64 nsp32_mmio_read1(unsigned long base, unsigned int index) nsp32_mmio_read1() argument
74 nsp32_mmio_write2(unsigned long base, unsigned int index, unsigned short val) nsp32_mmio_write2() argument
85 nsp32_mmio_read2(unsigned long base, unsigned int index) nsp32_mmio_read2() argument
95 nsp32_mmio_write4(unsigned long base, unsigned int index, unsigned long val) nsp32_mmio_write4() argument
106 nsp32_mmio_read4(unsigned long base, unsigned int index) nsp32_mmio_read4() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/thunderbolt/
H A Dtrace.h26 TP_PROTO(unsigned int index, const void *page, dma_addr_t phys,
28 TP_ARGS(index, page, phys, dir),
30 __field(unsigned int, index)
36 __entry->index = index;
41 TP_printk("index=%u page=%p phys=%pad dir=%s",
42 __entry->index, __entry->page, &__entry->phys,
47 TP_PROTO(unsigned int index, const void *page, dma_addr_t phys,
49 TP_ARGS(index, page, phys, dir)
53 TP_PROTO(unsigned int index, cons
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dnsp32_io.h13 unsigned int index, in nsp32_write1()
16 outb(val, (base + index)); in nsp32_write1()
20 unsigned int index) in nsp32_read1()
22 return inb(base + index); in nsp32_read1()
26 unsigned int index, in nsp32_write2()
29 outw(val, (base + index)); in nsp32_write2()
33 unsigned int index) in nsp32_read2()
35 return inw(base + index); in nsp32_read2()
39 unsigned int index, in nsp32_write4()
42 outl(val, (base + index)); in nsp32_write4()
12 nsp32_write1(unsigned int base, unsigned int index, unsigned char val) nsp32_write1() argument
19 nsp32_read1(unsigned int base, unsigned int index) nsp32_read1() argument
25 nsp32_write2(unsigned int base, unsigned int index, unsigned short val) nsp32_write2() argument
32 nsp32_read2(unsigned int base, unsigned int index) nsp32_read2() argument
38 nsp32_write4(unsigned int base, unsigned int index, unsigned long val) nsp32_write4() argument
45 nsp32_read4(unsigned int base, unsigned int index) nsp32_read4() argument
53 nsp32_mmio_write1(unsigned long base, unsigned int index, unsigned char val) nsp32_mmio_write1() argument
64 nsp32_mmio_read1(unsigned long base, unsigned int index) nsp32_mmio_read1() argument
74 nsp32_mmio_write2(unsigned long base, unsigned int index, unsigned short val) nsp32_mmio_write2() argument
85 nsp32_mmio_read2(unsigned long base, unsigned int index) nsp32_mmio_read2() argument
95 nsp32_mmio_write4(unsigned long base, unsigned int index, unsigned long val) nsp32_mmio_write4() argument
106 nsp32_mmio_read4(unsigned long base, unsigned int index) nsp32_mmio_read4() argument
[all...]
/third_party/node/deps/v8/src/objects/
H A Dproperty-array-inl.h29 Object PropertyArray::get(int index) const { in get()
31 return get(cage_base, index); in get()
34 Object PropertyArray::get(PtrComprCageBase cage_base, int index) const { in get()
35 DCHECK_LT(static_cast<unsigned>(index), in get()
38 OffsetOfElementAt(index)); in get()
41 Object PropertyArray::get(int index, SeqCstAccessTag tag) const { in get() argument
43 return get(cage_base, index, tag); in get()
46 Object PropertyArray::get(PtrComprCageBase cage_base, int index, in get() argument
48 DCHECK_LT(static_cast<unsigned>(index), in get()
51 OffsetOfElementAt(index)); in get()
54 set(int index, Object value) set() argument
63 set(int index, Object value, WriteBarrierMode mode) set() argument
71 set(int index, Object value, SeqCstAccessTag tag) set() argument
84 Swap(int index, Object value, SeqCstAccessTag tag) Swap() argument
89 Swap(PtrComprCageBase cage_base, int index, Object value, SeqCstAccessTag tag) Swap() argument
[all...]
/third_party/node/deps/npm/node_modules/lru-cache/dist/commonjs/
H A Dindex.js255 backgroundFetch: (k, index, options, context) => c.#backgroundFetch(k, index, options, context),
256 moveToTail: (index) => c.#moveToTail(index),
259 isStale: (index) => c.#isStale(index),
414 this.#setItemTTL = (index, ttl, start = perf.now()) => {
415 starts[index] = ttl !== 0 ? start : 0;
416 ttls[index] = ttl;
419 if (this.#isStale(index)) {
[all...]
/third_party/node/deps/npm/node_modules/lru-cache/dist/esm/
H A Dindex.js252 backgroundFetch: (k, index, options, context) => c.#backgroundFetch(k, index, options, context),
253 moveToTail: (index) => c.#moveToTail(index),
256 isStale: (index) => c.#isStale(index),
411 this.#setItemTTL = (index, ttl, start = perf.now()) => {
412 starts[index] = ttl !== 0 ? start : 0;
413 ttls[index] = ttl;
416 if (this.#isStale(index)) {
[all...]
/third_party/typescript/tests/baselines/reference/
H A DuncaughtCompilerError1.js2 declare var index, lineTokens, token, tokens;
5 if (lineTokens[index].trim() === '=' && index > 0 && token.type === '' && tokens[index - 1].type === 'attribute.name.html') {
6 if (index === (tokens.length - 1)) {
9 else if (tokens[index + 1].type !== 'attribute.value.html' && tokens[index + 1].type !== '') {
19 if (lineTokens[index].trim() === '=' && index > 0 && token.type === '' && tokens[index
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image_animator/
H A Dimage_animator_pattern.cpp44 for (int32_t index = 0; index < size; ++index) { in CreatePictureAnimation()
45 pictureAnimation->AddPicture(images_[index].duration / static_cast<float>(durationTotal_), index); in CreatePictureAnimation()
49 for (int32_t index = 0; index < size; ++index) { in CreatePictureAnimation()
50 pictureAnimation->AddPicture(NORMALIZED_DURATION_MAX / static_cast<float>(size), index); in CreatePictureAnimation()
54 pictureAnimation->AddListener([weak = WeakClaim(this)](int32_t index) { in CreatePictureAnimation()
62 SetShowingIndex(int32_t index) SetShowingIndex() argument
116 UpdateShowingImageInfo(const RefPtr<FrameNode>& imageFrameNode, int32_t index) UpdateShowingImageInfo() argument
147 UpdateCacheImageInfo(CacheImageStruct& cacheImage, int32_t index) UpdateCacheImageInfo() argument
263 RunAnimatorByStatus(int32_t index) RunAnimatorByStatus() argument
289 DisablePreAnimatedImageAnimation(uint32_t index) DisablePreAnimatedImageAnimation() argument
317 auto index = nowImageIndex_; OnModifyDone() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
H A Dflag_benchmark.cc104 #define REPLICATE_0(A, T, name, index) A(T, name, index)
105 #define REPLICATE_1(A, T, name, index) \
106 REPLICATE_0(A, T, name, index##0) REPLICATE_0(A, T, name, index##1)
107 #define REPLICATE_2(A, T, name, index) \
108 REPLICATE_1(A, T, name, index##0) REPLICATE_1(A, T, name, index##1)
109 #define REPLICATE_3(A, T, name, index) \
110 REPLICATE_2(A, T, name, index##
[all...]
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Damd-pstate-ut.c45 void (*func)(u32 index);
52 static void amd_pstate_ut_acpi_cpc_valid(u32 index);
53 static void amd_pstate_ut_check_enabled(u32 index);
54 static void amd_pstate_ut_check_perf(u32 index);
55 static void amd_pstate_ut_check_freq(u32 index);
77 static void amd_pstate_ut_acpi_cpc_valid(u32 index) in amd_pstate_ut_acpi_cpc_valid() argument
80 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_PASS; in amd_pstate_ut_acpi_cpc_valid()
82 amd_pstate_ut_cases[index].result = AMD_PSTATE_UT_RESULT_FAIL; in amd_pstate_ut_acpi_cpc_valid()
87 static void amd_pstate_ut_pstate_enable(u32 index) in amd_pstate_ut_pstate_enable() argument
94 amd_pstate_ut_cases[index] in amd_pstate_ut_pstate_enable()
109 amd_pstate_ut_check_enabled(u32 index) amd_pstate_ut_check_enabled() argument
121 amd_pstate_ut_check_perf(u32 index) amd_pstate_ut_check_perf() argument
199 amd_pstate_ut_check_freq(u32 index) amd_pstate_ut_check_freq() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c30 * Return a value that is equal to the given i32 \p index if it lies in [0,num)
33 static LLVMValueRef si_llvm_bound_index(struct si_shader_context *ctx, LLVMValueRef index, in si_llvm_bound_index() argument
41 index = LLVMBuildAnd(builder, index, c_max, ""); in si_llvm_bound_index()
49 cc = LLVMBuildICmp(builder, LLVMIntULE, index, c_max, ""); in si_llvm_bound_index()
50 index = LLVMBuildSelect(builder, cc, index, c_max, ""); in si_llvm_bound_index()
53 return index; in si_llvm_bound_index()
92 static LLVMValueRef load_ubo(struct ac_shader_abi *abi, LLVMValueRef index) in load_ubo() argument
103 index in load_ubo()
110 load_ssbo(struct ac_shader_abi *abi, LLVMValueRef index, bool write, bool non_uniform) load_ssbo() argument
180 si_load_image_desc(struct si_shader_context *ctx, LLVMValueRef list, LLVMValueRef index, enum ac_descriptor_type desc_type, bool uses_store, bool bindless) si_load_image_desc() argument
208 si_load_sampler_desc(struct si_shader_context *ctx, LLVMValueRef list, LLVMValueRef index, enum ac_descriptor_type type) si_load_sampler_desc() argument
293 LLVMValueRef index = LLVMConstInt(ctx->ac.i32, const_index, false); si_nir_load_sampler_desc() local
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_debugfs_helper.c52 size_t index, err = 0; in set_attr_from_string() local
55 for (index = 0; index < nelems && *ptr; ++index) { in set_attr_from_string()
85 set_attr_fn(array, index, new_size); in set_attr_from_string()
93 size_t index; in kbase_debugfs_string_validator() local
97 for (index = 0; *ptr; ++index) { in kbase_debugfs_string_validator()
174 size_t index; in kbase_debugfs_helper_get_attr_to_string() local
176 for (index in kbase_debugfs_helper_get_attr_to_string()
235 size_t index; kbase_debugfs_helper_seq_read() local
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dgpu_resource_handle_util.cpp34 const uint32_t index, const uint32_t generationIndex) in CreateGpuResourceHandle()
37 if (index >= HANDLE_ID_SIZE) { in CreateGpuResourceHandle()
38 PLUGIN_LOG_E("index (%u), exceeds max index (%u)", index, static_cast<uint32_t>(HANDLE_ID_SIZE)); in CreateGpuResourceHandle()
44 ((uint64_t)((index << RES_HANDLE_ID_SHIFT) & RES_HANDLE_ID_MASK)) | in CreateGpuResourceHandle()
49 const uint32_t index, const uint32_t generationIndex, const uint32_t hasNameId) in CreateGpuResourceHandle()
52 if (index >= HANDLE_ID_SIZE) { in CreateGpuResourceHandle()
53 PLUGIN_LOG_E("index (%u), exceeds max index ( in CreateGpuResourceHandle()
33 CreateGpuResourceHandle(const RenderHandleType type, const RenderHandleInfoFlags infoFlags, const uint32_t index, const uint32_t generationIndex) CreateGpuResourceHandle() argument
48 CreateGpuResourceHandle(const RenderHandleType type, const RenderHandleInfoFlags infoFlags, const uint32_t index, const uint32_t generationIndex, const uint32_t hasNameId) CreateGpuResourceHandle() argument
63 CreateHandle(const RenderHandleType type, const uint32_t index) CreateHandle() argument
68 CreateHandle(const RenderHandleType type, const uint32_t index, const uint32_t generationIndex) CreateHandle() argument
80 CreateHandle( const RenderHandleType type, const uint32_t index, const uint32_t generationIndex, const uint32_t additionalData) CreateHandle() argument
88 CreateEngineResourceHandle( const RenderHandleType type, const uint32_t index, const uint32_t generationIndex) CreateEngineResourceHandle() argument
[all...]

Completed in 19 milliseconds

12345678910>>...917