/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
UnicodeNameTransliterator.java | 43 Position offsets, boolean isIncremental) { 44 int cursor = offsets.start; 45 int limit = offsets.limit; 69 offsets.contextLimit += limit - offsets.limit; 70 offsets.limit = limit; 71 offsets.start = cursor;
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetUTF7.java | 184 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) { 242 if (offsets!= null) { 243 offsets.put(sourceIndex++); 351 if (offsets != null) { 352 offsets.put(sourceIndex); 370 if (offsets != null) { 371 offsets.put(sourceIndex); 389 if (offsets != null) { 390 offsets.put(sourceIndex); 407 if (offsets != null) [all...] |
CharsetSCSU.java | 59 /* use table of predefined fixed offsets for values from fixedThreshold */ 65 /* constant offsets for the 8 static windows */ 77 /* initial offsets for the 8 dynamic (sliding) windows */ 89 /* Table of fixed predefined Offsets */ 113 /* dynamic window offsets, intitialize to default values from initialDynamicOffsets */ 234 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, 258 labelType = fastSingle(source, target, offsets, ByteMode); 262 labelType = singleByteMode(source, target, offsets, ByteMode); 265 endLoop(source, target, offsets); 272 labelType = fastSingle(source, target, offsets, UnicodeMode) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
YuvImage.java | 139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top); local 142 rectangle.height(), offsets, mStrides, quality, stream, 183 int[] offsets = null; local 185 offsets = new int[] {top * mStrides[0] + left, 188 return offsets; 192 offsets = new int[] {top * mStrides[0] + left / 2 * 4}; 193 return offsets; 196 return offsets; 238 int format, int width, int height, int[] offsets, int[] strides,
|
/external/icu/icu4c/source/common/ |
ucnv_u16.c | 53 int32_t *offsets; local 74 &pArgs->offsets, -1, 86 offsets=pArgs->offsets; 101 if(offsets!=NULL) { 102 *offsets++=-1; 103 *offsets++=-1; 104 *offsets++=-1; 105 *offsets++=-1; 122 if(offsets==NULL) 257 int32_t *offsets; local 649 int32_t *offsets; local 853 int32_t *offsets; local 1322 int32_t *offsets=pArgs->offsets; local [all...] |
ucnv_cnv.c | 50 int32_t **offsets, 57 if(offsets==NULL || (o=*offsets)==NULL) { 63 /* output with offsets */ 69 *offsets=o; 90 int32_t **offsets, 97 if(offsets==NULL || (o=*offsets)==NULL) { 103 /* output with offsets */ 109 *offsets=o [all...] |
/external/opencv3/3rdparty/libtiff/ |
tif_flush.c | 50 uint64 *offsets=NULL, *sizes=NULL; local 54 if( TIFFGetField( tif, TIFFTAG_TILEOFFSETS, &offsets ) 57 tif->tif_dir.td_nstrips, offsets ) 68 if( TIFFGetField( tif, TIFFTAG_STRIPOFFSETS, &offsets ) 71 tif->tif_dir.td_nstrips, offsets )
|
/external/pdfium/third_party/libtiff/ |
tif_flush.c | 50 uint64 *offsets=NULL, *sizes=NULL; local 54 if( TIFFGetField( tif, TIFFTAG_TILEOFFSETS, &offsets ) 57 tif->tif_dir.td_nstrips, offsets ) 68 if( TIFFGetField( tif, TIFFTAG_STRIPOFFSETS, &offsets ) 71 tif->tif_dir.td_nstrips, offsets )
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneOffsetLocalTest.java | 56 // Expected offsets by getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) 74 // Expected offsets by getOffset(long time, boolean local, int[] offsets) with local = true 75 // or getOffsetFromLocal(long time, int nonExistingTimeOpt, int duplicatedTimeOpt, int[] offsets) 93 // Expected offsets by getOffsetFromLocal(long time, int nonExistingTimeOpt, int duplicatedTimeOpt, int[] offsets) 111 int[] offsets = new int[2]; local 175 // Test getOffset(long time, boolean local, int[] offsets) with local=true 178 TESTZONES[i].getOffset(MILLIS[m], true, offsets); 179 if (offsets[0] != OFFSETS2[m][0] || offsets[1] != OFFSETS2[m][1]) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneOffsetLocalTest.java | 52 // Expected offsets by getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) 70 // Expected offsets by getOffset(long time, boolean local, int[] offsets) with local = true 71 // or getOffsetFromLocal(long time, int nonExistingTimeOpt, int duplicatedTimeOpt, int[] offsets) 89 // Expected offsets by getOffsetFromLocal(long time, int nonExistingTimeOpt, int duplicatedTimeOpt, int[] offsets) 107 int[] offsets = new int[2]; local 171 // Test getOffset(long time, boolean local, int[] offsets) with local=true 174 TESTZONES[i].getOffset(MILLIS[m], true, offsets); 175 if (offsets[0] != OFFSETS2[m][0] || offsets[1] != OFFSETS2[m][1]) [all...] |
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
YUVImage.java | 121 * <code>i</code> should be at least <code>offsets[i] + 125 * @param offsets If this <code>YUVImage</code> instance represents a 126 * subregion of a larger image, then <code>offsets[i]</code> specifies the 128 * larger image. Setting this to null is the same as setting the offsets for 148 public YUVImage(byte[][] planes, int[] offsets, int width, int[] strides, 150 setBuf(planes, offsets, width, strides, height, subsamp, false); 185 * <code>i</code> should be at least <code>offsets[i] + 189 * @param offsets If this <code>YUVImage</code> instance represents a 190 * subregion of a larger image, then <code>offsets[i]</code> specifies the 192 * larger image. Setting this to null is the same as setting the offsets fo 292 int[] offsets = new int[nc]; local [all...] |
/external/skia/src/animator/ |
SkDrawGradient.cpp | 19 SK_MEMBER_ARRAY(offsets, Float), 73 if (offsets.count() != 0) { 74 if (offsets.count() != fDrawColors.count()) { 78 if (offsets[0] != 0) { 82 if (offsets[offsets.count()-1] != SK_Scalar1) { 86 for (int i = 1; i < offsets.count(); i++) { 87 if (offsets[i] <= offsets[i-1]) { 91 if (offsets[i] > SK_Scalar1) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
SimplePatternFormatterTest.java | 57 int[] offsets = new int[1]; local 61 fmt.formatAndAppend(new StringBuilder(), offsets).toString()); 63 "offsets[0]", 65 offsets[0]); 147 int[] offsets = new int[6]; local 153 offsets, 157 verifyOffsets(expectedOffsets, offsets); 174 int[] offsets = new int[4]; local 181 offsets, 185 verifyOffsets(expectedOffsets, offsets); 191 int[] offsets = new int[4]; local 207 int[] offsets = new int[4]; local 248 int[] offsets = new int[4]; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
SimplePatternFormatterTest.java | 53 int[] offsets = new int[1]; local 57 fmt.formatAndAppend(new StringBuilder(), offsets).toString()); 59 "offsets[0]", 61 offsets[0]); 143 int[] offsets = new int[6]; local 149 offsets, 153 verifyOffsets(expectedOffsets, offsets); 170 int[] offsets = new int[4]; local 177 offsets, 181 verifyOffsets(expectedOffsets, offsets); 187 int[] offsets = new int[4]; local 203 int[] offsets = new int[4]; local 244 int[] offsets = new int[4]; local [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_gather.c | 46 LLVMValueRef offsets, 56 offset = offsets; 59 offset = LLVMBuildExtractElement(gallivm->builder, offsets, index, ""); 79 LLVMValueRef offsets, 90 ptr = lp_build_gather_elem_ptr(gallivm, length, base_ptr, offsets, i); 109 * @param length length of the offsets 113 * @param offsets vector with offsets 121 LLVMValueRef offsets) 129 base_ptr, offsets, 0) [all...] |
/external/v8/tools/ignition/ |
linux_perf_bytecode_annotate_test.py | 70 offsets = list( 72 self.assertListEqual(offsets, [18, 25, 18, 18])
|
/frameworks/base/libs/androidfw/tests/ |
TypeWrappers_test.cpp | 33 uint32_t offsets[3]; local 34 t.entriesStart = t.header.headerSize + sizeof(offsets); 37 offsets[0] = 0; 48 offsets[1] = ResTable_type::NO_ENTRY; 50 offsets[2] = sizeof(e1) + sizeof(v1); 65 memcpy(p, offsets, sizeof(offsets)); 66 p += sizeof(offsets);
|
/external/icu/icu4c/source/i18n/ |
name2uni.cpp | 108 void NameUnicodeTransliterator::handleTransliterate(Replaceable& text, UTransPosition& offsets, 116 offsets.start = offsets.limit; 124 offsets.start = offsets.limit; 131 int32_t cursor = offsets.start; 132 int32_t limit = offsets.limit; 245 offsets.contextLimit += limit - offsets.limit; 246 offsets.limit = limit [all...] |
nortrans.cpp | 100 void NormalizationTransliterator::handleTransliterate(Replaceable& text, UTransPosition& offsets, 103 int32_t start = offsets.start; 104 int32_t limit = offsets.limit; 112 * In incremental mode, a chunk that ends with offsets.limit 129 offsets.contextLimit += delta; 130 offsets.limit += delta; 131 offsets.start = limit + delta; 169 offsets.start = start; 170 offsets.contextLimit += limit - offsets.limit [all...] |
/external/icu/icu4c/source/test/intltest/ |
simplepatternformattertest.cpp | 75 int32_t offsets[] = { 0 }; local 79 fmt.formatAndAppend(NULL, 0, appendTo, offsets, 1, status)); 80 assertEquals("formatAndAppend offsets[0]", -1, offsets[0]); 161 int32_t offsets[6]; local 171 offsets, 172 UPRV_LENGTHOF(offsets), 177 verifyOffsets(expectedOffsets, offsets, UPRV_LENGTHOF(expectedOffsets)); 180 // Ensure we don't write to offsets array beyond its length. 182 offsets[UPRV_LENGTHOF(offsets) - 1] = 289 344 int offsets[4]; local 374 int offsets[4]; local 404 int offsets[4]; local 434 int offsets[4]; local [all...] |
/device/generic/goldfish/camera/ |
JpegStub.cpp | 40 int offsets[2]; local 41 offsets[0] = 0; 42 offsets[1] = width * height; 48 if (encoder->encode(stream, pY, width, height, offsets, quality)) {
|
/external/drm_hwcomposer/ |
drmhwcgralloc.h | 60 uint32_t offsets[4]; member in struct:hwc_drm_bo
|
/external/skia/src/sfnt/ |
SkOTTable_loca.h | 23 union Offsets { 26 } offsets; member in struct:SkOTTableIndexToLocation
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
BlackLevelPattern.java | 25 * of color channel offsets used for the black level offsets of each color channel. 30 * The number of offsets in this vector. 37 * <p>The given offset array must contain offsets for each color channel in 38 * a 2x2 pattern corresponding to the color filter arrangement. Offsets are 41 * @param offsets an array containing a 2x2 pattern of offsets. 47 public BlackLevelPattern(int[] offsets) { 48 if (offsets == null) { 49 throw new NullPointerException("Null offsets array passed to constructor") [all...] |
/frameworks/base/core/jni/android/graphics/ |
YuvToJpegEncoder.h | 29 * @param offsets The offsets in each image plane with respect to inYuv. 34 int height, int* offsets, int jpegQuality); 45 uint8_t* yuv, int* offsets) = 0; 59 void compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets); 69 void compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets);
|