/external/pdfium/core/fxge/ |
cfx_folderfontinfo.cpp | 184 uint8_t* offsets = FX_Alloc(uint8_t, face_bytes); local 185 readCnt = fread(offsets, 1, face_bytes, pFile); 187 FX_Free(offsets); 192 uint8_t* p = offsets + i * 4; 195 FX_Free(offsets);
|
/external/tensorflow/tensorflow/python/lib/core/ |
ndarray_tensor.cc | 198 tensorflow::uint64* offsets = reinterpret_cast<tensorflow::uint64*>(base); local 201 array, [&base, &data_start, &dst, &offsets](char* ptr, Py_ssize_t len) { 202 *offsets = (dst - data_start); 203 offsets++; 221 const uint64* offsets = static_cast<const uint64*>(tensor_data); local 237 const char* start = data + offsets[i];
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
Drm.cpp | 607 uint32_t offsets[4] = {0}; local 623 offsets,
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
CollationElementIteratorTest.java | 48 int[] offsets = { 0, 1, 2, 3 }; local 51 assertEquals(offsets[i++], offset); 55 assertEquals(offsets[i++], offset);
|
/libcore/luni/src/main/java/libcore/util/ |
CountryTimeZones.java | 308 * if it has the same offsets as all other zones used by the country <em>at the specified time 334 // Multiple different offsets means the default should not be used. 396 int[] offsets = new int[2]; local 397 timeZone.getOffset(whenMillis, false /* local */, offsets); 399 // offsets[1] == 0 when the zone is not in DST. 400 boolean zoneIsDst = offsets[1] != 0; 404 return offsetMillis == (offsets[0] + offsets[1]); 460 int[] offsets = new int[2]; local 461 timeZone.getOffset(whenMillis, false /* local */, offsets); [all...] |
/libcore/ojluni/src/main/java/sun/util/calendar/ |
AbstractCalendar.java | 125 int[] offsets = new int[2]; local 128 // zoneOffset = ((ZoneInfo)zi).getOffsets(millis, offsets); 131 offsets[0] = zi.getRawOffset(); 132 offsets[1] = zoneOffset - offsets[0]; 144 saving = offsets[1]; 187 int[] offsets = new int[2]; local 196 // ((ZoneInfo)zi).getOffsetsByStandard(ms, offsets); 197 // zoneOffset = offsets[0]; 209 // zoneOffset = ((ZoneInfo)zi).getOffsetsByWall(ms, offsets); [all...] |
/cts/hostsidetests/security/securityPatch/CVE-2016-8428/ |
poc.c | 62 __u64 offsets; /* Ptr to u32 type array, holding offsets member in struct:nvmap_cache_op_list 165 g_op_list.offsets = (__u64)calloc(1, MAX_HANDLE_NUM * 4);
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
TestUtils.java | 76 // and visible backgrounds. At each step we're keeping track of the combined offsets 95 // Update the offsets based on the location of current view in its parent's bounds 104 // we are respecting the offsets of our original view in the coordinate system of the 109 Pair<Integer, Integer> offsets = ancestorOffsets.get(i); local 111 canvas.translate(offsets.first, offsets.second); 113 canvas.translate(-offsets.first, -offsets.second);
|
/external/deqp/modules/gles2/functional/ |
es2fVertexArrayTest.cpp | 213 int offsets[] = {1, 16, 17}; local 218 for (int offsetNdx = 0; offsetNdx < DE_LENGTH_OF_ARRAY(offsets); offsetNdx++) 227 const bool aligned = ((stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0) && (offsets[offsetNdx] % Array::inputTypeSize(inputTypes[inputTypeNdx]) == 0); 234 offsets[offsetNdx], 246 std::string name = Array::inputTypeToString(inputTypes[inputTypeNdx]) + "_first" + typeToString(firsts[firstNdx]) + "_offset" + typeToString(offsets[offsetNdx]) + "_stride" + typeToString(stride) + "_quads" + typeToString(counts[countNdx]); 283 int offsets[] = {1, 4, 17, 32}; local 288 for (int offsetNdx = 0; offsetNdx < DE_LENGTH_OF_ARRAY(offsets); offsetNdx++) 295 const bool aligned = ((stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0) && ((offsets[offsetNdx] % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0); 302 offsets[offsetNdx],
|
/external/deqp/modules/gles2/stress/ |
es2sDrawTests.cpp | 112 int offsets[3]; member in struct:deqp::gles2::Stress::__anon18403::IndexTest 143 for (int iterationNdx = 0; iterationNdx < DE_LENGTH_OF_ARRAY(indexTest.offsets) && indexTest.offsets[iterationNdx] != -1; ++iterationNdx) 145 const std::string iterationDesc = std::string("offset ") + de::toString(indexTest.offsets[iterationNdx]); 146 spec.indexPointerOffset = indexTest.offsets[iterationNdx]; 230 const int offsets[] = { 0, 1, 5, 12 }; local 337 attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets), DE_ARRAY_END(offsets), offsetWeights);
|
/external/flatbuffers/src/ |
reflection.cpp | 155 // Resize a FlatBuffer in-place by iterating through all offsets in the buffer 174 // Now change all the offsets by delta_. 199 // This must be checked for every offset, since we can't know which offsets 369 // subobjects, and collect their offsets. 370 std::vector<uoffset_t> offsets; local 445 offsets.push_back(offset); 448 // Now we can build the actual table from either offsets or scalar data. 470 fbb.AddOffset(fielddef.offset(), Offset<void>(offsets[offset_idx++])); 479 assert(offset_idx == offsets.size());
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
RuleBasedTimeZone.java | 99 int[] offsets = new int[2]; local 100 getOffset(time, true, LOCAL_DST, LOCAL_STD, offsets); 101 return (offsets[0] + offsets[1]); 108 public void getOffset(long time, boolean local, int[] offsets) { 109 getOffset(time, local, LOCAL_FORMER, LOCAL_LATTER, offsets); 120 int nonExistingTimeOpt, int duplicatedTimeOpt, int[] offsets) { 121 getOffset(date, true, nonExistingTimeOpt, duplicatedTimeOpt, offsets); 132 int[] offsets = new int[2]; local 133 getOffset(now, false, offsets); 142 int[] offsets = new int[2]; local 143 getOffset(date.getTime(), false, offsets); local 167 int[] offsets = new int[2]; local 188 int[] offsets = new int[2]; local [all...] |
/external/icu/icu4c/source/common/ |
ucnvbocu.cpp | 398 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 962 int32_t *offsets; local [all...] |
unisetspan.cpp | 31 * List of offsets from the current position from where to try matching 33 * Store offsets rather than indexes to simplify the code and use the same list 36 * Assumption: The maximum offset is limited, and the offsets that are stored 42 * This avoids inserting into a sorted list of offsets (or absolute indexes) and 54 * the integer would simply be shifted when lower offsets are removed. 90 // Reduce all stored offsets by delta, used when the current position 92 // There must not be any offsets lower than delta. 128 // and reduce all other offsets by this minimum. 644 OffsetList offsets; local 647 offsets.setMaxLength(maxLength16) 805 OffsetList offsets; local 966 OffsetList offsets; local 1144 OffsetList offsets; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
BasicTimeZone.java | 69 * offsets and DST savings used by this time zone match the other in the 90 * offsets and DST savings used by this time zone match the other in the 118 // Check the offsets at the start time 482 // second rule raw/dst offsets should match raw/dst offsets 517 // No transitions in the past. Just use the current offsets 518 int[] offsets = new int[2]; local 519 getOffset(date, false, offsets); 520 initialRule = new InitialTimeZoneRule(getID(), offsets[0], offsets[1]) [all...] |
RuleBasedTimeZone.java | 104 int[] offsets = new int[2]; local 105 getOffset(time, true, LOCAL_DST, LOCAL_STD, offsets); 106 return (offsets[0] + offsets[1]); 115 public void getOffset(long time, boolean local, int[] offsets) { 116 getOffset(time, local, LOCAL_FORMER, LOCAL_LATTER, offsets); 127 int nonExistingTimeOpt, int duplicatedTimeOpt, int[] offsets) { 128 getOffset(date, true, nonExistingTimeOpt, duplicatedTimeOpt, offsets); 141 int[] offsets = new int[2]; local 142 getOffset(now, false, offsets); 153 int[] offsets = new int[2]; local 154 getOffset(date.getTime(), false, offsets); local 182 int[] offsets = new int[2]; local 204 int[] offsets = new int[2]; local [all...] |
/external/libchrome/base/strings/ |
string_util_unittest.cc | 904 std::vector<size_t> offsets; local [all...] |
/external/libdrm/tests/exynos/ |
exynos_fimg2d_test.c | 720 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; local 799 offsets[0] = 0; 803 pitches, offsets, &fb_id, 0);
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
pa.h | 342 simdscalari vOffsets[MAX_NUM_VERTS_PER_PRIM]; // byte offsets for currently assembling simd 349 bool needOffsets{ false }; // need to compute gather offsets for current SIMD 573 // cache off gather offsets given the current SIMD set of indices the first time we get an assemble 582 simdscalari offsets = this->vOffsets[v]; local 585 offsets = _simd_add_epi32(offsets, _simd_set1_epi32(slot * sizeof(simdvector))); 590 result[v].v[c] = _simd_i32gather_ps(pBase, offsets, 1); [all...] |
/external/protobuf/src/google/protobuf/ |
dynamic_message.cc | 235 // important (the prototype must be deleted *before* the offsets). 236 google::protobuf::scoped_array<int> offsets; member in struct:google::protobuf::DynamicMessage::TypeInfo 349 void* field_ptr = OffsetToPointer(type_info_->offsets[i]); 392 type_info_->offsets[i]))->Get(NULL)); 447 field_ptr = OffsetToPointer(type_info_->offsets[ 457 + type_info_->offsets[i]) 470 void* field_ptr = OffsetToPointer(type_info_->offsets[i]); 517 type_info_->offsets[i]))->Get(NULL)); 544 void* field_ptr = OffsetToPointer(type_info_->offsets[i]); 547 type_info_->default_oneof_instance) + type_info_->offsets[i] 667 int* offsets = new int[type->field_count() + type->oneof_decl_count()]; local [all...] |
/external/selinux/libsepol/src/ |
module.c | 371 /* Get the section offsets from a package file, offsets will be malloc'd to 375 size_t ** offsets, uint32_t * sections) 430 ERR(file->handle, "offsets are not increasing (at %u, " 447 *offsets = off; 469 size_t *offsets, len; local 473 if (module_package_read_offsets(mod, file, &offsets, &nsec)) 476 /* we know the section offsets, seek to them and read in the data */ 480 if (policy_file_seek(file, offsets[i])) { 482 "module package section %u", offsets[i], i) 655 size_t *offsets = NULL; local 863 uint32_t buf[5], offsets[5], len, nsec = 0; local [all...] |
/external/skia/src/core/ |
SkDistanceFieldGen.cpp | 40 const int offsets[8] = {-1, 1, -width-1, -width, -width+1, width-1, width, width+1 }; local 49 const unsigned char* checkPtr = imagePtr + offsets[i];
|
/external/skqp/src/core/ |
SkDistanceFieldGen.cpp | 40 const int offsets[8] = {-1, 1, -width-1, -width, -width+1, width-1, width, width+1 }; local 49 const unsigned char* checkPtr = imagePtr + offsets[i];
|
/external/vixl/test/ |
test-pool-manager.cc | 66 static const int offsets[N] = {0, 2, 4}; local 67 return offsets[Random() % N]; 72 static const int offsets[N] = {255, 1020, 1024, 4096, 16384}; local 73 return offsets[Random() % N]; 78 // The maximum offsets used for testing are taken from A32 and T32. 79 static const int offsets[N] = local 81 return offsets[Random() % N]; 248 // These are the min and max offsets of the type of branch used for the [all...] |
/frameworks/av/media/libstagefright/webm/ |
WebmWriter.cpp | 497 uint64_t offsets[nElems]; local 506 offsets[i] = ::lseek(mFd, 0, SEEK_CUR); 511 mSegmentOffset = offsets[1]; 512 mSegmentDataStart = offsets[2]; 513 mInfoOffset = offsets[3]; 515 mTracksOffset = offsets[4]; 516 mCuesOffset = offsets[5];
|