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

1 23 4 5 6 7 8 91011>>

  /external/skia/src/svg/parser/
SkSVGGradient.cpp 35 SkString offsets("[");
42 offsets.append("0,");
47 offsets.remove(offsets.size() - 2, 2);
48 offsets.append(".999,");
53 offsets.append(*thisOffset);
56 offsets.append(",1");
60 offsets.appendUnichar(',');
64 offsets.appendUnichar(']');
65 parser._addAttribute("offsets", offsets)
    [all...]
  /frameworks/base/core/java/android/view/textservice/
SentenceSuggestionsInfo.java 30 * you to put multiple {@link SuggestionsInfo}s on a sentence with the offsets and the lengths
42 * @param offsets the array of offsets of suggestions
46 SuggestionsInfo[] suggestionsInfos, int[] offsets, int[] lengths) {
47 if (suggestionsInfos == null || offsets == null || lengths == null) {
50 if (suggestionsInfos.length != offsets.length || offsets.length != lengths.length) {
55 mOffsets = Arrays.copyOf(offsets, infoSize);
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
SimplePatternFormatter.java 240 * @param offsets offsets[i] receives the offset of where
243 * If there is no {i} in the pattern, then offsets[i] is set to -1.
251 StringBuilder appendTo, int[] offsets, CharSequence... values) {
252 return formatAndAppend(compiledPattern, appendTo, offsets, values);
260 * @param offsets offsets[i] receives the offset of where
263 * If there is no {i} in the pattern, then offsets[i] is set to -1.
271 String compiledPattern, StringBuilder appendTo, int[] offsets, CharSequence... values) {
276 return format(compiledPattern, values, appendTo, null, true, offsets);
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
SimplePatternFormatter.java 238 * @param offsets offsets[i] receives the offset of where
241 * If there is no {i} in the pattern, then offsets[i] is set to -1.
249 StringBuilder appendTo, int[] offsets, CharSequence... values) {
250 return formatAndAppend(compiledPattern, appendTo, offsets, values);
258 * @param offsets offsets[i] receives the offset of where
261 * If there is no {i} in the pattern, then offsets[i] is set to -1.
269 String compiledPattern, StringBuilder appendTo, int[] offsets, CharSequence... values) {
274 return format(compiledPattern, values, appendTo, null, true, offsets);
    [all...]
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
CharsetHZ.java 64 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) {
90 if (offsets != null) {
91 offsets.put(source.position() - 2);
192 if (offsets != null) {
193 offsets.put(source.position() - 1 - (isStateDBCS ? 1 : 0));
239 protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, boolean flush) {
266 concatEscape(source, target, offsets, TILDE_ESCAPE);
289 concatEscape(source, target, offsets, SB_ESCAPE);
294 concatEscape(source, target, offsets, DB_ESCAPE);
303 if (offsets != null)
    [all...]
CharsetEncoderICU.java 72 CharBuffer source, ByteBuffer target, IntBuffer offsets,
76 offsets, buffer, length, cp, cr);
79 offsets, buffer, length, cp, cr);
81 // return CharsetCallback.FROM_U_CALLBACK_STOP.call(encoder, context, source, target, offsets, buffer, length, cp, cr);
276 * @param offsets
280 IntBuffer offsets, boolean flush);
286 * @param offsets
292 IntBuffer offsets, boolean flush) {
302 * rather than comparing pointers, and because offsets are int32_t values.
335 if (offsets != null)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_median_filter.c 77 struct vertex2f *offsets,
89 assert(num_offsets & 1); /* we need an odd number of offsets */
90 if (!(num_offsets & 1)) { /* yeah, we REALLY need an odd number of offsets!!! */
122 if (!is_vec_zero(offsets[i])) {
124 i_vtex, ureg_imm2f(shader, offsets[i].x, offsets[i].y));
131 struct ureg_src src = is_vec_zero(offsets[i]) ? i_vtex : ureg_src(t_array[i]);
159 struct vertex2f **offsets, unsigned *num_offsets)
164 assert(offsets && num_offsets);
190 *offsets = MALLOC(sizeof(struct vertex2f) * *num_offsets)
245 struct vertex2f *offsets = NULL; local
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
SampleList.java 18 long[] offsets; field in class:SampleList
27 * Gets a sorted random access optimized list of all sample offsets.
30 * @return the sorted list of sample offsets
33 return offsets;
60 offsets = new long[sizes.length];
67 offsets[sampleIndex] = sampleOffset;
90 if (sizes == null || offsets == null) {
92 offsets = new long[0];
98 // We have now a map from all sample offsets to their sizes
107 long[] nuOffsets = new long[offsets.length + keys.size()]
    [all...]
  /external/mesa3d/src/glx/
vertarr.c 159 int offsets[4]; local
184 offsets[i] = (modes[idx][i].count != 0) ? size : -1;
192 if (offsets[0] >= 0) {
197 if (offsets[1] >= 0) {
201 (const char *) pointer + offsets[1]);
203 if (offsets[2] >= 0) {
206 (const char *) pointer + offsets[2]);
211 (const char *) pointer + offsets[3]);
  /external/protobuf/src/google/protobuf/
dynamic_message.h 135 const int offsets[],
139 const int offsets[],
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
dynamic_message.h 139 const int offsets[],
143 const int offsets[],
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/cris/
rd-v10_32o-2.d 4 # Check that branch offsets are computed as for v32. The
rd-dtpoffd1.s 2 ; module-local) and local symbols with offsets.
  /external/icu/icu4c/source/i18n/
casetrn.h 82 UTransPosition& offsets,
brktrans.cpp 70 void BreakTransliterator::handleTransliterate(Replaceable& text, UTransPosition& offsets,
97 bi->preceding(offsets.start);
103 for(boundary = bi->next(); boundary != UBRK_DONE && boundary < offsets.limit; boundary = bi->next()) {
137 offsets.contextLimit += delta;
138 offsets.limit += delta;
139 offsets.start = isIncremental ? lastBoundary + delta : offsets.limit;
  /external/libdrm/tests/modetest/
buffers.c 132 unsigned int offsets[4], enum util_fill_pattern pattern)
243 offsets[0] = 0;
254 offsets[0] = 0;
258 offsets[1] = pitches[0] * height;
262 planes[1] = virtual + offsets[1];
267 offsets[0] = 0;
271 offsets[1] = pitches[0] * height;
274 offsets[2] = offsets[1] + pitches[1] * height / 2;
278 planes[1] = virtual + offsets[1]
    [all...]
  /libcore/luni/src/main/native/
java_util_regex_Matcher.cpp 86 ScopedIntArrayRW offsets(mEnv, javaOffsets);
87 if (offsets.get() == NULL) {
92 offsets[2*i + 0] = mMatcher->start(i, mStatus);
93 offsets[2*i + 1] = mMatcher->end(i, mStatus);
133 static jint Matcher_findImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jint startIndex, jintArray offsets) {
137 matcher.updateOffsets(offsets);
142 static jint Matcher_findNextImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offsets) {
149 matcher.updateOffsets(offsets);
164 static jint Matcher_lookingAtImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offsets) {
168 matcher.updateOffsets(offsets);
    [all...]
  /external/pdfium/core/src/fpdfapi/fpdf_parser/
fpdf_parser_parser_unittest.cpp 256 const FX_FILESIZE offsets[] = {0, 15, 61, 154, 296, 374, 450}; local
258 for (size_t i = 0; i < FX_ArraySize(offsets); ++i)
259 EXPECT_EQ(offsets[i], parser.m_ObjectInfo[i].pos);
291 const FX_FILESIZE offsets[] = {0, 17, 81, 0, 331, 409}; local
293 for (size_t i = 0; i < FX_ArraySize(offsets); ++i)
294 EXPECT_EQ(offsets[i], parser.m_ObjectInfo[i].pos);
315 const FX_FILESIZE offsets[] = {0, 0, 0, 25325, 0, 0, 0, local
318 for (size_t i = 0; i < FX_ArraySize(offsets); ++i)
319 EXPECT_EQ(offsets[i], parser.m_ObjectInfo[i].pos);
340 const FX_FILESIZE offsets[] = {0, 0, 0, 25325, 0, 0, 0 local
364 const FX_FILESIZE offsets[] = {0, 23, 0, 0, 0, 45, 179}; local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
QuantityFormatter.java 126 int[] offsets = new int[1]; local
127 SimplePatternFormatter.formatAndAppend(compiledPattern, appendTo, offsets, value);
129 if (offsets[0] >= 0) {
130 pos.setBeginIndex(pos.getBeginIndex() + offsets[0]);
131 pos.setEndIndex(pos.getEndIndex() + offsets[0]);
NameUnicodeTransliterator.java 48 Position offsets, boolean isIncremental) {
58 int cursor = offsets.start;
59 int limit = offsets.limit;
163 offsets.contextLimit += limit - offsets.limit;
164 offsets.limit = limit;
167 offsets.start = (isIncremental && openPos >= 0) ? openPos : cursor;
NormalizationTransliterator.java 77 Position offsets, boolean isIncremental) {
79 int start = offsets.start;
80 int limit = offsets.limit;
88 * In incremental mode, a chunk that ends with offsets.limit
126 offsets.start = start;
127 offsets.contextLimit += limit - offsets.limit;
128 offsets.limit = limit;
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
QuantityFormatter.java 125 int[] offsets = new int[1]; local
126 SimplePatternFormatter.formatAndAppend(compiledPattern, appendTo, offsets, value);
128 if (offsets[0] >= 0) {
129 pos.setBeginIndex(pos.getBeginIndex() + offsets[0]);
130 pos.setEndIndex(pos.getEndIndex() + offsets[0]);
  /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/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
NameUnicodeTransliterator.java 47 Position offsets, boolean isIncremental) {
57 int cursor = offsets.start;
58 int limit = offsets.limit;
162 offsets.contextLimit += limit - offsets.limit;
163 offsets.limit = limit;
166 offsets.start = (isIncremental && openPos >= 0) ? openPos : cursor;
NormalizationTransliterator.java 76 Position offsets, boolean isIncremental) {
78 int start = offsets.start;
79 int limit = offsets.limit;
87 * In incremental mode, a chunk that ends with offsets.limit
125 offsets.start = start;
126 offsets.contextLimit += limit - offsets.limit;
127 offsets.limit = limit;

Completed in 766 milliseconds

1 23 4 5 6 7 8 91011>>