/external/llvm/tools/lli/ |
RemoteMemoryManager.cpp | 94 SmallVector<std::pair<Allocation, uint64_t>, 16> Offsets; 109 Offsets.push_back(std::pair<Allocation,uint64_t>(Section, CurOffset)); 126 Offsets.push_back(std::pair<Allocation,uint64_t>(Section, CurOffset)); 138 for (unsigned i = 0, e = Offsets.size(); i != e; ++i) { 139 uint64_t Addr = RemoteAddr + Offsets[i].second; 140 EE->mapSectionAddress(const_cast<void*>(Offsets[i].first.MB.base()), Addr); 142 DEBUG(dbgs() << " Mapping local: " << Offsets[i].first.MB.base() 145 MappedSections[Addr] = Offsets[i].first;
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
CompositionShiftLeastGreatestAtom.java | 9 * minimum and maximum offsets between decode and composition time, as well as 12 * needing to scan the sample table for the range of offsets. The type of the
|
/external/chromium_org/chrome/browser/chromeos/ui/ |
echo_dialog_view.cc | 47 std::vector<size_t> offsets; local 51 &offsets); 59 gfx::Range(offsets[0], offsets[0] + service_name.length()), 65 label_->AddStyleRange(gfx::Range(offsets[1], offsets[1] + link.length()),
|
/external/chromium_org/chrome/browser/history/ |
in_memory_url_index_types_unittest.cc | 134 std::vector<size_t> offsets = OffsetsFromTermMatches(matches_a); local 136 ASSERT_EQ(offsets.size(), arraysize(expected_offsets_a)); 137 for (size_t i = 0; i < offsets.size(); ++i) 138 EXPECT_EQ(expected_offsets_a[i], offsets[i]); 141 offsets[4] = base::string16::npos; // offset of third term 143 ReplaceOffsetsInTermMatches(matches_a, offsets);
|
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom/generate/ |
pack_tests.py | 51 # |offsets| is the expected order of offsets, with the integer "0" first. 52 def TestSequence(kinds, fields, offsets): 64 EXPECT_EQ(offsets[i], ps.packed_fields[i].offset) 87 offsets = (0, 1, 2, 4, 8) 88 return TestSequence(kinds, fields, offsets)
|
/external/proguard/src/proguard/optimize/peephole/ |
GotoCommonCodeReplacer.java | 154 * Returns the number of common bytes preceding the given offsets, 173 // Is the code identical at both offsets? 186 // Are there instructions at both offsets? 190 // Are the offsets involved in some branches? 239 * the given offsets (including both). 243 // Swap the offsets if the second one is smaller than the first one.
|
/libcore/luni/src/test/java/libcore/java/text/ |
CollatorTest.java | 118 private void assertCollationElementIterator(CollationElementIterator it, Integer... offsets) { 119 for (int offset : offsets) { 126 private void assertGetCollationElementIteratorString(Locale l, String s, Integer... offsets) { 128 assertCollationElementIterator(coll.getCollationElementIterator(s), offsets); local 131 private void assertGetCollationElementIteratorCharacterIterator(Locale l, String s, Integer... offsets) { 134 assertCollationElementIterator(coll.getCollationElementIterator(it), offsets); local
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
convtest.cpp | 126 cc.offsets=testCase->getIntVector(offsetsLength, "offsets", errorCode); 128 cc.offsets=NULL; 130 errln("toUnicode[%d] unicode[%d] and offsets[%d] must have the same length", 239 cc.offsets=testCase->getIntVector(offsetsLength, "offsets", errorCode); 241 cc.offsets=NULL; 243 errln("fromUnicode[%d] bytes[%d] and offsets[%d] must have the same length", 721 printOffsets(const int32_t *offsets, int32_t length, char *out) { 724 if(offsets==NULL) [all...] |
/hardware/intel/common/libva/test/ |
loadsurface.h | 248 U_start = (char *)surface_p + surface_image.offsets[1]; 254 U_start = (char *)surface_p + surface_image.offsets[1]; 255 V_start = (char *)surface_p + surface_image.offsets[2]; 260 U_start = (char *)surface_p + surface_image.offsets[2]; 261 V_start = (char *)surface_p + surface_image.offsets[1]; 314 U_start = (unsigned char *)surface_p + surface_image.offsets[1]; 320 U_start = (unsigned char *)surface_p + surface_image.offsets[1]; 321 V_start = (unsigned char *)surface_p + surface_image.offsets[2]; 326 U_start = (unsigned char *)surface_p + surface_image.offsets[2]; 327 V_start = (unsigned char *)surface_p + surface_image.offsets[1] [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/ |
inv_self_test.c | 541 int offsets[3] = {0}; local 546 offsets[0] = -accel_bias[0].l / 1000 / 2 / scale_ratio; 547 if (write_sysfs_int(mpu.accel_x_offset, offsets[0]) < 0) { 550 offsets[1] = -accel_bias[1].l / 1000 / 2 / scale_ratio; 551 if (write_sysfs_int(mpu.accel_y_offset, offsets[1]) < 0) { 554 offsets[2] = -accel_bias[2].l / 1000 / 2 / scale_ratio; 555 if (write_sysfs_int(mpu.accel_z_offset, offsets[2]) < 0) { 558 printf("Self-Test:Written Accel offsets[0..2] = [%d %d %d]\n", 559 offsets[0], offsets[1], offsets[2]) 567 int offsets[3] = {0}; local [all...] |
/external/chromium_org/third_party/ots/src/ |
glyf.cc | 185 std::vector<uint32_t> &offsets = file->loca->offsets; local 187 if (offsets.size() != num_glyphs + 1) { 195 const unsigned gly_offset = offsets[i]; 197 const unsigned gly_length = offsets[i + 1] - offsets[i]; 281 file->loca->offsets = resulting_offsets;
|
/external/chromium_org/third_party/skia/gm/ |
xfermodeimagefilter.cpp | 166 // Test offsets on SrcMode (uses fixed-function blend) 181 // Test offsets on Darken (uses shader blend) 196 int offsets[nbSamples][4] = {{ 10, 10, -16, -16}, variable 200 SkIRect cropRect = SkIRect::MakeXYWH(offsets[i][0], 201 offsets[i][1], 202 fBitmap.width() + offsets[i][2], 203 fBitmap.height() + offsets[i][3]);
|
/external/icu/icu4c/source/common/ |
listformatter.cpp | 273 int32_t offsets[2]; local 278 offsets, 279 LENGTHOF(offsets), 284 if (offsets[0] == -1 || offsets[1] == -1) { 289 offset = offsets[1]; 291 offset += offsets[0];
|
ucnvmbcs.c | 1891 int32_t *offsets; local 2043 int32_t *offsets; local 2323 int32_t *offsets; local 3264 int32_t *offsets; local 3496 int32_t *offsets; local 3672 int32_t *offsets; local 3929 int32_t *offsets; local [all...] |
dictionarydata.h | 43 // Byte offsets from the start of the data, after the generic header. 141 * The first four indexes are byte offsets in ascending order. 144 * When two consecutive byte offsets are the same, then the corresponding part is empty. 145 * Byte offsets are offsets from after the header,
|
ucnvbocu.cpp | 396 int32_t *offsets; local 410 offsets=pArgs->offsets; 441 *offsets++=nextSourceIndex++; 449 *offsets++=nextSourceIndex++; 459 sourceIndex=nextSourceIndex; /* wrong if offsets==NULL but does not matter */ 477 *offsets++=sourceIndex; 514 *offsets++=sourceIndex; 536 *offsets++=sourceIndex; 537 *offsets++=sourceIndex 945 int32_t *offsets; local [all...] |
/external/skia/gm/ |
xfermodeimagefilter.cpp | 166 // Test offsets on SrcMode (uses fixed-function blend) 181 // Test offsets on Darken (uses shader blend) 196 int offsets[nbSamples][4] = {{ 10, 10, -16, -16}, variable 200 SkIRect cropRect = SkIRect::MakeXYWH(offsets[i][0], 201 offsets[i][1], 202 fBitmap.width() + offsets[i][2], 203 fBitmap.height() + offsets[i][3]);
|
/external/chromium_org/third_party/icu/source/common/ |
ucnvmbcs.c | 1894 int32_t *offsets; local 2046 int32_t *offsets; local 2326 int32_t *offsets; local 3267 int32_t *offsets; local 3499 int32_t *offsets; local 3675 int32_t *offsets; local 3932 int32_t *offsets; local [all...] |
ucnvbocu.c | 391 int32_t *offsets; local 405 offsets=pArgs->offsets; 436 *offsets++=nextSourceIndex++; 444 *offsets++=nextSourceIndex++; 454 sourceIndex=nextSourceIndex; /* wrong if offsets==NULL but does not matter */ 472 *offsets++=sourceIndex; 509 *offsets++=sourceIndex; 531 *offsets++=sourceIndex; 532 *offsets++=sourceIndex 940 int32_t *offsets; local [all...] |
/external/ceres-solver/internal/ceres/ |
reorder_program.cc | 201 // Run a cumulative sum on the histogram, to obtain offsets to the start of 204 vector<int> offsets(num_eliminate_blocks + 1); 207 offsets.begin()); 208 CHECK_EQ(offsets.back(), residual_blocks->size()) 221 // residual blocks. This loop uses the offsets as counters; subtracting one 231 offsets[bucket]--; 234 CHECK(reordered_residual_blocks[offsets[bucket]] == NULL) 238 reordered_residual_blocks[offsets[bucket]] = (*residual_blocks)[i]; 241 // Sanity check #1: The difference in bucket offsets should match the 244 CHECK_EQ(residual_blocks_per_e_block[i], offsets[i + 1] - offsets[i] [all...] |
/external/clang/tools/clang-format/ |
ClangFormat.cpp | 38 Offsets("offset", 128 if (!Offsets.empty() || !Lengths.empty()) { 152 if (Offsets.empty()) 153 Offsets.push_back(0); 154 if (Offsets.size() != Lengths.size() && 155 !(Offsets.size() == 1 && Lengths.empty())) { 160 for (unsigned i = 0, e = Offsets.size(); i != e; ++i) { 161 if (Offsets[i] >= Code->getBufferSize()) { 162 llvm::errs() << "error: offset " << Offsets[i] 167 Sources.getLocForStartOfFile(ID).getLocWithOffset(Offsets[i]) [all...] |
/external/deqp/modules/gles2/stress/ |
es2sVertexArrayTests.cpp | 214 int offsets[] = {1, 17}; local 219 for (int offsetNdx = 0; offsetNdx < DE_LENGTH_OF_ARRAY(offsets); offsetNdx++) 228 const bool aligned = ((stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0) && (offsets[offsetNdx] % Array::inputTypeSize(inputTypes[inputTypeNdx]) == 0); 235 offsets[offsetNdx], 247 std::string name = Array::inputTypeToString(inputTypes[inputTypeNdx]) + "_first" + typeToString(firsts[firstNdx]) + "_offset" + typeToString(offsets[offsetNdx]) + "_stride" + typeToString(stride) + "_quads" + typeToString(counts[countNdx]); 284 int offsets[] = {1, 4, 17, 32}; local 289 for (int offsetNdx = 0; offsetNdx < DE_LENGTH_OF_ARRAY(offsets); offsetNdx++) 296 const bool aligned = ((stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0) && ((offsets[offsetNdx] % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0); 303 offsets[offsetNdx],
|
/external/javassist/src/main/javassist/bytecode/ |
CodeIterator.java | 303 * Branch offsets and the exception table are also updated. 325 * Branch offsets and the exception table are also updated. 350 * Branch offsets and the exception table are also updated. 376 * Branch offsets and the exception table are also updated. 398 * Branch offsets and the exception table are also updated. 423 * Branch offsets and the exception table are also updated. 470 * Branch offsets and the exception table are also updated. 487 * Branch offsets and the exception table are also updated. 509 * Branch offsets and the exception table are also updated. 526 * Branch offsets and the exception table are also updated 1187 int[] offsets = new int[size]; local 1201 int[] offsets = new int[npairs]; local 1449 int[] offsets; field in class:CodeIterator.Switcher [all...] |
/external/chromium_org/net/tools/tld_cleanup/ |
make_dafsa_unittest.py | 653 offsets = {} 656 self.assertEqual(make_dafsa.encode_links(children, offsets, bytes), 663 offsets = { id(node) : 2 } 666 self.assertEqual(make_dafsa.encode_links(children, offsets, bytes), 670 """Tests to encode a sequence of one byte offsets.""" 674 offsets = { id(node1) : 2, id(node2) : 1 } 677 self.assertEqual(make_dafsa.encode_links(children, offsets, bytes), 684 offsets = { id(node) : 2 } 687 self.assertEqual(make_dafsa.encode_links(children, offsets, bytes), 691 """Tests to encode a sequence of two byte offsets."" [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
otData.py | 80 ('Offset', 'Lookup', 'LookupCount', 0, 'Array of offsets to Lookup tables-from beginning of LookupList -zero based (first lookup is Lookup index = 0)'), 87 ('Offset', 'SubTable', 'SubTableCount', 0, 'Array of offsets to SubTables-from beginning of Lookup table'), 168 ('Offset', 'PairSet', 'PairSetCount', 0, 'Array of offsets to PairSet tables-from beginning of PairPos subtable-ordered by Coverage Index'), 230 ('Offset', 'BaseAnchor', 'ClassCount', 0, 'Array of offsets (one per class) to Anchor tables-from beginning of BaseArray table-ordered by class-zero-based'), 243 ('uint16', 'LigatureCount', None, None, 'Number of LigatureAttach table offsets'), 244 ('Offset', 'LigatureAttach', 'LigatureCount', 0, 'Array of offsets to LigatureAttach tables-from beginning of LigatureArray table-ordered by LigatureCoverage Index'), 253 ('Offset', 'LigatureAnchor', 'ClassCount', 0, 'Array of offsets (one per class) to Anchor tables-from beginning of LigatureAttach table-ordered by class-NULL if a component does not have an attachment for a class-zero-based array'), 271 ('Offset', 'Mark2Anchor', 'ClassCount', 0, 'Array of offsets (one per class) to Anchor tables-from beginning of Mark2Array table-zero-based array'), 283 ('Offset', 'PosRuleSet', 'PosRuleSetCount', 0, 'Array of offsets to PosRuleSet tables-from beginning of ContextPos subtable-ordered by Coverage Index'), 288 ('Offset', 'PosRule', 'PosRuleCount', 0, 'Array of offsets to PosRule tables-from beginning of PosRuleSet-ordered by preference') [all...] |