Searched refs:end_i (Results 1 – 4 of 4) sorted by relevance
/external/v8/src/js/ |
D | string.js | 530 var end_i = s_len; 532 end_i = TO_INTEGER(end); 546 if (end_i < 0) { 547 end_i += s_len; 548 if (end_i < 0) { 552 if (end_i > s_len) { 553 end_i = s_len; 557 if (end_i <= start_i) { 561 return %_SubString(s, start_i, end_i); 611 var end_i = s_len; [all …]
|
D | array.js | 768 var end_i = len; 770 if (!IS_UNDEFINED(end)) end_i = TO_INTEGER(end); 779 if (end_i < 0) { 780 end_i += len; 781 if (end_i < 0) end_i = 0; 783 if (end_i > len) end_i = len; 786 var result = ArraySpeciesCreate(array, MaxSimple(end_i - start_i, 0)); 788 if (end_i < start_i) return result; 790 if (UseSparseVariant(array, len, IS_ARRAY(array), end_i - start_i)) { 793 SparseSlice(array, start_i, end_i - start_i, len, result); [all …]
|
/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_engine.cpp | 166 int start_i, end_i; in Calc() local 169 end_i = (int)FXSYS_ceil((FX_FLOAT)src_end); in Calc() 172 end_i = (int)FXSYS_ceil((FX_FLOAT)src_start); in Calc() 177 if (end_i >= src_max) { in Calc() 178 end_i = src_max - 1; in Calc() 180 if (start_i > end_i) { in Calc() 189 pixel_weights.m_SrcEnd = end_i; in Calc() 190 for (int j = start_i; j <= end_i; j++) { in Calc() 205 if (weight == 0 && j == end_i) { in Calc()
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_progress.cpp | 69 int start_i, end_i; in Calc() local 72 end_i = (int)FXSYS_ceil((FX_FLOAT)src_end); in Calc() 75 end_i = (int)FXSYS_ceil((FX_FLOAT)src_start); in Calc() 80 if (end_i >= src_max) { in Calc() 81 end_i = src_max - 1; in Calc() 83 if (start_i > end_i) { in Calc() 89 pixel_weights.m_SrcEnd = end_i; in Calc() 90 for (int j = start_i; j <= end_i; j++) { in Calc() 105 if (weight == 0 && j == end_i) { in Calc()
|