/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
H A D | AlphabeticIndexTest.java | 261 for (String index : firsts) { in TestFirstCharacters() 262 if (collator.compare(last,index) >= 0) { in TestFirstCharacters() 263 errln("Characters not in order: " + last + " !< " + index); in TestFirstCharacters() 265 int script = getFirstRealScript(index); in TestFirstCharacters() 269 errln("2nd character in script: " + index + "\t" + new UnicodeSet(missingScripts).retainAll(s).toPattern(false)); in TestFirstCharacters() 335 AlphabeticIndex index = new AlphabeticIndex(Locale.GERMAN).addLabels(new Locale("ru")); in TestSetGetSpecialLabels() 336 index.setUnderflowLabel("__"); in TestSetGetSpecialLabels() 337 index.setInflowLabel("--"); in TestSetGetSpecialLabels() 338 index.setOverflowLabel("^^"); in TestSetGetSpecialLabels() 339 assertEquals("underflow label", "__", index in TestSetGetSpecialLabels() 475 showIndex(AlphabeticIndex<T> index, boolean showEmpty) showIndex() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
H A D | AlphabeticIndexTest.java | 264 for (String index : firsts) { in TestFirstCharacters() 265 if (collator.compare(last,index) >= 0) { in TestFirstCharacters() 266 errln("Characters not in order: " + last + " !< " + index); in TestFirstCharacters() 268 int script = getFirstRealScript(index); in TestFirstCharacters() 272 errln("2nd character in script: " + index + "\t" + new UnicodeSet(missingScripts).retainAll(s).toPattern(false)); in TestFirstCharacters() 338 AlphabeticIndex index = new AlphabeticIndex(Locale.GERMAN).addLabels(new Locale("ru")); in TestSetGetSpecialLabels() 339 index.setUnderflowLabel("__"); in TestSetGetSpecialLabels() 340 index.setInflowLabel("--"); in TestSetGetSpecialLabels() 341 index.setOverflowLabel("^^"); in TestSetGetSpecialLabels() 342 assertEquals("underflow label", "__", index in TestSetGetSpecialLabels() 478 showIndex(AlphabeticIndex<T> index, boolean showEmpty) showIndex() argument [all...] |
/kernel/linux/linux-5.10/fs/overlayfs/ |
H A D | namei.c | 175 * index entries correctly. in ovl_decode_real_fh() 478 /* Get upper dentry from index */ 479 struct dentry *ovl_index_upper(struct ovl_fs *ofs, struct dentry *index) in ovl_index_upper() argument 484 if (!d_is_dir(index)) in ovl_index_upper() 485 return dget(index); in ovl_index_upper() 487 fh = ovl_get_fh(ofs, index, OVL_XATTR_UPPER); in ovl_index_upper() 498 pr_warn_ratelimited("invalid index upper (%pd2, upper=%pd2).\n", in ovl_index_upper() 499 index, upper); in ovl_index_upper() 508 * Verify that an index entry name matches the origin file handle stored in 512 int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index) in ovl_verify_index() argument 661 struct dentry *index; ovl_get_index_fh() local 691 struct dentry *index; ovl_lookup_index() local 827 struct dentry *index = NULL; ovl_lookup() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | get_bits.h | 67 int index; member 134 unsigned int name ## _index = (gb)->index; \ 149 #define CLOSE_READER(name, gb) (gb)->index = name ## _index 222 return s->index - s->bits_left; in get_bits_count() 224 return s->index; in get_bits_count() 232 if (s->index >> 3 >= s->buffer_end - s->buffer) in refill_32() 237 s->cache = (uint64_t)AV_RL32(s->buffer + (s->index >> 3)) << s->bits_left | s->cache; in refill_32() 239 s->cache = s->cache | (uint64_t)AV_RB32(s->buffer + (s->index >> 3)) << (32 - s->bits_left); in refill_32() 240 s->index += 32; in refill_32() 247 if (s->index >> in refill_64() [all...] |
/third_party/skia/third_party/externals/oboe/samples/iolib/src/main/cpp/player/ |
H A D | SimpleMultiPlayer.cpp | 54 for(int32_t index = 0; index < mNumSampleBuffers; index++) { in onAudioReady() 55 if (mSampleSources[index]->isPlaying()) { in onAudioReady() 56 mSampleSources[index]->mixAudio((float*)audioData, mChannelCount, numFrames); in onAudioReady() 166 void SimpleMultiPlayer::triggerDown(int32_t index) { in triggerDown() argument 167 if (index < mNumSampleBuffers) { in triggerDown() 168 mSampleSources[index]->setPlayMode(); in triggerDown() 172 void SimpleMultiPlayer::triggerUp(int32_t index) { in triggerUp() argument 173 if (index < mNumSampleBuffer in triggerUp() 184 setPan(int index, float pan) setPan() argument 188 getPan(int index) getPan() argument 192 setGain(int index, float gain) setGain() argument 196 getGain(int index) getGain() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_query.c | 42 unsigned index; member 58 unsigned index) in softpipe_create_query() 77 sq->index = index; in softpipe_create_query() 105 sq->so[sq->index].num_primitives_written = softpipe->so_stats[sq->index].num_primitives_written; in softpipe_begin_query() 106 sq->so[sq->index].primitives_storage_needed = softpipe->so_stats[sq->index].primitives_storage_needed; in softpipe_begin_query() 109 sq->so[sq->index].num_primitives_written = softpipe->so_stats[sq->index] in softpipe_begin_query() 56 softpipe_create_query(struct pipe_context *pipe, unsigned type, unsigned index) softpipe_create_query() argument [all...] |
/third_party/node/deps/v8/src/interpreter/ |
H A D | constant-array-builder.cc | 45 size_t index = constants_.size(); in Allocate() local 46 DCHECK_LT(index, capacity()); in Allocate() 50 return index + start_index(); in Allocate() 54 size_t index) { in At() 55 DCHECK_GE(index, start_index()); in At() 56 DCHECK_LT(index, start_index() + size()); in At() 57 return constants_[index - start_index()]; in At() 61 size_t index) const { in At() 62 DCHECK_GE(index, start_index()); in At() 63 DCHECK_LT(index, start_inde in At() 53 At( size_t index) At() argument 168 At(size_t index, IsolateT* isolate) const At() argument 235 index_t index = static_cast<index_t>(AllocateIndex(Entry(number))); Insert() local 319 SetDeferredAt(size_t index, Handle<Object> object) SetDeferredAt() argument 324 SetJumpTableSmi(size_t index, Smi smi) SetJumpTableSmi() argument 345 index_t index = static_cast<index_t>(AllocateIndex(Entry(value))); AllocateReservedEntry() local 353 size_t index; CommitReservedEntry() local [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | formatted_string_builder.cpp | 127 UChar32 FormattedStringBuilder::codePointAt(int32_t index) const { in codePointAt() 129 U16_GET(getCharPtr() + fZero, 0, index, fLength, cp); in codePointAt() 133 UChar32 FormattedStringBuilder::codePointBefore(int32_t index) const { in codePointBefore() 134 int32_t offset = index; in codePointBefore() 149 FormattedStringBuilder::insertCodePoint(int32_t index, UChar32 codePoint, Field field, UErrorCode &status) { in insertCodePoint() argument 151 int32_t position = prepareForInsert(index, count, status); in insertCodePoint() 166 int32_t FormattedStringBuilder::insert(int32_t index, const UnicodeString &unistr, Field field, in insert() argument 173 return insertCodePoint(index, unistr.charAt(0), field, status); in insert() 175 return insert(index, unistr, 0, unistr.length(), field, status); in insert() 180 FormattedStringBuilder::insert(int32_t index, cons argument 223 insert(int32_t index, const FormattedStringBuilder &other, UErrorCode &status) insert() argument 254 prepareForInsert(int32_t index, int32_t count, UErrorCode &status) prepareForInsert() argument 273 prepareForInsertHelper(int32_t index, int32_t count, UErrorCode &status) prepareForInsertHelper() argument 342 remove(int32_t index, int32_t count) remove() argument [all...] |
/third_party/skia/src/pathops/ |
H A D | SkDCubicLineIntersection.cpp | 99 for (int index = 0; index < last; ) { in checkCoincident() 100 double cubicMidT = ((*fIntersections)[0][index] + (*fIntersections)[0][index + 1]) / 2; in checkCoincident() 104 ++index; in checkCoincident() 107 if (fIntersections->isCoincident(index)) { in checkCoincident() 108 fIntersections->removeOne(index); in checkCoincident() 110 } else if (fIntersections->isCoincident(index + 1)) { in checkCoincident() 111 fIntersections->removeOne(index + 1); in checkCoincident() 114 fIntersections->setCoincident(index in checkCoincident() [all...] |
/third_party/skia/third_party/externals/angle2/src/libGL/ |
H A D | entry_points_gl_2_autogen.cpp | 59 void GL_APIENTRY GL_BindAttribLocation(GLuint program, GLuint index, const GLchar *name) in GL_BindAttribLocation() argument 63 "context = %d, program = %u, index = %u, name = 0x%016" PRIxPTR "", CID(context), program, in GL_BindAttribLocation() 64 index, (uintptr_t)name); in GL_BindAttribLocation() 73 programPacked, index, name)); in GL_BindAttribLocation() 76 context->bindAttribLocation(programPacked, index, name); in GL_BindAttribLocation() 78 ANGLE_CAPTURE(BindAttribLocation, isCallValid, context, programPacked, index, name); in GL_BindAttribLocation() 271 void GL_APIENTRY GL_DisableVertexAttribArray(GLuint index) in GL_DisableVertexAttribArray() argument 274 EVENT(context, GLDisableVertexAttribArray, "context = %d, index = %u", CID(context), index); in GL_DisableVertexAttribArray() 281 context, angle::EntryPoint::GLDisableVertexAttribArray, index)); in GL_DisableVertexAttribArray() 318 GL_EnableVertexAttribArray(GLuint index) GL_EnableVertexAttribArray() argument 341 GL_GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) GL_GetActiveAttrib() argument 377 GL_GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) GL_GetActiveUniform() argument 704 GL_GetVertexAttribPointerv(GLuint index, GLenum pname, void **pointer) GL_GetVertexAttribPointerv() argument 730 GL_GetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params) GL_GetVertexAttribdv() argument 756 GL_GetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params) GL_GetVertexAttribfv() argument 782 GL_GetVertexAttribiv(GLuint index, GLenum pname, GLint *params) GL_GetVertexAttribiv() argument 1546 GL_VertexAttrib1d(GLuint index, GLdouble x) GL_VertexAttrib1d() argument 1569 GL_VertexAttrib1dv(GLuint index, const GLdouble *v) GL_VertexAttrib1dv() argument 1593 GL_VertexAttrib1f(GLuint index, GLfloat x) GL_VertexAttrib1f() argument 1616 GL_VertexAttrib1fv(GLuint index, const GLfloat *v) GL_VertexAttrib1fv() argument 1640 GL_VertexAttrib1s(GLuint index, GLshort x) GL_VertexAttrib1s() argument 1663 GL_VertexAttrib1sv(GLuint index, const GLshort *v) GL_VertexAttrib1sv() argument 1687 GL_VertexAttrib2d(GLuint index, GLdouble x, GLdouble y) GL_VertexAttrib2d() argument 1711 GL_VertexAttrib2dv(GLuint index, const GLdouble *v) GL_VertexAttrib2dv() argument 1735 GL_VertexAttrib2f(GLuint index, GLfloat x, GLfloat y) GL_VertexAttrib2f() argument 1759 GL_VertexAttrib2fv(GLuint index, const GLfloat *v) GL_VertexAttrib2fv() argument 1783 GL_VertexAttrib2s(GLuint index, GLshort x, GLshort y) GL_VertexAttrib2s() argument 1807 GL_VertexAttrib2sv(GLuint index, const GLshort *v) GL_VertexAttrib2sv() argument 1831 GL_VertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z) GL_VertexAttrib3d() argument 1855 GL_VertexAttrib3dv(GLuint index, const GLdouble *v) GL_VertexAttrib3dv() argument 1879 GL_VertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) GL_VertexAttrib3f() argument 1903 GL_VertexAttrib3fv(GLuint index, const GLfloat *v) GL_VertexAttrib3fv() argument 1927 GL_VertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z) GL_VertexAttrib3s() argument 1951 GL_VertexAttrib3sv(GLuint index, const GLshort *v) GL_VertexAttrib3sv() argument 1975 GL_VertexAttrib4Nbv(GLuint index, const GLbyte *v) GL_VertexAttrib4Nbv() argument 1999 GL_VertexAttrib4Niv(GLuint index, const GLint *v) GL_VertexAttrib4Niv() argument 2023 GL_VertexAttrib4Nsv(GLuint index, const GLshort *v) GL_VertexAttrib4Nsv() argument 2047 GL_VertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) GL_VertexAttrib4Nub() argument 2071 GL_VertexAttrib4Nubv(GLuint index, const GLubyte *v) GL_VertexAttrib4Nubv() argument 2095 GL_VertexAttrib4Nuiv(GLuint index, const GLuint *v) GL_VertexAttrib4Nuiv() argument 2119 GL_VertexAttrib4Nusv(GLuint index, const GLushort *v) GL_VertexAttrib4Nusv() argument 2143 GL_VertexAttrib4bv(GLuint index, const GLbyte *v) GL_VertexAttrib4bv() argument 2167 GL_VertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) GL_VertexAttrib4d() argument 2191 GL_VertexAttrib4dv(GLuint index, const GLdouble *v) GL_VertexAttrib4dv() argument 2215 GL_VertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) GL_VertexAttrib4f() argument 2239 GL_VertexAttrib4fv(GLuint index, const GLfloat *v) GL_VertexAttrib4fv() argument 2263 GL_VertexAttrib4iv(GLuint index, const GLint *v) GL_VertexAttrib4iv() argument 2287 GL_VertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) GL_VertexAttrib4s() argument 2311 GL_VertexAttrib4sv(GLuint index, const GLshort *v) GL_VertexAttrib4sv() argument 2335 GL_VertexAttrib4ubv(GLuint index, const GLubyte *v) GL_VertexAttrib4ubv() argument 2359 GL_VertexAttrib4uiv(GLuint index, const GLuint *v) GL_VertexAttrib4uiv() argument 2383 GL_VertexAttrib4usv(GLuint index, const GLushort *v) GL_VertexAttrib4usv() argument 2407 GL_VertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer) GL_VertexAttribPointer() argument [all...] |
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/queue/full/ |
H A D | It_los_queue_head_015.c | 42 UINT32 index; in Testcase() local 48 for (index = 0; index < LOSCFG_BASE_IPC_QUEUE_CONFIG - exsitedQueue; index++) { in Testcase() 49 ret = LOS_QueueCreate(NULL, 3, &queueID[index], 0, sizeof(UINTPTR)); // 3, Set the queue length. in Testcase() 53 ret = LOS_QueueWriteHead(queueID[index - 1], &buff1, sizeof(UINTPTR), 0); in Testcase() 56 ret = LOS_QueueRead(queueID[index - 1], &buff2, sizeof(UINTPTR), 0); in Testcase() 59 ret = LOS_QueueCreate("Q1", 3, &queueID[index], 0, 8); // 3, Set the queue length; 8, Set the node size of the queue. in Testcase() 62 for (index = 0; index < LOSCFG_BASE_IPC_QUEUE_CONFI in Testcase() [all...] |
H A D | It_los_queue_head_022.c | 42 UINT32 index; in Testcase() local 48 for (index = 0; index < LOSCFG_BASE_IPC_QUEUE_CONFIG - exsitedQueue; index++) { in Testcase() 49 ret = LOS_QueueCreate(NULL, 3, &queueID[index], 0, sizeof(UINTPTR)); // 3, Set the queue length. in Testcase() 53 ret = LOS_QueueWriteHead(queueID[index - 1], &buff1, sizeof(UINTPTR), 0); in Testcase() 56 ret = LOS_QueueRead(queueID[index - 1], &buff2, sizeof(UINTPTR), 0); in Testcase() 60 for (index = 0; index < LOSCFG_BASE_IPC_QUEUE_CONFIG - exsitedQueue; index in Testcase() [all...] |
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/ |
H A D | It_los_task_039.c | 50 UINT8 index; in Testcase() local 67 for (index = 0; index < LOSCFG_BASE_CORE_TSK_LIMIT - taskCnt; index++) { in Testcase() 68 task1.usTaskPrio = index % OS_TASK_PRIORITY_LOWEST; in Testcase() 71 ret = LOS_TaskCreate(&testTaskID[index], &task1); in Testcase() 75 task1.usTaskPrio = index % OS_TASK_PRIORITY_LOWEST; in Testcase() 78 ret = LOS_TaskCreate(&testTaskID[index], &task1); in Testcase() 81 for (index = 0; index < LOSCFG_BASE_CORE_TSK_LIMI in Testcase() [all...] |
/third_party/mesa3d/src/util/ |
H A D | u_worklist.h | 40 * unique index in the range [0, num_entries). Internally, entries are tracked 41 * as pointers to that index (so you can go from the index pointer back to a 42 * containing structure). This requires index pointers to remain valid while 89 #define u_worklist_push_tail(w, block, index) \ 90 u_worklist_push_tail_index(w, &((block)->index)) 92 #define u_worklist_push_head(w, block, index) \ 93 u_worklist_push_head_index(w, &((block)->index)) 95 #define u_worklist_pop_head(w, entry_t, index) \ 96 container_of(u_worklist_pop_head_index(w), entry_t, index) [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/ |
H A D | growable_memory_byte_array.cc | 42 void GrowableMemoryByteArray::InternalPut(int32_t index, uint8_t b) { in InternalPut() argument 43 if ((size_t)index >= b_.size()) { in InternalPut() 44 b_.resize((size_t)(index + 1)); in InternalPut() 46 b_[index] = b; in InternalPut() 49 int32_t GrowableMemoryByteArray::InternalPut(int32_t index, in InternalPut() argument 53 if ((size_t)index + length >= b_.size()) { in InternalPut() 56 b_.resize((size_t)(index + length + 1)); in InternalPut() 58 std::copy(b + offset, b + offset + length, b_.begin() + index); in InternalPut() 62 uint8_t GrowableMemoryByteArray::InternalGet(int32_t index) { in InternalGet() argument 63 return b_[index]; in InternalGet() 66 InternalGet(int32_t index, uint8_t* b, int32_t offset, int32_t length) InternalGet() argument [all...] |
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/ |
H A D | string.rs | 6 let index = if let Some(index) = string.len().checked_sub(suffix.len()) { 7 index 11 if let Some(&byte) = string.get(index) { 13 let index = expect_encoded!(index.checked_sub(1)); 25 || super::encode_wide(&string[index..]) 41 let index = if let Some(index) = 44 index [all...] |
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | jfs_xtree.c | 80 s16 index; member 142 int index; in xtLookup() local 172 * and returned the index of the next entry. in xtLookup() 175 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookup() 190 xad = &p->xad[index]; in xtLookup() 222 * btstack contains (bn, index) of search path traversed to the entry. 236 int base, index, lim, btindex; in xtSearch() local 258 * greater than K so that the returned index is the position of in xtSearch() 279 (index = jfs_ip->btindex) < in xtSearch() 281 xad = &p->xad[index]; in xtSearch() 533 int index, nextindex; xtInsert() local 1357 int index, nextindex, len; xtExtend() local 1520 int index, nextindex, llen, rlen; xtTailgate() local 1699 int index0, index, newindex, nextindex; xtUpdate() local 2166 int index, nextindex; xtAppend() local 2334 int index, nextindex; xtDelete() local 2403 int index, nextindex; xtDeleteUp() local 2566 int index; xtRelocate() local 2888 int base, index, lim; xtSearchNode() local 3156 int index, nextindex; xtTruncate() local 3710 int index; xtTruncate_pmap() local [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | scope-info.cc | 27 for (int index = 0; index < length(); ++index) { in Equals() 28 Object entry = get(index); in Equals() 29 Object other_entry = other.get(index); in Equals() 68 // slot index indicates at which offset a particular scope starts in the in Create() 194 int index = kVariablePartIndex; in Create() local 256 // Context locals are added using their index. in Create() 257 int context_local_base = index; in Create() 268 int local_index = var->index() in Create() 454 int index = kVariablePartIndex; CreateForWithScope() local 531 int index = kVariablePartIndex; CreateForBootstrapping() local 586 set(int index, Smi value) set() argument 593 set(int index, Object value, WriteBarrierMode mode) set() argument 611 RawFieldOfElementAt(int index) RawFieldOfElementAt() argument 930 int index; ModuleIndex() local 959 int index = HasInlinedLocalNames() ContextSlotIndex() local 986 int index = saved_class_variable_info() - Context::MIN_CONTEXT_SLOTS; SavedClassVariable() local 1077 ModuleVariable(int i, String* name, int* index, VariableMode* mode, InitializationFlag* init_flag, MaybeAssignedFlag* maybe_assigned_flag) ModuleVariable() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc.c | 101 int index; in npc_get_nixlf_mcam_index() local 107 index = mcam->pf_offset + (pf * RSVD_MCAM_ENTRIES_PER_PF); in npc_get_nixlf_mcam_index() 112 return index; in npc_get_nixlf_mcam_index() 114 return index + 1; in npc_get_nixlf_mcam_index() 120 static int npc_get_bank(struct npc_mcam *mcam, int index) in npc_get_bank() argument 122 int bank = index / mcam->banksize; in npc_get_bank() 132 int blkaddr, int index) in is_mcam_entry_enabled() 134 int bank = npc_get_bank(mcam, index); in is_mcam_entry_enabled() 137 index &= (mcam->banksize - 1); in is_mcam_entry_enabled() 138 cfg = rvu_read64(rvu, blkaddr, NPC_AF_MCAMEX_BANKX_CFG(index, ban in is_mcam_entry_enabled() 131 is_mcam_entry_enabled(struct rvu *rvu, struct npc_mcam *mcam, int blkaddr, int index) is_mcam_entry_enabled() argument 142 npc_enable_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, int blkaddr, int index, bool enable) npc_enable_mcam_entry() argument 156 npc_clear_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, int blkaddr, int index) npc_clear_mcam_entry() argument 260 npc_config_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, int blkaddr, int index, u8 intf, struct mcam_entry *entry, bool enable) npc_config_mcam_entry() argument 360 npc_get_mcam_action(struct rvu *rvu, struct npc_mcam *mcam, int blkaddr, int index) npc_get_mcam_action() argument 377 int blkaddr, index, kwi; rvu_npc_install_ucast_entry() local 434 int blkaddr, ucast_idx, index, kwi; rvu_npc_install_promisc_entry() local 483 int blkaddr, index; npc_enadis_promisc_entry() local 516 int blkaddr, index; rvu_npc_install_bcast_match_entry() local 569 int blkaddr, index; rvu_npc_enable_bcast_entry() local 587 int blkaddr, index, bank; rvu_npc_update_flowkey_alg_idx() local 647 int index, bank, blkaddr; npc_enadis_default_entries() local 1305 u16 index = entry & (mcam->banksize - 1); npc_map_mcam_entry_and_cntr() local 1321 u16 index = entry & (mcam->banksize - 1); npc_unmap_mcam_entry_and_cntr() local 1336 npc_mcam_set_bit(struct npc_mcam *mcam, u16 index) npc_mcam_set_bit() argument 1352 npc_mcam_clear_bit(struct npc_mcam *mcam, u16 index) npc_mcam_clear_bit() argument 1367 u16 index, cntr; npc_mcam_free_all_entries() local 1415 u16 index, next, end; npc_mcam_find_zero_area() local 1444 u16 index, next; npc_mcam_get_free_count() local 1532 u16 start, end, index; npc_mcam_alloc_entries() local 1884 u16 index, cntr; rvu_mbox_handler_npc_mcam_shift_entry() local 1952 int blkaddr, index; rvu_mbox_handler_npc_mcam_alloc_counter() local 2013 u16 index, entry = 0; rvu_mbox_handler_npc_mcam_free_counter() local 2055 u16 index, entry = 0; rvu_mbox_handler_npc_mcam_unmap_counter() local 2264 int blkaddr, index; rvu_npc_update_rxvlan() local [all...] |
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | core_tsunami.c | 181 tsunami_pchip *pchip = hose->index ? TSUNAMI_pchip1 : TSUNAMI_pchip0; in tsunami_pci_tbi() 249 tsunami_init_one_pchip(tsunami_pchip *pchip, int index) in tsunami_init_one_pchip() 257 if (index == 0) in tsunami_init_one_pchip() 269 = (TSUNAMI_MEM(index) & 0xffffffffffL) | 0x80000000000L; in tsunami_init_one_pchip() 271 = (TSUNAMI_IO(index) & 0xffffffffffL) | 0x80000000000L; in tsunami_init_one_pchip() 273 hose->config_space_base = TSUNAMI_CONF(index); in tsunami_init_one_pchip() 274 hose->index = index; in tsunami_init_one_pchip() 276 hose->io_space->start = TSUNAMI_IO(index) - TSUNAMI_IO_BIAS; in tsunami_init_one_pchip() 278 hose->io_space->name = pci_io_names[index]; in tsunami_init_one_pchip() 247 tsunami_init_one_pchip(tsunami_pchip *pchip, int index) tsunami_init_one_pchip() argument 425 tsunami_kill_one_pchip(tsunami_pchip *pchip, int index) tsunami_kill_one_pchip() argument [all...] |
/kernel/linux/linux-6.6/arch/alpha/kernel/ |
H A D | core_tsunami.c | 181 tsunami_pchip *pchip = hose->index ? TSUNAMI_pchip1 : TSUNAMI_pchip0; in tsunami_pci_tbi() 249 tsunami_init_one_pchip(tsunami_pchip *pchip, int index) in tsunami_init_one_pchip() 257 if (index == 0) in tsunami_init_one_pchip() 269 = (TSUNAMI_MEM(index) & 0xffffffffffL) | 0x80000000000L; in tsunami_init_one_pchip() 271 = (TSUNAMI_IO(index) & 0xffffffffffL) | 0x80000000000L; in tsunami_init_one_pchip() 273 hose->config_space_base = TSUNAMI_CONF(index); in tsunami_init_one_pchip() 274 hose->index = index; in tsunami_init_one_pchip() 276 hose->io_space->start = TSUNAMI_IO(index) - TSUNAMI_IO_BIAS; in tsunami_init_one_pchip() 278 hose->io_space->name = pci_io_names[index]; in tsunami_init_one_pchip() 247 tsunami_init_one_pchip(tsunami_pchip *pchip, int index) tsunami_init_one_pchip() argument 425 tsunami_kill_one_pchip(tsunami_pchip *pchip, int index) tsunami_kill_one_pchip() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | Edits.java | 276 private int index; field in Edits.Iterator 301 assert(index < length); in readLength() 302 assert(array[index] >= 0x8000); in readLength() 303 return array[index++] & 0x7fff; in readLength() 305 assert((index + 2) <= length); in readLength() 306 assert(array[index] >= 0x8000); in readLength() 307 assert(array[index + 1] >= 0x8000); in readLength() 309 ((array[index] & 0x7fff) << 15) | in readLength() 310 (array[index + 1] & 0x7fff); in readLength() 311 index in readLength() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | Edits.java | 267 private int index; field in Edits.Iterator 292 assert(index < length); in readLength() 293 assert(array[index] >= 0x8000); in readLength() 294 return array[index++] & 0x7fff; in readLength() 296 assert((index + 2) <= length); in readLength() 297 assert(array[index] >= 0x8000); in readLength() 298 assert(array[index + 1] >= 0x8000); in readLength() 300 ((array[index] & 0x7fff) << 15) | in readLength() 301 (array[index + 1] & 0x7fff); in readLength() 302 index in readLength() [all...] |
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
H A D | test_VIDIOC_ENUM_FMT.c | 11 * 1 Jan 2009 0.3 Test cases added for index=S32_MAX and S32_MAX+1; 52 format.index = i; in do_enumerate_formats() 59 ("\t%s:%u: VIDIOC_ENUM_FMT, index=%u, type=%i, ret_enum=%i, errno_enum=%i\n", in do_enumerate_formats() 63 CU_ASSERT_EQUAL(format.index, i); in do_enumerate_formats() 83 format2.index = format.index; in do_enumerate_formats() 94 ("\tformat = {.index=%u, .type=0x%X, .flags=0x%X, " in do_enumerate_formats() 97 format.index, format.type, format.flags, in do_enumerate_formats() 108 format2.index = i; in do_enumerate_formats() 138 /* test invalid index */ in test_VIDIOC_ENUM_FMT_S32_MAX() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | uvector.cpp | 141 void UVector::setElementAt(void* obj, int32_t index) { in setElementAt() argument 142 if (0 <= index && index < count) { in setElementAt() 143 if (elements[index].pointer != 0 && deleter != 0) { in setElementAt() 144 (*deleter)(elements[index].pointer); in setElementAt() 146 elements[index].pointer = obj; in setElementAt() 148 /* else index out of range */ in setElementAt() 151 void UVector::setElementAt(int32_t elem, int32_t index) { in setElementAt() argument 152 if (0 <= index && index < coun in setElementAt() 163 insertElementAt(void* obj, int32_t index, UErrorCode &status) insertElementAt() argument 175 insertElementAt(int32_t elem, int32_t index, UErrorCode &status) insertElementAt() argument 238 removeElementAt(int32_t index) removeElementAt() argument 424 orphanElementAt(int32_t index) orphanElementAt() argument [all...] |