HomeSort by relevance Sort by last modified time
    Searched refs:offsets (Results 76 - 100 of 950) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
CharsetDecoderICU.java 59 CharBuffer target, IntBuffer offsets, char[] buffer, int length, CoderResult cr) {
61 return onUnmappableCharacter.call(decoder, context, source, target, offsets, buffer,
64 return onMalformedInput.call(decoder, context, source, target, offsets, buffer,
67 // return CharsetCallback.TO_U_CALLBACK_STOP.call(decoder, context, source, target, offsets, buffer, length, cr);
262 abstract CoderResult decodeLoop(ByteBuffer in, CharBuffer out, IntBuffer offsets, boolean flush);
268 * @param offsets
274 final CoderResult decode(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) {
284 * rather than comparing pointers, and because offsets are int32_t values.
321 if (offsets != null) {
322 offsets.put(-1); /* no source index available for old output *
    [all...]
CharsetCallback.java 140 ByteBuffer source, CharBuffer target, IntBuffer offsets,
156 CharBuffer source, ByteBuffer target, IntBuffer offsets,
165 CharBuffer source, ByteBuffer target, IntBuffer offsets,
185 ByteBuffer source, CharBuffer target, IntBuffer offsets,
205 CharBuffer source, ByteBuffer target, IntBuffer offsets,
210 return encoder.cbFromUWriteSub(encoder, source, target, offsets);
215 return encoder.cbFromUWriteSub(encoder, source, target, offsets);
229 ByteBuffer source, CharBuffer target, IntBuffer offsets,
242 return CharsetDecoderICU.toUWriteUChars(decoder, useReplacement ? replacementChar : kSubstituteChar1, 0, useReplacement ? replacementChar.length : 1, target, offsets, source.position());
244 return CharsetDecoderICU.toUWriteUChars(decoder, useReplacement ? replacementChar : kSubstituteChar, 0, useReplacement ? replacementChar.length : 1, target, offsets, source.position())
    [all...]
CharsetUTF16.java 94 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) {
96 * If we detect a BOM in this buffer, then we must add the BOM size to the offsets because the actual
155 CoderResult cr = decodeTrail(source, target, offsets, (char) toUnicodeStatus);
187 CoderResult cr = decodeTrail(source, target, offsets, char16);
194 private final CoderResult decodeTrail(ByteBuffer source, CharBuffer target, IntBuffer offsets, char lead) {
252 protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, boolean flush) {
261 cr = fromUWriteBytes(this, bom, 0, bom.length, target, offsets, -1);
271 cr = encodeChar(source, target, offsets, (char) fromUChar32);
282 cr = encodeChar(source, target, offsets, source.get());
288 private final CoderResult encodeChar(CharBuffer source, ByteBuffer target, IntBuffer offsets, char ch)
    [all...]
  /external/google-breakpad/src/processor/
fast_source_line_resolver.cc 160 // offsets[]: an array of offset addresses (with respect to mem_buffer),
164 unsigned int offsets[kNumberMaps_]; local
165 offsets[0] = header_size;
167 offsets[i] = offsets[i - 1] + map_sizes[i - 1];
172 files_ = StaticMap<int, char>(mem_buffer + offsets[map_id++]);
174 StaticRangeMap<MemAddr, Function>(mem_buffer + offsets[map_id++]);
176 StaticAddressMap<MemAddr, PublicSymbol>(mem_buffer + offsets[map_id++]);
179 StaticContainedRangeMap<MemAddr, char>(mem_buffer + offsets[map_id++]);
182 StaticRangeMap<MemAddr, char>(mem_buffer + offsets[map_id++])
    [all...]
  /dalvik/dx/src/com/android/dx/cf/cst/
ConstantPoolParser.java 62 /** {@code non-null;} byte offsets to each cst */
63 private final int[] offsets; field in class:ConstantPoolParser
85 this.offsets = new int[size];
136 "constant_pool_count: " + Hex.u2(offsets.length));
145 BitSet wasUtf8 = new BitSet(offsets.length);
147 for (int i = 1; i < offsets.length; i++) {
148 int offset = offsets[i];
155 for (int i = 1; i < offsets.length; i++) {
160 int offset = offsets[i];
162 for (int j = i + 1; j < offsets.length; j++)
    [all...]
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
AnyTransliterator.java 43 Position offsets, boolean isIncremental) {
46 + ", " + toString(offsets));
48 it.reset(text, offsets);
84 // adjust the offsets in line with the changes
94 it.getExpanse(offsets);
95 if (run.start == run.limit) offsets.start = offsets.limit;
96 else offsets.start = run.start;
98 System.out.println("+ handleTransliterate: " + ", " + toString(offsets));
104 public static String toString(Position offsets) {
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vega/
mask.c 57 VGint *offsets,
65 offsets[0] = 0;
66 offsets[1] = 0;
71 offsets[0] -= tx;
75 offsets[2] = location[2];
77 offsets[2] = MIN2(twidth, MIN2(dwidth - tx, swidth ));
78 location[2] = offsets[2];
82 offsets[1] -= ty;
86 offsets[3] = location[3];
88 offsets[3] = MIN2(theight, MIN2(dheight - ty, sheight))
285 VGint offsets[4], loc[4]; local
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
EdgeDetectionTest.java 54 float[] offsets = new float[18]; field in class:EdgeDetectionTest
98 offsets[idx++] = x / (float)Gdx.graphics.getWidth();
99 offsets[idx++] = y / (float)Gdx.graphics.getHeight();
102 System.out.println(Arrays.toString(offsets));
125 batchShader.setUniform2fv("u_offsets", offsets, 0, offsets.length);
  /external/skia/src/effects/
SkMergeImageFilter.cpp 69 SkAutoTDeleteArray<SkIPoint> offsets(new SkIPoint[inputCount]);
75 offsets[i].setZero();
76 if (!this->filterInputDeprecated(i, proxy, src, ctx, &inputs[i], &offsets[i])) {
82 srcBounds.offset(offsets[i]);
116 canvas.drawBitmap(inputs[i], SkIntToScalar(offsets[i].x() - x0),
117 SkIntToScalar(offsets[i].y() - y0), &paint);
  /dalvik/libdex/
DexDataMap.h 29 u4* offsets; /* array of item offsets */ member in struct:DexDataMap
45 * all previously added offsets.
  /development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/
SampleSpellCheckerService.java 104 final int[] offsets; local
118 offsets = new int[] { 2, 15, 20 };
130 offsets = new int[] { 0 };
134 new SentenceSuggestionsInfo(sis, lengths, offsets);
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_state_so.c 76 int *offsets,
101 lp->so_target.offset[i] = offsets[i];
105 if (offsets[i] >= 0)
106 map_buffers[i] = ((char*)mapped) + offsets[i];
  /external/v8/tools/ignition/
linux_perf_bytecode_annotate.py 27 Also, the tool depends on the symbol offsets from perf samples being accurate.
92 offsets = sorted(offset_counts, reverse=True)
94 return offsets.pop() if offsets else -1
110 if offsets:
111 print ("WARNING: Offsets not empty. Output is most likely invalid due to "
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
UnicodeSetStringSpan.java 80 private OffsetList offsets; field in class:UnicodeSetStringSpan
101 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...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
RuleBasedTimeZone.java 97 int[] offsets = new int[2]; local
98 getOffset(time, true, LOCAL_DST, LOCAL_STD, offsets);
99 return (offsets[0] + offsets[1]);
106 public void getOffset(long time, boolean local, int[] offsets) {
107 getOffset(time, local, LOCAL_FORMER, LOCAL_LATTER, offsets);
118 int nonExistingTimeOpt, int duplicatedTimeOpt, int[] offsets) {
119 getOffset(date, true, nonExistingTimeOpt, duplicatedTimeOpt, offsets);
130 int[] offsets = new int[2]; local
131 getOffset(now, false, offsets);
140 int[] offsets = new int[2]; local
141 getOffset(date.getTime(), false, offsets); local
165 int[] offsets = new int[2]; local
186 int[] offsets = new int[2]; local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
UnicodeSetStringSpan.java 76 private OffsetList offsets; field in class:UnicodeSetStringSpan
97 offsets = new OffsetList();
218 offsets = new OffsetList();
375 * Synchronized method for complicated spans using the offsets.
388 offsets.setMaxLength(initSize);
420 if (!offsets.containsOffset(inc) && matches16CPB(s, pos - overlap, length, string, length16)) {
424 offsets.addOffset(inc);
490 if (offsets.isEmpty()) {
496 if (offsets.isEmpty()) {
523 offsets.shift(spanLength)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
RuleBasedTimeZone.java 102 int[] offsets = new int[2]; local
103 getOffset(time, true, LOCAL_DST, LOCAL_STD, offsets);
104 return (offsets[0] + offsets[1]);
113 public void getOffset(long time, boolean local, int[] offsets) {
114 getOffset(time, local, LOCAL_FORMER, LOCAL_LATTER, offsets);
125 int nonExistingTimeOpt, int duplicatedTimeOpt, int[] offsets) {
126 getOffset(date, true, nonExistingTimeOpt, duplicatedTimeOpt, offsets);
139 int[] offsets = new int[2]; local
140 getOffset(now, false, offsets);
151 int[] offsets = new int[2]; local
152 getOffset(date.getTime(), false, offsets); local
180 int[] offsets = new int[2]; local
202 int[] offsets = new int[2]; local
    [all...]
  /external/selinux/libsepol/src/
module.c 370 /* Get the section offsets from a package file, offsets will be malloc'd to
374 size_t ** offsets, uint32_t * sections)
429 ERR(file->handle, "offsets are not increasing (at %u, "
446 *offsets = off;
468 size_t *offsets, len; local
472 if (module_package_read_offsets(mod, file, &offsets, &nsec))
475 /* we know the section offsets, seek to them and read in the data */
479 if (policy_file_seek(file, offsets[i])) {
481 "module package section %u", offsets[i], i)
654 size_t *offsets = NULL; local
878 uint32_t buf[5], offsets[5], len, nsec = 0; local
    [all...]
  /external/icu/icu4c/source/common/
ucnvscsu.c 69 /* use table of predefined fixed offsets for values from fixedThreshold */
73 /* constant offsets for the 8 static windows */
85 /* initial offsets for the 8 dynamic (sliding) windows */
97 /* Table of fixed predefined Offsets */
120 /* dynamic window offsets, intitialize to default values from initialDynamicOffsets */
237 int32_t *offsets; local
254 offsets=pArgs->offsets;
296 if(offsets!=NULL) {
297 *offsets++=sourceIndex
1016 int32_t *offsets; local
    [all...]
ucnvmbcs.cpp 2028 int32_t *offsets; local
2180 int32_t *offsets; local
2460 int32_t *offsets; local
3401 int32_t *offsets; local
3633 int32_t *offsets; local
3809 int32_t *offsets; local
4066 int32_t *offsets; local
    [all...]
simplepatternformatter.cpp 184 int32_t *offsets, int32_t offsetsLength, UErrorCode &errorCode) const {
188 if (isInvalidArray(values, valuesLength) || isInvalidArray(offsets, offsetsLength) ||
195 offsets, offsetsLength, errorCode);
201 int32_t *offsets, int32_t offsetsLength, UErrorCode &errorCode) const {
205 if (isInvalidArray(values, valuesLength) || isInvalidArray(offsets, offsetsLength)) {
244 offsets, offsetsLength, errorCode);
266 int32_t *offsets, int32_t offsetsLength,
272 offsets[i] = -1;
290 offsets[n] = 0;
294 offsets[n] = result.length()
    [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...]
  /libcore/ojluni/src/main/java/java/util/regex/
Matcher.java 155 * Holds the offsets for the most recent match.
1119 private final int[] offsets; field in class:Matcher.OffsetBasedMatchResult
    [all...]
  /external/deqp/framework/common/
tcuTexCompareVerifier.hpp 59 bool isGatherOffsetsCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result);
60 bool isGatherOffsetsCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result);
  /external/freetype/include/freetype/internal/
ftrfork.h 124 /* offset (offsets[N]), and an error code (errors[N]). */
143 /* offsets :: */
144 /* An array of guessed file offsets. `offsets[N]' holds the file */
151 /* FT_Err_Ok, `new_names[N]' and `offsets[N]' are meaningless. */
158 FT_Long* offsets,
207 /* Get the data offsets for a tag in a resource fork. Offsets are */
235 /* offsets :: */
236 /* The stream offsets for the resource data specified by `tag'. *
    [all...]

Completed in 1803 milliseconds

1 2 34 5 6 7 8 91011>>