/third_party/node/deps/googletest/src/ |
H A D | gtest-death-test.cc | 129 "Indicates the file, line number, temporal index of " 1416 if (death_test_index > flag->index()) { in Create() 1420 StreamableToString(flag->index()) + ")"); in Create() 1425 flag->index() == death_test_index)) { in Create() 1537 int index = -1; in ParseInternalRunDeathTestFlag() local 1549 !ParseNaturalNumber(fields[2], &index) || in ParseInternalRunDeathTestFlag() 1562 !ParseNaturalNumber(fields[2], &index)) { in ParseInternalRunDeathTestFlag() 1570 !ParseNaturalNumber(fields[2], &index) || in ParseInternalRunDeathTestFlag() 1578 return new InternalRunDeathTestFlag(fields[0], line, index, write_fd); in ParseInternalRunDeathTestFlag()
|
/third_party/node/deps/icu-small/source/tools/genrb/ |
H A D | wrtxml.cpp | 693 int index = 0; in array_write_xml() local 705 itostr(c, index, 10, 0); in array_write_xml() 706 index += 1; in array_write_xml() 1031 int32_t first, index; in bundle_write_xml() local 1045 index = (int32_t)(uprv_strlen(filename) - uprv_strlen(textExt) - first); in bundle_write_xml() 1046 originalFileName = (char *)uprv_malloc(sizeof(char)*index+1); in bundle_write_xml() 1047 uprv_memset(originalFileName, 0, sizeof(char)*index+1); in bundle_write_xml() 1048 uprv_strncpy(originalFileName, filename + first, index); in bundle_write_xml()
|
/third_party/icu/icu4c/source/tools/genrb/ |
H A D | wrtxml.cpp | 693 int index = 0; in array_write_xml() local 705 itostr(c, index, 10, 0); in array_write_xml() 706 index += 1; in array_write_xml() 1031 int32_t first, index; in bundle_write_xml() local 1045 index = (int32_t)(uprv_strlen(filename) - uprv_strlen(textExt) - first); in bundle_write_xml() 1046 originalFileName = (char *)uprv_malloc(sizeof(char)*index+1); in bundle_write_xml() 1047 uprv_memset(originalFileName, 0, sizeof(char)*index+1); in bundle_write_xml() 1048 uprv_strncpy(originalFileName, filename + first, index); in bundle_write_xml()
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
H A D | phonenumbermatcher_test.cc | 151 // Asserts that another number can be found in "text" starting at "index", and 153 void AssertEqualRange(const string& text, int index, int start, int end) { in AssertEqualRange() argument 154 string sub = text.substr(index); in AssertEqualRange() 161 EXPECT_EQ(start - index, match.start()); in AssertEqualRange() 162 EXPECT_EQ(end - index, match.end()); in AssertEqualRange() 314 // Exhaustively searches for phone numbers from each index within "text" to 318 for (size_t index = 0; index <= text.length(); ++index) { in EnsureTermination() 319 string sub = text.substr(index); in EnsureTermination() [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_descriptors_lazy.c | 83 int index = shader->bindings[type][idx].index; in init_template_entry() local 96 entry->offset = offsetof(struct zink_context, di.ubos[stage][index]); in init_template_entry() 100 entry->offset = offsetof(struct zink_context, di.textures[stage][index]); in init_template_entry() 104 entry->offset = offsetof(struct zink_context, di.tbos[stage][index]); in init_template_entry() 108 entry->offset = offsetof(struct zink_context, di.ssbos[stage][index]); in init_template_entry() 112 entry->offset = offsetof(struct zink_context, di.images[stage][index]); in init_template_entry() 116 entry->offset = offsetof(struct zink_context, di.texel_images[stage][index]); in init_template_entry() 534 /* set index incremented by 1 to account for push set */ in zink_descriptors_update_lazy_masked() 546 /* set index incremente in zink_descriptors_update_lazy_masked() [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_instr_tex.cpp | 65 void TexInstr::set_offset(unsigned index, int32_t val) in set_offset() argument 67 assert(index < 3); in set_offset() 68 m_offset[index] = val; in set_offset() 71 int TexInstr::get_offset(unsigned index) const 73 assert(index < 3); 74 return m_offset[index] << 1; 130 !m_sampler_offset->as_register()->ready(block_id(), index())) 132 return m_src.ready(block_id(), index()); 561 /* txf doesn't need rounding for the array index, but 1D has the array index in emit_tex_tex_ms_direct() [all...] |
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest-death-test.cc | 122 "Indicates the file, line number, temporal index of " 1477 if (death_test_index > flag->index()) { in Create() 1481 + StreamableToString(flag->index()) + ")"); in Create() 1486 flag->index() == death_test_index)) { in Create() 1601 int index = -1; in ParseInternalRunDeathTestFlag() local 1614 || !ParseNaturalNumber(fields[2], &index) in ParseInternalRunDeathTestFlag() 1629 || !ParseNaturalNumber(fields[2], &index)) { in ParseInternalRunDeathTestFlag() 1638 || !ParseNaturalNumber(fields[2], &index) in ParseInternalRunDeathTestFlag() 1646 return new InternalRunDeathTestFlag(fields[0], line, index, write_fd); in ParseInternalRunDeathTestFlag()
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberMatcherTest.java | 927 * Asserts that another number can be found in {@code text} starting at {@code index}, and that 930 private void assertEqualRange(CharSequence text, int index, int start, int end) { in assertEqualRange() argument 931 CharSequence sub = text.subSequence(index, text.length()); in assertEqualRange() 936 assertEquals(start - index, match.start()); in assertEqualRange() 937 assertEquals(end - index, match.end()); in assertEqualRange() 1040 * Exhaustively searches for phone numbers from each index within {@code text} to test that 1044 for (int index = 0; index <= text.length(); index++) { in ensureTermination() 1045 String sub = text.substring(index); in ensureTermination() [all...] |
/third_party/python/Lib/test/test_capi/ |
H A D | test_misc.py | 459 def __setitem__(self, index, value): 460 self.index = index 465 self.assertEqual(c.index, slice(0, 5)) 500 def __delitem__(self, index): 501 self.index = index 505 self.assertEqual(c.index, slice(0, 5))
|
/third_party/python/Lib/ |
H A D | difflib.py | 1571 index, contextLines = 0, [None]*(context) 1578 i = index % context 1580 index += 1 1583 if index > context: 1587 lines_to_write = index 1588 index = 0 1590 i = index % context 1591 index += 1
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiImageCompressionControlTests.cpp | 895 for (int index = 0; index < DE_LENGTH_OF_ARRAY(ahbFormats); ++index) in addAhbCompressionControlTests() 897 testParams.format = ahbFormats[index]; in addAhbCompressionControlTests() 920 for (int index = 0; index < DE_LENGTH_OF_ARRAY(formats); ++index) in AddOHOSCompressionControlTests() 922 testParams.format = formats[index]; in AddOHOSCompressionControlTests()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | FrameCapture.h | 59 void setValueParamAtIndex(const char *paramName, ParamType paramType, T paramValue, int index); 66 ParamCapture &getParam(const char *paramName, ParamType paramType, int index); 67 const ParamCapture &getParam(const char *paramName, ParamType paramType, int index) const; 71 int index); 75 int index) const; 452 // Returns a frame index starting from "1" as the first frame. 691 int index) in setValueParamAtIndex() 693 ASSERT(mParamCaptures.size() > static_cast<size_t>(index)); in setValueParamAtIndex() 697 mParamCaptures[index] = std::move(capture); in setValueParamAtIndex() 688 setValueParamAtIndex(const char *paramName, ParamType paramType, T paramValue, int index) setValueParamAtIndex() argument
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | SimpleOperationTest.cpp | 569 // Triangle fans test with index buffer. 587 // Triangle fans test with primitive restart index at the middle. 612 // Primitive restart index is at middle, but we will use draw call which index offset=4. in TEST_P() 829 for (GLushort index : indices) in TEST_P() 831 colors1.push_back(baseColors1[index]); in TEST_P() 832 colors2.push_back(baseColors2[index]); in TEST_P() 1113 int index = faceIndex * 4; in TEST_P() local 1114 Vector2 center = (positions[index] + positions[index in TEST_P() [all...] |
/third_party/skia/src/codec/ |
H A D | SkSwizzler.cpp | 198 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_565() local 199 dst[0] = SkPixel32ToPixel16(ctable[index]); in swizzle_small_index_to_565() 205 index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_565() 206 dst[x] = SkPixel32ToPixel16(ctable[index]); in swizzle_small_index_to_565() 219 uint8_t index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_n32() local 220 dst[0] = ctable[index]; in swizzle_small_index_to_n32() 226 index = (currByte >> (8 - bpp - bitIndex)) & mask; in swizzle_small_index_to_n32() 227 dst[x] = ctable[index]; in swizzle_small_index_to_n32()
|
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
H A D | wrtxml.cpp | 693 int index = 0; in array_write_xml() local 705 itostr(c, index, 10, 0); in array_write_xml() 706 index += 1; in array_write_xml() 1035 int32_t first, index; in bundle_write_xml() local 1049 index = (int32_t)(uprv_strlen(filename) - uprv_strlen(textExt) - first); in bundle_write_xml() 1050 originalFileName = (char *)uprv_malloc(sizeof(char)*index+1); in bundle_write_xml() 1051 uprv_memset(originalFileName, 0, sizeof(char)*index+1); in bundle_write_xml() 1052 uprv_strncpy(originalFileName, filename + first, index); in bundle_write_xml()
|
/third_party/skia/src/utils/ |
H A D | SkShadowTessellator.cpp | 526 int index = fCurrUmbraIndex; in getClosestUmbraIndex() local 528 int next = (index + dir) % umbraPolygon.count(); in getClosestUmbraIndex() 533 index = next; in getClosestUmbraIndex() 540 next = (index + dir) % umbraPolygon.count(); in getClosestUmbraIndex() 543 index = next; in getClosestUmbraIndex() 545 next = (index + dir) % umbraPolygon.count(); in getClosestUmbraIndex() 549 fCurrUmbraIndex = index; in getClosestUmbraIndex() 550 return index; in getClosestUmbraIndex()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/ |
H A D | tinyxml.h | 1656 /** Return a handle to the "index" child with the given name. 1659 TiXmlHandle Child( const char* value, int index ) const; 1660 /** Return a handle to the "index" child. 1663 TiXmlHandle Child( int index ) const; 1664 /** Return a handle to the "index" child element with the given name. 1668 TiXmlHandle ChildElement( const char* value, int index ) const; 1669 /** Return a handle to the "index" child element. 1673 TiXmlHandle ChildElement( int index ) const; 1679 TiXmlHandle Child( const std::string& _value, int index ) const { return Child( _value.c_str(), index ); } in Child() [all...] |
/third_party/python/Modules/_ctypes/ |
H A D | callproc.c | 190 get_error_internal(PyObject *self, PyObject *args, int index) in get_error_internal() argument 198 result = PyLong_FromLong(space[index]); in get_error_internal() 204 set_error_internal(PyObject *self, PyObject *args, int index) in set_error_internal() argument 216 old_errno = space[index]; in set_error_internal() 217 space[index] = new_errno; in set_error_internal() 648 static int ConvParam(PyObject *obj, Py_ssize_t index, struct argument *pa) in ConvParam() argument 732 result = ConvParam(arg, index, pa); in ConvParam() 738 Py_SAFE_DOWNCAST(index, Py_ssize_t, int)); in ConvParam()
|
/third_party/python/Objects/ |
H A D | odictobject.c | 43 While _Py_dict_lookup() does not give us the index into the array, 44 we make use of pointer arithmetic to get that index. An alternative would 45 be to refactor _Py_dict_lookup() to provide the index, explicitly exposing 528 /* Return the index into the hash table, regardless of a valid node. */ 538 return keys->dk_nentries; /* index of new entry */ in _odict_get_index_raw() 542 /* We use pointer arithmetic to get the entry's index into the table. */ in _odict_get_index_raw() 584 /* Return the index into the hash table, regardless of a valid node. */ 608 Py_ssize_t index; in _odict_find_node_hash() local 612 index = _odict_get_index(od, key, hash); in _odict_find_node_hash() 613 if (index < in _odict_find_node_hash() 622 Py_ssize_t index; _odict_find_node() local [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | map.h | 462 iterator_base(Node* n, const InnerMap* m, size_type index) in iterator_base() argument 463 : node_(n), m_(m), bucket_index_(index) {} in iterator_base() 465 iterator_base(TreeIterator tree_it, const InnerMap* m, size_type index) in iterator_base() argument 466 : node_(NodeFromTreeIterator(tree_it)), m_(m), bucket_index_(index) { in iterator_base() 847 void TransferList(void* const* table, size_type index) { in TransferList() argument 848 Node* node = static_cast<Node*>(table[index]); in TransferList() 856 void TransferTree(void* const* table, size_type index) { in TransferTree() argument 857 Tree* tree = static_cast<Tree*>(table[index]); in TransferTree()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/ |
H A D | RewriteRowMajorMatrices.cpp | 85 // Determine if the node is an index node (array index or struct field selection). For the purposes 86 // of this transformation, swizzle nodes are considered index nodes too. 134 // Swizzle nodes are converted EOpIndexDirect for simplicity, with one index per swizzle in GetIndex() 230 // If the last index overflows, element enumeration is done. in getNextElement() 269 for (size_t index = 1; index + 1 < arraySizes.size(); ++index) in constructReadTransformExpression() 271 accumulatedArraySizes[index] = accumulatedArraySizes[index in constructReadTransformExpression() 284 unsigned int index = *it; getCurrentElement() local [all...] |
/kernel/linux/linux-6.6/tools/testing/radix-tree/ |
H A D | maple.c | 44 unsigned long index[RCU_RANGE_COUNT]; member 50 unsigned long index; member 465 static noinline void __init check_erase(struct maple_tree *mt, unsigned long index, in check_erase() argument 468 MT_BUG_ON(mt, mtree_test_erase(mt, index) != ptr); in check_erase() 777 if (s_entry && (s_min == mas_start->index)) in mas_ce2_over_count() 781 bool ssplit = s_min != mas_start->index; in mas_ce2_over_count() 807 * mas_node_walk() - Walk a maple node to offset of the index. 825 unsigned long index; in mas_node_walk() local 828 (*range_max) = (*range_min) = mas->index; in mas_node_walk() 832 mas->offset = mas->index in mas_node_walk() 960 unsigned long index = mas->index; mas_range_load() local 34347 unsigned long index = reader->id; rcu_reader_fwd() local 34457 unsigned long index = reader->id; rcu_reader_rev() local 34792 unsigned long index; /* The first index to check */ global() member 35035 unsigned int index = vals->index; run_check_rcu_slowread() local [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | inode.c | 112 unsigned long index = offset >> PAGE_SHIFT; in btrfs_cleanup_ordered_extents() local 119 while (index <= end_index) { in btrfs_cleanup_ordered_extents() 120 page = find_get_page(inode->vfs_inode.i_mapping, index); in btrfs_cleanup_ordered_extents() 121 index++; in btrfs_cleanup_ordered_extents() 3620 u64 index; in __btrfs_unlink_inode() local 3643 * If we don't have dir index, we have to get it by looking up in __btrfs_unlink_inode() 3647 * But if we have dir index, needn't search inode ref to get it. in __btrfs_unlink_inode() 3655 index = inode->dir_index; in __btrfs_unlink_inode() 3661 dir_ino, &index); in __btrfs_unlink_inode() 3670 ret = btrfs_delete_delayed_dir_index(trans, dir, index); in __btrfs_unlink_inode() 3794 u64 index; btrfs_unlink_subvol() local 4579 pgoff_t index = from >> PAGE_SHIFT; btrfs_truncate_block() local 5918 btrfs_set_inode_index(struct btrfs_inode *dir, u64 *index) btrfs_set_inode_index() argument 5980 btrfs_new_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct inode *dir, const char *name, int name_len, u64 ref_objectid, u64 objectid, umode_t mode, u64 *index) btrfs_new_inode() argument 6158 btrfs_add_link(struct btrfs_trans_handle *trans, struct btrfs_inode *parent_inode, struct btrfs_inode *inode, const char *name, int name_len, int add_backref, u64 index) btrfs_add_link() argument 6241 btrfs_add_nondir(struct btrfs_trans_handle *trans, struct btrfs_inode *dir, struct dentry *dentry, struct btrfs_inode *inode, int backref, u64 index) btrfs_add_nondir() argument 6262 u64 index = 0; btrfs_mknod() local 6326 u64 index = 0; btrfs_create() local 6391 u64 index; btrfs_link() local 6470 u64 index = 0; btrfs_mkdir() local 8643 u64 index = 0; btrfs_create_subvol_root() local 9133 u64 index; btrfs_whiteout_for_rename() local 9187 u64 index = 0; btrfs_rename() local 9609 u64 index = 0; btrfs_symlink() local 9952 u64 index; btrfs_tmpfile() local 10012 unsigned long index = start >> PAGE_SHIFT; btrfs_set_range_writeback() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/Disassembler/ |
H A D | ARMDisassembler.cpp | 4907 unsigned index = 0; in DecodeVLD1LN() local 4914 index = fieldFromInstruction(Insn, 5, 3); in DecodeVLD1LN() 4919 index = fieldFromInstruction(Insn, 6, 2); in DecodeVLD1LN() 4926 index = fieldFromInstruction(Insn, 7, 1); in DecodeVLD1LN() 4958 Inst.addOperand(MCOperand::createImm(index)); in DecodeVLD1LN() 4974 unsigned index = 0; in DecodeVST1LN() local 4981 index = fieldFromInstruction(Insn, 5, 3); in DecodeVST1LN() 4986 index = fieldFromInstruction(Insn, 6, 2); in DecodeVST1LN() 4993 index = fieldFromInstruction(Insn, 7, 1); in DecodeVST1LN() 5023 Inst.addOperand(MCOperand::createImm(index)); in DecodeVST1LN() 5039 unsigned index = 0; DecodeVLD2LN() local 5106 unsigned index = 0; DecodeVST2LN() local 5169 unsigned index = 0; DecodeVLD3LN() local 5239 unsigned index = 0; DecodeVST3LN() local 5302 unsigned index = 0; DecodeVLD4LN() local 5383 unsigned index = 0; DecodeVST4LN() local 6426 unsigned index = fieldFromInstruction(Insn, 4, 1); DecodeMVEVMOVQtoDReg() local 6449 unsigned index = fieldFromInstruction(Insn, 4, 1); DecodeMVEVMOVDRegtoQ() local [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_indicator_modifier_test_ng.cpp | 946 * @tc.desc: get long point start and end index 963 auto index = pattern_->TotalCount() - 1; in HWTEST_F() local 964 auto expectVal = std::pair<int32_t, int32_t>(index, index); in HWTEST_F() 965 EXPECT_EQ(paintMethod->GetStartAndEndIndex(index), expectVal); in HWTEST_F() 970 EXPECT_EQ(paintMethod->GetStartAndEndIndex(index), expectVal); in HWTEST_F() 975 * @tc.desc: get long point start and end index 992 auto index = pattern_->TotalCount() - 1; in HWTEST_F() local 993 EXPECT_EQ(paintMethod->GetStartAndEndIndex(index), expectVal); in HWTEST_F() 997 expectVal = std::pair<int32_t, int32_t>(index, inde in HWTEST_F() [all...] |