/third_party/skia/third_party/externals/brotli/research/ |
H A D | draw_histogram.cc | 81 int max_pos = FLAGS_size - skip; in BuildHistogram() local 94 if (pos >= max_pos) break; in BuildHistogram() 99 y = 1ul * pos * width / max_pos; in BuildHistogram() 101 printf("pos = %d, max_pos = %d, y = %d\n", pos, max_pos, y); in BuildHistogram() 106 int right = 1ul * (pos + copy - 1) * width / max_pos; in BuildHistogram() 115 int pos2 = static_cast<int>(ceil(1.0 * (y + 1) * max_pos / width)); in BuildHistogram() 118 histo[x][i] += max_pos / width; // Sometimes 1 more, but who cares. in BuildHistogram() 122 pos2 = static_cast<int>(ceil(1.0 * right * max_pos / width)); in BuildHistogram()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | filters_sse2.c | 38 const int max_pos = length & ~31; in PredictLineTop_SSE2() local 40 for (i = 0; i < max_pos; i += 32) { in PredictLineTop_SSE2() 56 const int max_pos = length & ~31; in PredictLineLeft_SSE2() local 58 for (i = 0; i < max_pos; i += 32) { in PredictLineLeft_SSE2() 148 const int max_pos = length & ~7; in GradientPredictDirect_SSE2() local 151 for (i = 0; i < max_pos; i += 8) { in GradientPredictDirect_SSE2() 251 const int max_pos = width & ~31; in VerticalUnfilter_SSE2() local 253 for (i = 0; i < max_pos; i += 32) { in VerticalUnfilter_SSE2() 272 const int max_pos = length & ~7; in GradientPredictInverse_SSE2() local 275 for (i = 0; i < max_pos; in GradientPredictInverse_SSE2() [all...] |
/third_party/skia/third_party/externals/freetype/src/autofit/ |
H A D | aflatin.c | 1594 FT_Pos max_pos = -32000; in FT_LOCAL_DEF() local 1607 FT_Pos prev_max_pos = max_pos; in FT_LOCAL_DEF() 1649 if ( u > max_pos ) in FT_LOCAL_DEF() 1650 max_pos = u; in FT_LOCAL_DEF() 1687 segment->pos = (FT_Short)( ( min_pos + max_pos ) >> 1 ); in FT_LOCAL_DEF() 1688 segment->delta = (FT_Short)( ( max_pos - min_pos ) >> 1 ); in FT_LOCAL_DEF() 1703 prev_max_pos = max_pos; in FT_LOCAL_DEF() 1728 if ( prev_max_pos > max_pos ) in FT_LOCAL_DEF() 1729 max_pos = prev_max_pos; in FT_LOCAL_DEF() 1749 max_pos ) >> in FT_LOCAL_DEF() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | flvdec.c | 451 static int parse_keyframes_index(AVFormatContext *s, AVIOContext *ioc, int64_t max_pos) in parse_keyframes_index() argument 471 while (avio_tell(ioc) < max_pos - 2 && in parse_keyframes_index() 501 for (i = 0; i < arraylen && avio_tell(ioc) < max_pos - 1; i++) { in parse_keyframes_index() 522 if (timeslen == fileposlen && fileposlen>1 && max_pos <= filepositions[0]) { in parse_keyframes_index() 547 int64_t max_pos, int depth) in amf_parse_object() 583 if (parse_keyframes_index(s, ioc, max_pos) < 0) in amf_parse_object() 587 while (avio_tell(ioc) < max_pos - 2 && in amf_parse_object() 589 if (amf_parse_object(s, astream, vstream, str_val, max_pos, in amf_parse_object() 605 while (avio_tell(ioc) < max_pos - 2 && in amf_parse_object() 609 if (amf_parse_object(s, astream, vstream, str_val, max_pos, in amf_parse_object() 545 amf_parse_object(AVFormatContext *s, AVStream *astream, AVStream *vstream, const char *key, int64_t max_pos, int depth) amf_parse_object() argument [all...] |
/third_party/musl/porting/liteos_m/kernel/src/regex/ |
H A D | regcomp.c | 1689 tre_ast_node_t **copy, int *max_pos) in tre_copy_ast() 1753 if (pos > *max_pos) in tre_copy_ast() 1754 *max_pos = pos; in tre_copy_ast() 1842 int max_pos = 0; in tre_expand_ast() local 1868 if (lit->position > max_pos) in tre_expand_ast() 1869 max_pos = lit->position; in tre_expand_ast() 1935 &max_pos); in tre_expand_ast() 1951 &pos_add, NULL, &seq2, &max_pos); in tre_expand_ast() 1965 &pos_add, NULL, ©, &max_pos); in tre_expand_ast() 2009 /* `max_pos' shoul in tre_expand_ast() 1687 tre_copy_ast(tre_mem_t mem, tre_stack_t *stack, tre_ast_node_t *ast, int flags, int *pos_add, tre_tag_direction_t *tag_directions, tre_ast_node_t **copy, int *max_pos) tre_copy_ast() argument [all...] |
/third_party/musl/porting/liteos_m_iccarm/kernel/src/regex/ |
H A D | regcomp.c | 1690 tre_ast_node_t **copy, int *max_pos) in tre_copy_ast() 1754 if (pos > *max_pos) in tre_copy_ast() 1755 *max_pos = pos; in tre_copy_ast() 1843 int max_pos = 0; in tre_expand_ast() local 1869 if (lit->position > max_pos) in tre_expand_ast() 1870 max_pos = lit->position; in tre_expand_ast() 1936 &max_pos); in tre_expand_ast() 1952 &pos_add, NULL, &seq2, &max_pos); in tre_expand_ast() 1966 &pos_add, NULL, ©, &max_pos); in tre_expand_ast() 2010 /* `max_pos' shoul in tre_expand_ast() 1688 tre_copy_ast(tre_mem_t mem, tre_stack_t *stack, tre_ast_node_t *ast, int flags, int *pos_add, tre_tag_direction_t *tag_directions, tre_ast_node_t **copy, int *max_pos) tre_copy_ast() argument [all...] |
/third_party/musl/porting/uniproton/kernel/src/regex/ |
H A D | regcomp.c | 1689 tre_ast_node_t **copy, int *max_pos) in tre_copy_ast() 1753 if (pos > *max_pos) in tre_copy_ast() 1754 *max_pos = pos; in tre_copy_ast() 1842 int max_pos = 0; in tre_expand_ast() local 1868 if (lit->position > max_pos) in tre_expand_ast() 1869 max_pos = lit->position; in tre_expand_ast() 1935 &max_pos); in tre_expand_ast() 1951 &pos_add, NULL, &seq2, &max_pos); in tre_expand_ast() 1965 &pos_add, NULL, ©, &max_pos); in tre_expand_ast() 2009 /* `max_pos' shoul in tre_expand_ast() 1687 tre_copy_ast(tre_mem_t mem, tre_stack_t *stack, tre_ast_node_t *ast, int flags, int *pos_add, tre_tag_direction_t *tag_directions, tre_ast_node_t **copy, int *max_pos) tre_copy_ast() argument [all...] |
/third_party/musl/src/regex/ |
H A D | regcomp.c | 1689 tre_ast_node_t **copy, int *max_pos) in tre_copy_ast() 1753 if (pos > *max_pos) in tre_copy_ast() 1754 *max_pos = pos; in tre_copy_ast() 1842 int max_pos = 0; in tre_expand_ast() local 1868 if (lit->position > max_pos) in tre_expand_ast() 1869 max_pos = lit->position; in tre_expand_ast() 1935 &max_pos); in tre_expand_ast() 1951 &pos_add, NULL, &seq2, &max_pos); in tre_expand_ast() 1965 &pos_add, NULL, ©, &max_pos); in tre_expand_ast() 2009 /* `max_pos' shoul in tre_expand_ast() 1687 tre_copy_ast(tre_mem_t mem, tre_stack_t *stack, tre_ast_node_t *ast, int flags, int *pos_add, tre_tag_direction_t *tag_directions, tre_ast_node_t **copy, int *max_pos) tre_copy_ast() argument [all...] |
/third_party/python/Tools/clinic/ |
H A D | clinic.py | 661 pos_only = min_pos = max_pos = min_kw_only = pseudo_args = 0 666 min_kw_only = i - max_pos 674 max_pos = i 889 left_args = "{} - {}".format(nargs, max_pos) 890 max_args = NO_VARARG if (vararg != NO_VARARG) else max_pos 918 max_pos 925 max_pos 968 max_pos, 975 max_pos, 979 nargs = f"Py_MIN(nargs, {max_pos})" i [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | g723_1dec.c | 98 static const int32_t max_pos[4] = {593775, 142506, 593775, 142506}; variable 290 if (subfrm->pulse_pos >= max_pos[index]) in gen_fcb_excitation()
|