/libcore/luni/src/test/java/libcore/java/text/ |
CollatorTest.java | 133 private void assertCollationElementIterator(CollationElementIterator it, Integer... offsets) { 134 for (int offset : offsets) { 141 private void assertGetCollationElementIteratorString(Locale l, String s, Integer... offsets) { 143 assertCollationElementIterator(coll.getCollationElementIterator(s), offsets); 146 private void assertGetCollationElementIteratorCharacterIterator(Locale l, String s, Integer... offsets) { 149 assertCollationElementIterator(coll.getCollationElementIterator(it), offsets);
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
AbstractCalendar.java | 125 int[] offsets = new int[2]; local 127 offsets[0] = zi.getRawOffset(); 128 offsets[1] = zoneOffset - offsets[0]; 138 saving = offsets[1]; 181 int[] offsets = new int[2]; local
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UnicodeSetStringSpan.java | 78 private OffsetList offsets; field in class:UnicodeSetStringSpan 99 offsets = new OffsetList(); 222 offsets = new OffsetList(); 379 * Synchronized method for complicated spans using the offsets. 392 offsets.setMaxLength(initSize); 424 if (!offsets.containsOffset(inc) && matches16CPB(s, pos - overlap, length, string, length16)) { 428 offsets.addOffset(inc); 494 if (offsets.isEmpty()) { 500 if (offsets.isEmpty()) { 527 offsets.shift(spanLength) [all...] |
OlsonTimeZone.java | 164 int[] offsets = new int[2]; local 165 getHistoricalOffset(time, true, LOCAL_DST, LOCAL_STD, offsets); 166 return offsets[0] + offsets[1]; 269 public void getOffset(long date, boolean local, int[] offsets) { 271 finalZone.getOffset(date, local, offsets); 274 LOCAL_FORMER, LOCAL_LATTER, offsets); 283 int nonExistingTimeOpt, int duplicatedTimeOpt, int[] offsets) { 285 finalZone.getOffsetFromLocal(date, nonExistingTimeOpt, duplicatedTimeOpt, offsets); 287 getHistoricalOffset(date, true, nonExistingTimeOpt, duplicatedTimeOpt, offsets); [all...] |
/external/deqp/modules/gles3/stress/ |
es3sVertexArrayTests.cpp | 280 int offsets[] = {1, 17}; local 283 for (int offsetNdx = 0; offsetNdx < DE_LENGTH_OF_ARRAY(offsets); offsetNdx++) 295 const bool aligned = ((stride % alignment) == 0) && ((offsets[offsetNdx] % alignment) == 0); 296 std::string name = "first" + typeToString(firsts[firstNdx]) + "_offset" + typeToString(offsets[offsetNdx]) + "_stride" + typeToString(stride) + "_quads" + typeToString(counts[countNdx]); 303 offsets[offsetNdx], 383 int offsets[] = {1, 4, 17, 32}; local 386 for (int offsetNdx = 0; offsetNdx < DE_LENGTH_OF_ARRAY(offsets); offsetNdx++) 396 const bool aligned = ((stride % alignment) == 0) && ((offsets[offsetNdx] % alignment) == 0); 397 const std::string name = "offset" + typeToString(offsets[offsetNdx]) + "_stride" + typeToString(strides[strideNdx]) + "_quads" + typeToString(counts[countNdx]); 404 offsets[offsetNdx] [all...] |
/external/icu/icu4c/source/common/ |
ucnv2022.cpp | 28 * 10/31/2000 Ram Implemented offsets logic functions 435 int32_t **offsets, 441 offsets, sourceIndex, pErrorCode); 1678 int32_t* offsets = args->offsets; local 2369 int32_t* offsets = args->offsets; local 2635 int32_t *offsets = args->offsets; local 2930 int32_t* offsets = args->offsets; local [all...] |
listformatter.cpp | 273 int32_t offsets[2]; local 278 offsets, 279 UPRV_LENGTHOF(offsets), 284 if (offsets[0] == -1 || offsets[1] == -1) { 289 offset = offsets[1]; 291 offset += offsets[0];
|
ucnvisci.c | 830 #define WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,targetByteUnit,err){ \ 898 int32_t* offsets = args->offsets; local [all...] |
ucnv_u32.c | 131 int32_t *myOffsets = args->offsets; 209 args->offsets = myOffsets; 235 &args->offsets, -1, 338 &args->offsets, -1, 344 myOffsets = args->offsets; 417 args->offsets = myOffsets; 599 int32_t *myOffsets = args->offsets; 687 args->offsets = myOffsets; 713 &args->offsets, -1, 824 &args->offsets, -1 1052 int32_t *offsets=pArgs->offsets; local [all...] |
ucnv_cnv.h | 83 * then the toUnicode function will be used and the offsets will be set to -1. 93 * The pArgs->offsets pointer need not be moved forward. 302 int32_t **offsets, 309 int32_t **offsets, 317 int32_t **offsets,
|
/hardware/intel/common/libmix/videoencoder/ |
VideoEncoderUtils.cpp | 606 LOG_V("offsets[0] = %d\n", destImage.offsets[0]); 607 LOG_V("offsets[1] = %d\n", destImage.offsets[1]); 621 dstY = pDestBuffer + destImage.offsets[0]; 623 dstUV = pDestBuffer + destImage.offsets[1]; 699 extbuf.offsets[0] = 0; 700 extbuf.offsets[1] = vinfo.lumaStride * vinfo.height; 701 extbuf.offsets[2] = extbuf.offsets[1] [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_coverage_libcdep.cc | 31 // magic defines the size of the following offsets. 32 // The rest of the data is the offsets in the module. 124 InternalMmapVector<uptr>* offsets) const; 764 InternalMmapVector<uptr>* offsets) const { 765 offsets->clear(); 767 offsets->push_back(0); 777 offsets->push_back(BundlePcAndCounter(offset, counter)); 780 CHECK_GE(offsets->size(), kNumWordsForMagic); 781 SortArray(offsets->data(), offsets->size()) [all...] |
/external/pdfium/third_party/freetype/src/cid/ |
cidload.c | 203 /* note that the font offsets are expressed in integer font units */ 414 FT_ULong* offsets = NULL; local 438 /* reallocate offsets array if needed */ 450 if ( FT_RENEW_ARRAY( offsets, max_offsets, new_max ) ) 456 /* read the subrmap's offsets */ 463 offsets[count] = cid_get_offset( &p, (FT_Byte)dict->sd_bytes ); 467 /* offsets must be ordered */ 469 if ( offsets[count - 1] > offsets[count] ) 474 data_len = offsets[num_subrs] - offsets[0] [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
E_B_L_C_.py | 72 # Save the original data because offsets are from the start of the table. 121 # in order to form offsets. This value will hold the size of the data 131 # The issue is maintaining the proper offsets when table information 132 # gets moved around. All offsets and size information must be recalculated 143 # compute the offsets properly. 265 # Skip the first 3 data names because they are byte offsets and counts. 467 # offsets. This is the form where offset[i] is the location and 469 offsets = list(allLocations[0]) + [loc[1] for loc in allLocations[1:]] 473 self.imageDataOffset = min(offsets) 474 offsetArray = [offset - self.imageDataOffset for offset in offsets] [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureGatherTests.cpp | 496 // Whether offsets correspond to the sample offsets used with plain textureGather(). 497 static inline bool isZeroOffsetOffsets (const IVec2 (&offsets)[4]) 501 return std::equal(DE_ARRAY_BEGIN(offsets), 502 DE_ARRAY_END(offsets), 508 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4]) 510 return texture.gatherOffsets(sampler, coord.x(), coord.y(), componentNdx, offsets).cast<ColorScalarType>(); 514 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) 516 return texture.gatherOffsets(sampler, coord.x(), coord.y(), coord.z(), componentNdx, offsets).cast<ColorScalarType>(); 520 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4] 595 IVec2 offsets[4]; local 596 getPixelOffsets(IVec2(px, py), offsets); local 673 IVec2 offsets[4]; local 674 getPixelOffsets(IVec2(px, py), offsets); local 792 IVec2 offsets[4]; \/\/ \\note Unless GATHERTYPE_OFFSETS is used, only offsets[0] is relevant; also, for GATHERTYPE_OFFSET_DYNAMIC, none are relevant. member in struct:deqp::gles31::Functional::__anon17449::GatherArgs [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
ScriptRunModuleWriter.java | 74 Vector offsets = scriptRangeOffsets[script - minScript]; local 81 for (int offset = 0; offset < offsets.size(); offset += 1) { 82 Integer i = (Integer) offsets.elementAt(offset);
|
/bootable/recovery/ |
wear_ui.cpp | 305 std::vector<off_t> offsets; local 306 offsets.push_back(ftello(fp)); 325 if (offsets.size() <= 1) { 328 offsets.pop_back(); 329 fseek(fp, offsets.back(), SEEK_SET); 335 offsets.push_back(ftello(fp));
|
/external/google-breakpad/src/processor/ |
map_serializers-inl.h | 81 // Nodes offsets. 82 uint32_t *offsets = reinterpret_cast<uint32_t*>(dest); local 92 offsets[index] = static_cast<uint32_t>(dest - start_address); 149 // Nodes offsets. 150 uint32_t *offsets = reinterpret_cast<uint32_t*>(dest); local 160 offsets[index] = static_cast<uint32_t>(dest - start_address); 229 uint32_t *offsets = reinterpret_cast<uint32_t*>(dest); local 239 offsets[index] = static_cast<uint32_t>(dest - map_address);
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetASCII.java | 40 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, 101 /* set offsets since the start */ 102 if (offsets != null) { 105 while (--count >= 0) offsets.put(++sourceIndex); 190 protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, 261 /* set offsets since the start */ 262 if (offsets != null) { 265 while (--count >= 0) offsets.put(++sourceIndex);
|
/external/drm_gralloc/ |
gralloc_drm_intel.c | 197 uint32_t *pitches, uint32_t *offsets, uint32_t *handles) 207 memset(offsets, 0, 4 * sizeof(uint32_t)); 221 offsets[2] = offsets[0] + 223 offsets[1] = offsets[2] + 233 offsets[1] = offsets[0] +
|
gralloc_drm_priv.h | 71 /* query component offsets, strides and handles for a format */ 74 uint32_t *pitches, uint32_t *offsets, uint32_t *handles);
|
/external/drm_hwcomposer/ |
platformdrmgeneric.cpp | 104 bo->offsets[0] = 0; 107 bo->gem_handles, bo->pitches, bo->offsets, &bo->fb_id, 0);
|
/external/eigen/unsupported/test/ |
cxx11_tensor_custom_op.cpp | 33 Eigen::DSizes<DenseIndex, 2> offsets(1,1); 35 output.slice(offsets, extents).stride(strides).device(device) = input.constant(0.0f);
|
/external/icu/icu4c/source/common/unicode/ |
ucnv_err.h | 202 int32_t *offsets; /**< Pointer to the buffer that recieves the offsets. *offset = blah ; offset++;. @stable ICU 2.0 */ member in struct:__anon19879 218 int32_t *offsets; /**< Pointer to the buffer that recieves the offsets. *offset = blah ; offset++;. @stable ICU 2.0 */ member in struct:__anon19880
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
OlsonTimeZone.java | 166 int[] offsets = new int[2]; local 167 getHistoricalOffset(time, true, LOCAL_DST, LOCAL_STD, offsets); 168 return offsets[0] + offsets[1]; 271 public void getOffset(long date, boolean local, int[] offsets) { 273 finalZone.getOffset(date, local, offsets); 276 LOCAL_FORMER, LOCAL_LATTER, offsets); 285 int nonExistingTimeOpt, int duplicatedTimeOpt, int[] offsets) { 287 finalZone.getOffsetFromLocal(date, nonExistingTimeOpt, duplicatedTimeOpt, offsets); 289 getHistoricalOffset(date, true, nonExistingTimeOpt, duplicatedTimeOpt, offsets); [all...] |