/external/icu/android_icu4j/src/main/java/android/icu/text/ |
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 | 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 | 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/ |
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/skia/src/gpu/ |
H A D | GrSKSLPrettyPrint.h | 13 SkSL::String PrettyPrint(const char** strings, int* lengths, int count, bool countlines);
|
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/ |
H A D | GrSKSLPrettyPrint.h | 13 SkSL::String PrettyPrint(const char** strings, int* lengths, int count, bool countlines);
|
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/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/skia/src/gpu/gl/builders/ |
H A D | GrGLShaderStringBuilder.h | 18 const char** skslStrings, int* lengths, int count, 30 void GrGLPrintShader(const GrGLContext&, GrGLenum type, const char** skslStrings, int* lengths,
|
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/gl/builders/ |
H A D | GrGLShaderStringBuilder.h | 18 const char** skslStrings, int* lengths, int count, 30 void GrGLPrintShader(const GrGLContext&, GrGLenum type, const char** skslStrings, int* lengths,
|
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/zopfli/src/zopfli/ |
H A D | 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
|
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/zlib/src/contrib/puff/ |
H A D | 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 ( 546 short lengths[FIXLCODES]; local 670 short lengths[MAXCODES]; /* descriptor code lengths */ local [all...] |
/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/tensorflow/tensorflow/contrib/rnn/python/ops/ |
H A D | fused_rnn_cell.py | 149 def _reverse(self, t, lengths): 156 lengths: 1D tensor of lengths, or `None` 164 if lengths is None: 167 return array_ops.reverse_sequence(t, lengths, 0, 1)
|
/external/brotli/c/enc/ |
H A D | block_splitter.h | 26 uint32_t* lengths; member in struct:BlockSplit
|
/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/syslinux/gpxe/src/include/gpxe/ |
H A D | iscsi.h | 24 * iSCSI segment lengths 57 /** Set additional header and data segment lengths */ 74 /** Segment lengths */ 75 union iscsi_segment_lengths lengths; member in struct:iscsi_bhs_common 104 /** Segment lengths */ 105 union iscsi_segment_lengths lengths; member in struct:iscsi_bhs_common_response 133 /** Segment lengths */ 134 union iscsi_segment_lengths lengths; member in struct:iscsi_bhs_login_request 199 /** Segment lengths */ 200 union iscsi_segment_lengths lengths; member in struct:iscsi_bhs_login_response 250 union iscsi_segment_lengths lengths; member in struct:iscsi_bhs_scsi_command 295 union iscsi_segment_lengths lengths; member in struct:iscsi_bhs_scsi_response 345 union iscsi_segment_lengths lengths; member in struct:iscsi_bhs_data_in 393 union iscsi_segment_lengths lengths; member in struct:iscsi_bhs_data_out 429 union iscsi_segment_lengths lengths; member in struct:iscsi_bhs_r2t [all...] |
/external/tensorflow/tensorflow/compiler/tests/ |
H A D | reverse_sequence_op_test.py | 40 lengths = array_ops.placeholder(dtypes.as_dtype(seq_lengths.dtype)) 43 p, batch_axis=batch_axis, seq_axis=seq_axis, seq_lengths=lengths) 45 tf_ans = ans.eval(feed_dict={p: x, lengths: seq_lengths}) 49 ans.eval(feed_dict={p: x, lengths: seq_lengths})
|
/external/libvncserver/webclients/novnc/include/ |
H A D | jsunzip.js | 302 /* given an array of code lengths, build a tree */ 303 this.build_tree = function(t, lengths, loffset, num) 311 /* scan symbol lengths, and sum code length counts */ 312 for (i = 0; i < num; ++i) t.table[lengths[loffset + i]]++; 326 if (lengths[loffset + i]) t.trans[offs[lengths[loffset + i]]++] = i; 408 var lengths = new Array(288+32); 421 for (i = 0; i < 19; ++i) lengths[i] = 0; 423 /* read code lengths for code length alphabet */ 429 lengths[thi [all...] |