/kernel/linux/linux-6.6/drivers/input/serio/ |
H A D | arc_ps2.c | 126 int index, bool status) in arc_ps2_calc_addr() 130 addr = arc_ps2->addr + 4 + 4 * index; in arc_ps2_calc_addr() 153 int index) in arc_ps2_create_port() 155 struct arc_ps2_port *port = &arc_ps2->port[index]; in arc_ps2_create_port() 166 snprintf(io->name, sizeof(io->name), "ARC PS/2 port%d", index); in arc_ps2_create_port() 167 snprintf(io->phys, sizeof(io->phys), "arc/serio%d", index); in arc_ps2_create_port() 172 port->data_addr = arc_ps2_calc_addr(arc_ps2, index, false); in arc_ps2_create_port() 173 port->status_addr = arc_ps2_calc_addr(arc_ps2, index, true); in arc_ps2_create_port() 176 index, port->data_addr, port->status_addr); in arc_ps2_create_port() 125 arc_ps2_calc_addr(struct arc_ps2_data *arc_ps2, int index, bool status) arc_ps2_calc_addr() argument 151 arc_ps2_create_port(struct platform_device *pdev, struct arc_ps2_data *arc_ps2, int index) arc_ps2_create_port() argument
|
/kernel/linux/linux-6.6/tools/perf/util/arm-spe-decoder/ |
H A D | arm-spe-decoder.c | 25 static u64 arm_spe_calc_ip(int index, u64 payload) in arm_spe_calc_ip() argument 30 if (index == SPE_ADDR_PKT_HDR_INDEX_INS || in arm_spe_calc_ip() 31 index == SPE_ADDR_PKT_HDR_INDEX_BRANCH) { in arm_spe_calc_ip() 43 } else if (index == SPE_ADDR_PKT_HDR_INDEX_DATA_VIRT) { in arm_spe_calc_ip() 67 } else if (index == SPE_ADDR_PKT_HDR_INDEX_DATA_PHYS) { in arm_spe_calc_ip() 72 if (!(seen_idx & BIT(index))) { in arm_spe_calc_ip() 73 seen_idx |= BIT(index); in arm_spe_calc_ip() 74 pr_warning("ignoring unsupported address packet index: 0x%x\n", index); in arm_spe_calc_ip() 165 idx = decoder->packet.index; in arm_spe_read_record() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
H A D | UnitsData.java | 29 // index number. 78 Integer index = Categories.baseUnitToIndex.get(identifier); in getCategory() 81 if (index == null) { in getCategory() 85 index = Categories.baseUnitToIndex.get(identifier); in getCategory() 91 if (index == null) { in getCategory() 94 index = Categories.baseUnitToIndex.get(identifier); in getCategory() 98 if (index == null) { in getCategory() 102 index = Categories.baseUnitToIndex.get(identifier); in getCategory() 106 if (index == null) { in getCategory() 110 return Categories.indexToCategory[index]; in getCategory() [all...] |
/third_party/PyYAML/lib/yaml/ |
H A D | reader.py | 15 # reader.index - the number of the current character. 69 self.index = 0 87 def peek(self, index=0): 89 return self.buffer[self.pointer+index] 91 self.update(index+1) 92 return self.buffer[self.pointer+index] 105 self.index += 1 116 return Mark(self.name, self.index, self.line, self.column, 119 return Mark(self.name, self.index, self.line, self.column, 142 position = self.index [all...] |
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
H A D | ClassTable.java | 74 int index = 0; in search() 77 index = extra; in search() 83 if (table[index + probe].glyphID <= glyphID) { in search() 84 index += probe; in search() 88 if (table[index].glyphID == glyphID) { in search() 89 return index; in search() 151 int index = ClassEntry.search(classTable, glyphID); in getGlyphClassID() 153 if (index >= 0) { in getGlyphClassID() 154 return classTable[index].getClassID(); in getGlyphClassID()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_opt_algebraic.c | 68 c->uniform_contents[reg.index] == QUNIFORM_CONSTANT && in is_constant_value() 69 c->uniform_data[reg.index] == val) { in is_constant_value() 73 if (reg.file == QFILE_SMALL_IMM && reg.index == val) in is_constant_value() 198 c->defs[inst->src[1].index] && in qir_opt_algebraic() 199 c->defs[inst->src[1].index]->op == QOP_FSUB) { in qir_opt_algebraic() 200 struct qinst *fsub = c->defs[inst->src[1].index]; in qir_opt_algebraic() 213 c->defs[inst->src[0].index] && in qir_opt_algebraic() 214 c->defs[inst->src[0].index]->op == QOP_FSUB) { in qir_opt_algebraic() 215 struct qinst *fsub = c->defs[inst->src[0].index]; in qir_opt_algebraic()
|
/third_party/mesa3d/src/gallium/winsys/d3d12/wgl/ |
H A D | d3d12_wgl_framebuffer.cpp | 177 UINT index = framebuffer->swapchain->GetCurrentBackBufferIndex(); in d3d12_wgl_framebuffer_get_resource() 179 index = !index; in d3d12_wgl_framebuffer_get_resource() 181 if (framebuffer->buffers[index]) { in d3d12_wgl_framebuffer_get_resource() 182 pipe_reference(NULL, &framebuffer->buffers[index]->reference); in d3d12_wgl_framebuffer_get_resource() 183 return framebuffer->buffers[index]; in d3d12_wgl_framebuffer_get_resource() 187 framebuffer->swapchain->GetBuffer(index, IID_PPV_ARGS(&res)); in d3d12_wgl_framebuffer_get_resource() 213 pipe_resource_reference(&framebuffer->buffers[index], in d3d12_wgl_framebuffer_get_resource() 216 return framebuffer->buffers[index]; in d3d12_wgl_framebuffer_get_resource()
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/ |
H A D | db.js | 270 this.index = { 440 // Update index. 442 self.index.all.push(relPath); 445 self.index.superStatements.push(relPath); 447 self.index.statements.push(relPath); 455 fsPath.join(this.outputDir, 'index.json'), 456 JSON.stringify(this.index)); 463 this.index = JSON.parse( 464 fs.readFileSync(fsPath.join(outputDir, 'index.json'), 'utf-8')); 471 this.index [all...] |
/third_party/node/deps/v8/src/zone/ |
H A D | zone-list-inl.h | 90 void ZoneList<T>::Set(int index, const T& elm) { in Set() argument 91 DCHECK(index >= 0 && index <= length_); in Set() 92 data_[index] = elm; in Set() 96 void ZoneList<T>::InsertAt(int index, const T& elm, Zone* zone) { in InsertAt() argument 97 DCHECK(index >= 0 && index <= length_); in InsertAt() 99 for (int i = length_ - 1; i > index; --i) { in InsertAt() 102 data_[index] = elm; in InsertAt()
|
/third_party/musl/porting/linux/user/ldso/ |
H A D | dynlink_rand.c | 184 struct loadtask *get_loadtask(struct loadtasks *tasks, size_t index) in get_loadtask() argument 186 if (tasks && tasks->array && (index < tasks->length)) { in get_loadtask() 187 return tasks->array[index]; in get_loadtask() 213 size_t index = 0; in shuffle_loadtasks() local 216 if (getrandom(&index, sizeof index, GRND_RANDOM | GRND_NONBLOCK) == -1) { in shuffle_loadtasks() 219 index %= tasks->length; in shuffle_loadtasks() 221 tasks->array[i] = tasks->array[index]; in shuffle_loadtasks() 222 tasks->array[index] = task; in shuffle_loadtasks()
|
/third_party/ltp/testcases/kernel/mem/vma/ |
H A D | vma04.c | 72 static void mem_bind(int index, int len); 73 static void mem_interleave(int index, int len); 74 static void mem_unbind(int index, int len); 148 static void mem_bind(int index, int len) in mem_bind() argument 150 if (mbind(mmap_addr + pagesize * index, pagesize * len, in mem_bind() 161 static void mem_interleave(int index, int len) in mem_interleave() argument 163 if (mbind(mmap_addr + pagesize * index, pagesize * len, in mem_interleave() 174 static void mem_unbind(int index, int len) in mem_unbind() argument 176 if (mbind(mmap_addr + pagesize * index, pagesize * len, in mem_unbind()
|
/third_party/musl/ldso/linux/ |
H A D | dynlink_rand.c | 188 struct loadtask *get_loadtask(struct loadtasks *tasks, size_t index) in get_loadtask() argument 190 if (tasks && tasks->array && (index < tasks->length)) { in get_loadtask() 191 return tasks->array[index]; in get_loadtask() 217 size_t index = 0; in shuffle_loadtasks() local 221 if (getrandom(&index, sizeof index, GRND_NONBLOCK) == -1) { in shuffle_loadtasks() 224 index %= tasks->length; in shuffle_loadtasks() 226 tasks->array[i] = tasks->array[index]; in shuffle_loadtasks() 227 tasks->array[index] = task; in shuffle_loadtasks()
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_program_pair.c | 40 rc_register_file file, unsigned int index) in rc_pair_alloc_source() 54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { in rc_pair_alloc_source() 59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { in rc_pair_alloc_source() 69 pair->RGB.Src[i].Index != index) { in rc_pair_alloc_source() 79 pair->Alpha.Src[i].Index != index) { in rc_pair_alloc_source() 104 pair->RGB.Src[candidate].Index = index; in rc_pair_alloc_source() 107 * the index stores the presubtract op. */ in rc_pair_alloc_source() 108 int src_regs = rc_presubtract_src_reg_count(index); in rc_pair_alloc_source() 117 pair->Alpha.Src[candidate].Index = index; in rc_pair_alloc_source() 120 * the index store in rc_pair_alloc_source() 38 rc_pair_alloc_source(struct rc_pair_instruction *pair, unsigned int rgb, unsigned int alpha, rc_register_file file, unsigned int index) rc_pair_alloc_source() argument [all...] |
/third_party/python/Lib/encodings/ |
H A D | punycode.py | 30 def selective_find(str, char, index, pos): 31 """Return a pair (index, pos), indicating the next occurrence of 32 char in str. index is the position of the character considering 34 the full string. index/pos is the starting position in the full 44 return index+1, pos 46 index += 1 54 index = pos = -1 59 index,pos = selective_find(str,c,index,pos) 60 if index [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationGL33_autogen.h | 23 GLuint index, 74 GLuint index, 79 GLuint index, 84 GLuint index, 89 GLuint index, 94 GLuint index, 99 GLuint index, 104 GLuint index, 109 GLuint index,
|
/third_party/skia/src/core/ |
H A D | SkFontMgr.cpp | 23 SkTypeface* createTypeface(int index) override { 41 void onGetFamilyName(int index, SkString* familyName) const override { 42 SkDEBUGFAIL("onGetFamilyName called with bad index"); 44 SkFontStyleSet* onCreateStyleSet(int index) const override { 45 SkDEBUGFAIL("onCreateStyleSet called with bad index"); 92 void SkFontMgr::getFamilyName(int index, SkString* familyName) const { in getFamilyName() argument 93 this->onGetFamilyName(index, familyName); in getFamilyName() 96 SkFontStyleSet* SkFontMgr::createStyleSet(int index) const { in createStyleSet() 97 return emptyOnNull(this->onCreateStyleSet(index)); in createStyleSet() 214 int index; in matchStyleCSS3() member [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/truetype/ |
H A D | LocaTable.java | 101 * Get the value from the loca table for the index specified. These are the 103 * glyph in the glyph table. Valid index values run from 0 to the number of 106 * @param index the loca table index 109 public int loca(int index) { in loca() argument 110 if (index > this.numGlyphs) { in loca() 114 return 2 * this.data.readUShort(index * FontData.DataSize.USHORT.size()); in loca() 116 return this.data.readULongAsInt(index * FontData.DataSize.ULONG.size()); in loca() 135 int index; field in LocaTable.LocaIterator 142 if (this.index < in hasNext() 391 loca(int index) loca() argument [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/ |
H A D | GlyphStripper.java | 122 int index = 5 * ReadableFontData.DataSize.USHORT.size(); in overrideCompositeGlyfFlags() 125 flags = slice.readUShort(index); in overrideCompositeGlyfFlags() 127 slice.writeUShort(index, flags); in overrideCompositeGlyfFlags() 128 index += 2 * ReadableFontData.DataSize.USHORT.size(); in overrideCompositeGlyfFlags() 130 index += 2 * ReadableFontData.DataSize.SHORT.size(); in overrideCompositeGlyfFlags() 132 index += 2 * ReadableFontData.DataSize.BYTE.size(); in overrideCompositeGlyfFlags() 135 index += ReadableFontData.DataSize.F2DOT14.size(); in overrideCompositeGlyfFlags() 137 index += 2 * ReadableFontData.DataSize.F2DOT14.size(); in overrideCompositeGlyfFlags() 139 index += 4 * ReadableFontData.DataSize.F2DOT14.size(); in overrideCompositeGlyfFlags()
|
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_cross_parsed_ir.hpp | 135 void set_member_name(TypeID id, uint32_t index, const std::string &name); 136 const std::string &get_member_name(TypeID id, uint32_t index) const; 137 void set_member_decoration(TypeID id, uint32_t index, spv::Decoration decoration, uint32_t argument = 0); 138 void set_member_decoration_string(TypeID id, uint32_t index, spv::Decoration decoration, 140 uint32_t get_member_decoration(TypeID id, uint32_t index, spv::Decoration decoration) const; 141 const std::string &get_member_decoration_string(TypeID id, uint32_t index, spv::Decoration decoration) const; 142 bool has_member_decoration(TypeID id, uint32_t index, spv::Decoration decoration) const; 143 const Bitset &get_member_decoration_bitset(TypeID id, uint32_t index) const; 144 void unset_member_decoration(TypeID id, uint32_t index, spv::Decoration decoration);
|
/third_party/skia/third_party/externals/libgifcodec/ |
H A D | SkGifImageReader.h | 340 const SkGIFFrameContext* frameContext(int index) const in frameContext() 342 return index >= 0 && index < m_frames.count() in frameContext() 343 ? m_frames[index].get() : nullptr; in frameContext() 347 for (int index = 0; index < m_frames.count(); index++) { in clearDecodeState() 348 m_frames[index]->clearDecodeState(); in clearDecodeState() 352 // Return the color table for frame index (which may be the global color table). 353 sk_sp<SkColorTable> getColorTable(SkColorType dstColorType, int index); [all...] |
/third_party/skia/tools/fonts/ |
H A D | TestTypeface.cpp | 49 for (size_t index = 0; index < fCharCodesCount; ++index) { in glyphForUnichar() 50 if (fCharCodes[index] == charCode) { in glyphForUnichar() 51 return SkTo<SkGlyphID>(index); in glyphForUnichar() 59 for (unsigned index = 0; index < fCharCodesCount; ++index) { in init() 86 fPaths[index] = b.detach(); in init()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fSSBOArrayLengthTests.cpp | 119 const deUint32 index = gl.getProgramResourceIndex(m_shader->getProgram(), GL_BUFFER_VARIABLE, "Out.outLength"); in init() local 123 if (index == GL_INVALID_INDEX) in init() 126 gl.getProgramResourceiv(m_shader->getProgram(), GL_BUFFER_VARIABLE, index, 1, &prop, 1, DE_NULL, &result); in init() 132 const deUint32 index = gl.getProgramResourceIndex(m_shader->getProgram(), GL_BUFFER_VARIABLE, "Out.unused"); in init() local 136 if (index == GL_INVALID_INDEX) in init() 139 gl.getProgramResourceiv(m_shader->getProgram(), GL_BUFFER_VARIABLE, index, 1, &prop, 1, DE_NULL, &result); in init() 145 const deUint32 index = gl.getProgramResourceIndex(m_shader->getProgram(), GL_BUFFER_VARIABLE, "Target.array"); in init() local 149 if (index == GL_INVALID_INDEX) in init() 152 gl.getProgramResourceiv(m_shader->getProgram(), GL_BUFFER_VARIABLE, index, 1, &prop, 1, DE_NULL, &result); in init()
|
/third_party/openGLES/api/GL/ |
H A D | glext.h | 637 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); 644 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); 645 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); 646 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 647 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 658 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params); 659 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); 660 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); 661 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); 687 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdoubl [all...] |
/third_party/mesa3d/include/GL/ |
H A D | glext.h | 656 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); 663 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); 664 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); 665 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 666 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 677 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params); 678 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); 679 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); 680 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); 706 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdoubl [all...] |
/third_party/skia/third_party/externals/swiftshader/include/GL/ |
H A D | glext.h | 655 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); 662 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); 663 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); 664 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 665 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 676 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params); 677 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); 678 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); 679 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); 705 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdoubl [all...] |