/external/skia/tests/ |
H A D | 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 [all...] |
/external/skqp/tests/ |
H A D | 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 [all...] |
/external/brotli/c/enc/ |
H A D | block_splitter.h | 26 uint32_t* lengths; member in struct:BlockSplit
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | BytesDictionaryMatcher.java | 46 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument 63 lengths[count] = numChars;
|
H A D | CharsDictionaryMatcher.java | 25 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument 42 lengths[count] = numChars;
|
H A D | 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, argument 34 public int matches(CharacterIterator text, int maxLength, int[] lengths, argument 36 return matches(text, maxLength, lengths, count, limit, null);
|
H A D | 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/ |
H A D | CharsDictionaryMatcher.java | 24 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument 41 lengths[count] = numChars;
|
H A D | 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, argument 33 public int matches(CharacterIterator text, int maxLength, int[] lengths, argument 35 return matches(text, maxLength, lengths, count, limit, null);
|
H A D | BytesDictionaryMatcher.java | 45 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument 62 lengths[count] = numChars;
|
H A D | 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/mesa3d/src/mesa/tnl/ |
H A D | t_vb_normals.c | 53 const GLfloat *lengths; local 58 /* We can only use the display list's saved normal lengths if we've 62 lengths = NULL; 64 lengths = VB->NormalLengthPtr; 69 lengths,
|
/external/python/cpython3/Lib/test/ |
H A D | test_bufio.py | 11 lengths = list(range(1, 257)) + [512, 1000, 1024, 2048, 4096, 8192, 10000, variable 43 for length in lengths:
|
/external/python/cpython2/Lib/test/ |
H A D | test_bufio.py | 11 lengths = list(range(1, 257)) + [512, 1000, 1024, 2048, 4096, 8192, 10000, variable 43 for length in lengths:
|
/external/toybox/toys/posix/ |
H A D | wc.c | 34 static void show_lengths(unsigned long *lengths, char *name) argument 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, nam [all...] |
/external/zopfli/src/zopfli/ |
H A D | tree.c | 30 void ZopfliLengthsToSymbols(const unsigned* lengths, size_t n, unsigned maxbits, argument 47 assert(lengths[i] <= maxbits); 48 bl_count[lengths[i]]++; 60 unsigned len = lengths[i];
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
H A D | UnicodeSetCloseOver.java | 135 * @param lengths Accumulate a list of unique length structures, 139 * Typical contents of 'lengths': { "111", "1111", "112", 145 Vector lengths) { 157 // Note that pairs are included in 'lengths' 165 // Make a string of the lengths, e.g., "111" means 3 177 if (!lengths.contains(buf.toString())) { 178 lengths.add(buf.toString()); 196 Vector lengths = new Vector(); // "111", "12", "22", etc. 198 analyzeCaseData(equivClasses, pairs, nonpairs, lengths); 142 analyzeCaseData(Map equivClasses, StringBuffer pairs, Vector nonpairs, Vector lengths) argument
|
/external/mesa3d/src/mesa/math/ |
H A D | 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, 43 transform_normalize_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument 110 transform_normalize_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument 175 transform_rescale_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument 204 transform_rescale_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument 236 transform_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument 266 transform_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument 296 normalize_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument 342 rescale_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument [all...] |
/external/skia/src/gpu/ |
H A D | GrSKSLPrettyPrint.cpp | 16 SkSL::String prettify(const char** strings, int* lengths, int count, bool countlines) { argument 34 fLength = lengths[i]; 196 SkSL::String PrettyPrint(const char** strings, int* lengths, int count, bool countlines) { argument 198 return pp.prettify(strings, lengths, count, countlines);
|
/external/skia/src/gpu/gl/builders/ |
H A D | GrGLShaderStringBuilder.cpp | 36 static void print_sksl_line_by_line(const char** skslStrings, int* lengths, int count, argument 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, coun 63 GrSkSLtoGLSL(const GrGLContext& context, GrGLenum type, const char** skslStrings, int* lengths, int count, const SkSL::Program::Settings& settings, SkSL::String* glsl) argument 178 GrGLPrintShader(const GrGLContext& context, GrGLenum type, const char** skslStrings, int* lengths, int count, const SkSL::Program::Settings& settings) argument [all...] |
/external/skqp/src/gpu/ |
H A D | GrSKSLPrettyPrint.cpp | 16 SkSL::String prettify(const char** strings, int* lengths, int count, bool countlines) { argument 34 fLength = lengths[i]; 196 SkSL::String PrettyPrint(const char** strings, int* lengths, int count, bool countlines) { argument 198 return pp.prettify(strings, lengths, count, countlines);
|
/external/skqp/src/gpu/gl/builders/ |
H A D | GrGLShaderStringBuilder.cpp | 36 static void print_sksl_line_by_line(const char** skslStrings, int* lengths, int count, argument 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, coun 63 GrSkSLtoGLSL(const GrGLContext& context, GrGLenum type, const char** skslStrings, int* lengths, int count, const SkSL::Program::Settings& settings, SkSL::String* glsl) argument 174 GrGLPrintShader(const GrGLContext& context, GrGLenum type, const char** skslStrings, int* lengths, int count, const SkSL::Program::Settings& settings) argument [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationFractionalSpacingTests.cpp | 87 inline std::vector<float> lengths (const std::vector<Segment>& segments) { return members(segments, &Segment::length); } function in namespace:vkt::tessellation::__anon4606 162 failNote += "\nNote: segment lengths are, from left to right:\n " + containerStr(lengths(segments)); 235 // We have 2 segmentsA and 2 segmentsB, ensure segmentsB has the shorter lengths 316 continue; // Unknown segment lengths, skip. 337 << ", but resulted in segment lengths " << prevData.additionalSegmentLength << " and " << curData.additionalSegmentLength << tcu::TestLog::EndMessage;
|
/external/freetype/src/bdf/ |
H A D | bdfdrivr.c | 208 size_t nn, len, lengths[4]; local 248 lengths[nn] = 0; 251 lengths[nn] = ft_strlen( strings[nn] ); 252 len += lengths[nn] + 1; 259 lengths[0] = ft_strlen( strings[0] ); 260 len = lengths[0] + 1; 277 len = lengths[nn];
|
/external/icu/icu4c/source/common/ |
H A D | dictionarydata.cpp | 46 int32_t *lengths, int32_t *cpLengths, int32_t *values, 63 if (lengths != NULL) { 64 lengths[wordCount] = lengthMatched; 114 int32_t *lengths, int32_t *cpLengths, int32_t *values, 130 if (lengths != NULL) { 131 lengths[wordCount] = lengthMatched; 45 matches(UText *text, int32_t maxLength, int32_t limit, int32_t *lengths, int32_t *cpLengths, int32_t *values, int32_t *prefix) const argument 113 matches(UText *text, int32_t maxLength, int32_t limit, int32_t *lengths, int32_t *cpLengths, int32_t *values, int32_t *prefix) const argument
|