HomeSort by relevance Sort by last modified time
    Searched refs:lengths (Results 1 - 25 of 363) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/skia/src/gpu/
GrSKSLPrettyPrint.h 13 SkSL::String PrettyPrint(const char** strings, int* lengths, int count, bool countlines);
  /external/skqp/src/gpu/
GrSKSLPrettyPrint.h 13 SkSL::String PrettyPrint(const char** strings, int* lengths, int count, bool countlines);
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DictionaryMatcher.java 25 * @param lengths An array that is filled with the lengths of words that matched.
26 * @param count Filled with the number of elements output in lengths.
27 * @param limit The maximum amount of words to output. Must be less than or equal to lengths.length.
31 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths,
34 public int matches(CharacterIterator text, int maxLength, int[] lengths,
36 return matches(text, maxLength, lengths, count, limit, null);
DictionaryBreakEngine.java 26 //list of word candidate lengths, in increasing length order
27 private int lengths[]; field in class:DictionaryBreakEngine.PossibleWord
36 lengths = new int[POSSIBLE_WORD_LIST_MAX];
46 prefix = dict.matches(fIter, rangeEnd - start, lengths, count, lengths.length);
53 fIter.setIndex(start + lengths[count[0]-1]);
62 fIter.setIndex(offset + lengths[mark]);
63 return lengths[mark];
70 fIter.setIndex(offset + lengths[--current]);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DictionaryMatcher.java 24 * @param lengths An array that is filled with the lengths of words that matched.
25 * @param count Filled with the number of elements output in lengths.
26 * @param limit The maximum amount of words to output. Must be less than or equal to lengths.length.
30 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths,
33 public int matches(CharacterIterator text, int maxLength, int[] lengths,
35 return matches(text, maxLength, lengths, count, limit, null);
DictionaryBreakEngine.java 25 //list of word candidate lengths, in increasing length order
26 private int lengths[]; field in class:DictionaryBreakEngine.PossibleWord
35 lengths = new int[POSSIBLE_WORD_LIST_MAX];
45 prefix = dict.matches(fIter, rangeEnd - start, lengths, count, lengths.length);
52 fIter.setIndex(start + lengths[count[0]-1]);
61 fIter.setIndex(offset + lengths[mark]);
62 return lengths[mark];
69 fIter.setIndex(offset + lengths[--current]);
  /external/skia/tests/
GrSKSLPrettyPrintTest.cpp 92 SkTArray<int> lengths; local
94 lengths.push_back((int)input1.size());
96 lengths.push_back((int)input2.size());
98 lengths.push_back((int)input3.size());
100 lengths.push_back((int)input4.size());
102 lengths.push_back((int)input5.size());
104 lengths.push_back((int)input6.size());
106 SkSL::String test = GrSKSLPrettyPrint::PrettyPrint(testStr.begin(), lengths.begin(),
111 lengths.reset();
113 lengths.push_back((int)neg1.size())
    [all...]
  /external/skqp/tests/
GrSKSLPrettyPrintTest.cpp 92 SkTArray<int> lengths; local
94 lengths.push_back((int)input1.size());
96 lengths.push_back((int)input2.size());
98 lengths.push_back((int)input3.size());
100 lengths.push_back((int)input4.size());
102 lengths.push_back((int)input5.size());
104 lengths.push_back((int)input6.size());
106 SkSL::String test = GrSKSLPrettyPrint::PrettyPrint(testStr.begin(), lengths.begin(),
111 lengths.reset();
113 lengths.push_back((int)neg1.size())
    [all...]
  /external/toybox/toys/posix/
wc.c 34 static void show_lengths(unsigned long *lengths, char *name)
41 printf(" %*ld"+first, space, lengths[i]);
44 TT.totals[i] += lengths[i];
53 unsigned long word = 0, lengths[] = {0,0,0,0}; local
61 lengths[2] = st.st_size;
74 if (toybuf[pos]=='\n') lengths[0]++;
75 lengths[2]++;
86 lengths[3]++;
93 if (!word) lengths[1]++;
103 show_lengths(lengths, name)
    [all...]
  /external/skia/src/gpu/gl/builders/
GrGLShaderStringBuilder.h 18 const char** skslStrings, int* lengths, int count,
30 void GrGLPrintShader(const GrGLContext&, GrGLenum type, const char** skslStrings, int* lengths,
GrGLShaderStringBuilder.cpp 36 static void print_sksl_line_by_line(const char** skslStrings, int* lengths, int count,
40 SkSL::String sksl = GrSKSLPrettyPrint::PrettyPrint(skslStrings, lengths, count, false);
64 const char** skslStrings, int* lengths, int count,
72 print_sksl_line_by_line(skslStrings, lengths, count, [&](const char* ln) {
83 sksl = GrSKSLPrettyPrint::PrettyPrint(skslStrings, lengths, count, false);
86 sksl.append(skslStrings[i], lengths[i]);
101 print_sksl_line_by_line(skslStrings, lengths, count);
108 print_sksl_line_by_line(skslStrings, lengths, count);
179 int* lengths, int count, const SkSL::Program::Settings& settings) {
180 print_sksl_line_by_line(skslStrings, lengths, count)
    [all...]
  /external/skqp/src/gpu/gl/builders/
GrGLShaderStringBuilder.h 18 const char** skslStrings, int* lengths, int count,
30 void GrGLPrintShader(const GrGLContext&, GrGLenum type, const char** skslStrings, int* lengths,
GrGLShaderStringBuilder.cpp 36 static void print_sksl_line_by_line(const char** skslStrings, int* lengths, int count,
40 SkSL::String sksl = GrSKSLPrettyPrint::PrettyPrint(skslStrings, lengths, count, false);
64 const char** skslStrings, int* lengths, int count,
72 print_sksl_line_by_line(skslStrings, lengths, count, [&](const char* ln) {
83 sksl = GrSKSLPrettyPrint::PrettyPrint(skslStrings, lengths, count, false);
86 sksl.append(skslStrings[i], lengths[i]);
101 print_sksl_line_by_line(skslStrings, lengths, count);
108 print_sksl_line_by_line(skslStrings, lengths, count);
175 int* lengths, int count, const SkSL::Program::Settings& settings) {
176 print_sksl_line_by_line(skslStrings, lengths, count)
    [all...]
  /external/zopfli/src/zopfli/
tree.h 39 void ZopfliLengthsToSymbols(const unsigned* lengths, size_t n, unsigned maxbits,
45 actual theoritical bit lengths according to the entropy. Since the resulting
tree.c 30 void ZopfliLengthsToSymbols(const unsigned* lengths, size_t n, unsigned maxbits,
47 assert(lengths[i] <= maxbits);
48 bl_count[lengths[i]]++;
60 unsigned len = lengths[i];
  /external/zlib/src/contrib/puff/
puff.c 52 * 1.3 20 Mar 2002 - Go back to lengths for puff() parameters [Gailly]
94 #define MAXCODES (MAXLCODES+MAXDCODES) /* maximum codes lengths to read */
213 * a negative value if there is an error. If all of the lengths are zero, i.e.
220 * a simple integer ordering of codes of the same lengths. Hence below the
309 * Given the list of code lengths length[0..n-1] representing a canonical
320 * codes past the end of the incomplete lengths.
351 (h->count[length[symbol]])++; /* assumes lengths are within bounds */
355 /* check for an over-subscribed or incomplete set of lengths */
393 * - Literals, lengths, and the end-of-block code are combined into a single
397 * - There are 256 possible lengths (3..258), and so 29 symbols are not enoug
546 short lengths[FIXLCODES]; local
670 short lengths[MAXCODES]; \/* descriptor code lengths *\/ local
    [all...]
  /toolchain/binutils/binutils-2.27/zlib/contrib/puff/
puff.c 52 * 1.3 20 Mar 2002 - Go back to lengths for puff() parameters [Gailly]
94 #define MAXCODES (MAXLCODES+MAXDCODES) /* maximum codes lengths to read */
213 * a negative value if there is an error. If all of the lengths are zero, i.e.
220 * a simple integer ordering of codes of the same lengths. Hence below the
309 * Given the list of code lengths length[0..n-1] representing a canonical
320 * codes past the end of the incomplete lengths.
351 (h->count[length[symbol]])++; /* assumes lengths are within bounds */
355 /* check for an over-subscribed or incomplete set of lengths */
393 * - Literals, lengths, and the end-of-block code are combined into a single
397 * - There are 256 possible lengths (3..258), and so 29 symbols are not enoug
546 short lengths[FIXLCODES]; local
670 short lengths[MAXCODES]; \/* descriptor code lengths *\/ local
    [all...]
  /frameworks/native/opengl/tools/glgen/stubs/gles11/
glGetDebugMessageLog.java 1 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
14 int[] lengths,
19 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
27 java.nio.IntBuffer lengths,
30 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
43 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
glGetDebugMessageLogKHR.java 1 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
14 int[] lengths,
19 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
27 java.nio.IntBuffer lengths,
30 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
43 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/
Scan.h 57 lengths(L), currentSource(0), currentChar(0), stringBias(b), finale(f), singleLogical(single), endOfFileReached(false)
111 while(charToRead >= lengths[sourceToRead]) {
151 } while (currentSource > 0 && lengths[currentSource] == 0);
152 if (lengths[currentSource] == 0) {
156 currentChar = lengths[currentSource] - 1;
231 if (currentChar >= lengths[currentSource]) {
238 while (currentSource < numSources && lengths[currentSource] == 0) {
252 const size_t *lengths; // length of each string member in class:glslang::TInputScanner
  /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
43 * @param lengths the array of lengths 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) {
56 mLengths = Arrays.copyOf(lengths, infoSize);
  /external/mesa3d/src/mesa/math/
m_norm_tmp.h 38 * lengths - length of each incoming normal (may be NULL) (a display list
46 const GLfloat *lengths,
59 if (!lengths) {
98 GLfloat len = lengths[i];
113 const GLfloat *lengths,
126 if (!lengths) {
163 GLfloat len = lengths[i];
178 const GLfloat *lengths,
191 (void) lengths;
207 const GLfloat *lengths,
    [all...]
  /external/icu/icu4c/source/common/
dictionarydata.h 80 * @param lengths output array, filled with the lengths of the matches, in order,
81 * from shortest to longest. Lengths are in native indexing units
83 * @param cpLengths output array, filled with the lengths of the matches, in order,
84 * from shortest to longest. Lengths are the number of Unicode code points.
94 int32_t *lengths, int32_t *cpLengths, int32_t *values,
109 int32_t *lengths, int32_t *cpLengths, int32_t *values,
127 int32_t *lengths, int32_t *cpLengths, int32_t *values,
  /development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/
SampleSpellCheckerService.java 103 final int[] lengths; local
119 lengths = new int[] { 4, 4, 4 };
131 lengths = new int[] { ti.getText().length() };
134 new SentenceSuggestionsInfo(sis, lengths, offsets);
  /external/brotli/c/enc/
block_splitter.h 26 uint32_t* lengths; member in struct:BlockSplit

Completed in 287 milliseconds

1 2 3 4 5 6 7 8 91011>>