/dports/lang/spidermonkey60/firefox-60.9.0/servo/components/script/dom/ |
H A D | nodelist.rs | 118 last_index: Cell<u32>, field 127 last_index: Cell::new(0u32), in new() 146 let last_index = self.last_index.get(); in item() localVariable 147 if index == last_index { in item() 154 } else if last_index > 0 && index == last_index - 1u32 { in item() 157 } else if index > last_index { in item() 162 if index <= last_index + (len - last_index) / 2u32 { in item() 174 } else if index >= last_index / 2u32 { in item() 188 self.last_index.set(index); in item() 210 list.last_index.set(len); in children_changed() [all …]
|
/dports/math/cgal/CGAL-5.3/include/CGAL/Arr_geometry_traits/ |
H A D | de_Casteljau_2.h | 74 *right_ctrl_pts = vec[last_index]; in bisect_control_polygon_2() 77 while (last_index > 0) in bisect_control_polygon_2() 81 for (i = 0; i < last_index; ++i) in bisect_control_polygon_2() 84 --last_index; in bisect_control_polygon_2() 134 while (last_index > 0) in point_on_Bezier_curve_2() 138 for (i = 0; i < last_index; ++i) in point_on_Bezier_curve_2() 144 --last_index; in point_on_Bezier_curve_2() 194 *right_ctrl_pts = vec[last_index]; in de_Casteljau_2() 197 while (last_index > 0) in de_Casteljau_2() 201 for (i = 0; i < last_index; ++i) in de_Casteljau_2() [all …]
|
/dports/net/aprsc/aprsc-2.1.10.gd72a17c/src/ |
H A D | counterdata.c | 35 int last_index; member 135 cd->last_index++; in cdata_counter_sample() 137 cd->last_index = 0; in cdata_counter_sample() 152 cd->values[cd->last_index] = l; in cdata_counter_sample() 174 cd->last_index++; in cdata_gauge_sample() 176 cd->last_index = 0; in cdata_gauge_sample() 205 if (cd->last_index < 0) { in cdata_get_last_value() 208 v = cd->values[cd->last_index]; in cdata_get_last_value() 244 if (cd->last_index >= 0) { in cdata_json_string() 245 int i = cd->last_index + 1; in cdata_json_string() [all …]
|
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/core/ |
H A D | path_coord.cpp | 126 last_index = coords.size() - 1; in tangentVector() 129 while (index < last_index) in tangentVector() 141 while (index < last_index) in tangentVector() 162 last_index = path_coord_index; in tangentVector() 163 while (index < last_index) in tangentVector() 223 while (index > last_index) in tangentVector() 236 last_index = path_coord_index + 1; in tangentVector() 237 while (index > last_index) in tangentVector() 266 Q_ASSERT(last_index > first_index); in begin() 272 if (last_index - first_index > 2 && flags[last_index - 3].isCurveStart()) in begin() [all …]
|
/dports/graphics/freeimage/FreeImage/Source/FreeImage/ |
H A D | LFPQuantizer.cpp | 57 int last_index = 0; in Quantize() local 76 if (last_index == -1) { in Quantize() 81 dst_line[x] = last_index; in Quantize() 93 last_index = GetIndexForColor(color); in Quantize() 94 if (last_index == -1) { in Quantize() 99 dst_line[x] = last_index; in Quantize() 109 last_index = GetIndexForColor(color); in Quantize() 110 if (last_index == -1) { in Quantize() 115 dst_line[width - 1] = last_index; in Quantize() 126 if (last_index == -1) { in Quantize() [all …]
|
/dports/graphics/eos-movrec/eos-movrec-0.3.2_beta/ |
H A D | autofocus.cpp | 58 int last_index = finfos.count() - 1; in lastDispersion() local 59 if (last_index < 0) in lastDispersion() 61 return finfos[last_index].dispersion; in lastDispersion() 66 int last_index = finfos.count() - 1; in lastPosition() local 67 if (last_index < 0) in lastPosition() 78 int last_index = finfos.count() - 1; in NextIter() local 102 if (last_index >= NoiseCounts) in NextIter() 113 last_index++; in NextIter() 115 if (last_index == NoiseCounts - 1) in NextIter() 133 if (last_index >= NoiseCounts) in NextIter() [all …]
|
/dports/emulators/teo/teo/src/alleg/ |
H A D | asound.c | 60 static int last_index; variable 84 if (index < last_index) in PutSoundByte() 87 memset (&sound_buffer[last_index], last_data, index-last_index); in PutSoundByte() 89 last_index=index; in PutSoundByte() 145 memset (&sound_buffer[last_index], last_data, sound_buffer_size-last_index); in asound_Play() 147 last_index=0; in asound_Play()
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_utils/src/ |
H A D | str_utils.rs | 34 let mut last_index = StrIndex::new(0, 0); in camel_case_until() localVariable 40 return last_index; in camel_case_until() 44 last_index.byte_index = byte_index; in camel_case_until() 45 last_index.char_index = char_index; in camel_case_until() 52 last_index in camel_case_until() 85 last_index.byte_index = byte_index; in camel_case_start() 88 return last_index; in camel_case_start() 93 last_index.byte_index = byte_index; in camel_case_start() 94 last_index.char_index = char_index; in camel_case_start() 96 return last_index; in camel_case_start() [all …]
|
/dports/sysutils/lnav/lnav-0.10.1/src/ |
H A D | shlex.hh | 113 int last_index = 0; in eval() local 116 result.append(&this->s_str[last_index], cap.c_begin - last_index); in eval() 155 last_index = cap.c_end; in eval() 158 result.append(&this->s_str[last_index], this->s_len - last_index); in eval() 169 int last_index = 0; in split() local 180 result.back().append(&this->s_str[last_index], cap.c_begin - last_index); in split() 211 last_index = cap.c_end; in split() 214 if (last_index < this->s_len) { in split() 218 result.back().append(&this->s_str[last_index], this->s_len - last_index); in split()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/base/ |
H A D | vector_math.cc | 88 const int last_index = len - rem; in FMUL_SSE() local 90 for (int i = 0; i < last_index; i += 4) in FMUL_SSE() 94 for (int i = last_index; i < len; ++i) in FMUL_SSE() 100 const int last_index = len - rem; in FMAC_SSE() local 108 for (int i = last_index; i < len; ++i) in FMAC_SSE() 135 const int last_index = len - rem; in EWMAAndMaxPower_SSE() local 150 for (i = 0; i < last_index; i += 4) { in EWMAAndMaxPower_SSE() 193 const int last_index = len - rem; in FMAC_NEON() local 207 const int last_index = len - rem; in FMUL_NEON() local 232 const int last_index = len - rem; in EWMAAndMaxPower_NEON() local [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/base/ |
H A D | vector_math.cc | 90 const int last_index = len - rem; in FMUL_SSE() local 92 for (int i = 0; i < last_index; i += 4) in FMUL_SSE() 96 for (int i = last_index; i < len; ++i) in FMUL_SSE() 102 const int last_index = len - rem; in FMAC_SSE() local 110 for (int i = last_index; i < len; ++i) in FMAC_SSE() 137 const int last_index = len - rem; in EWMAAndMaxPower_SSE() local 152 for (i = 0; i < last_index; i += 4) { in EWMAAndMaxPower_SSE() 195 const int last_index = len - rem; in FMAC_NEON() local 209 const int last_index = len - rem; in FMUL_NEON() local 234 const int last_index = len - rem; in EWMAAndMaxPower_NEON() local [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/menus/ |
H A D | game_menu_dialog.cpp | 62 last_index = 0; in init() 67 button_index[last_index] = save_button; in init() 70 button_index[++last_index] = load_button; in init() 73 button_index[++last_index] = video_button; in init() 76 button_index[++last_index] = audio_button; in init() 79 button_index[++last_index] = input_button; in init() 82 button_index[++last_index] = gameplay_button; in init() 85 button_index[++last_index] = cheats_button; in init() 91 button_index[++last_index] = quit_button; in init() 116 b_index_num = last_index; in KeyDown() [all …]
|
H A D | input_dialog.cpp | 66 last_index = 0; in init() 116 button_index[last_index] = interface_button; in init() 120 button_index[last_index += 1] = dragging_button; in init() 128 button_index[last_index += 1] = look_button; in init() 132 button_index[last_index += 1] = walk_button; in init() 141 button_index[last_index += 1] = balloon_button; in init() 151 button_index[last_index += 1] = command_button; in init() 163 button_index[last_index += 1] = cancel_button; in init() 167 button_index[last_index += 1] = save_button; in init() 192 b_index_num = last_index; in KeyDown() [all …]
|
H A D | gameplay_dialog.cpp | 81 last_index = 0; in init() 107 button_index[last_index] = formation_button; in init() 115 button_index[last_index += 1] = stealing_button; in init() 125 button_index[last_index += 1] = text_gump_button; in init() 157 button_index[last_index += 1] = startup_game_button; in init() 163 button_index[last_index += 1] = skip_intro_button; in init() 175 button_index[last_index += 1] = cursor_button; in init() 179 button_index[last_index += 1] = cancel_button; in init() 182 button_index[last_index += 1] = save_button; in init() 207 b_index_num = last_index; in KeyDown() [all …]
|
/dports/devel/gnulib/gnulib-20140202-stable/lib/unictype/ |
H A D | blocks.c | 29 unsigned int last_index; in uc_block() local 35 last_index = blocks_level1[2 * index1 + 1]; in uc_block() 40 last_index = blocks_upper_last_index; in uc_block() 44 while (first_index < last_index) in uc_block() 46 unsigned int mid_index = (first_index + last_index) / 2; in uc_block() 50 last_index = mid_index; in uc_block()
|
/dports/devel/libunistring/libunistring-0.9.10/lib/unictype/ |
H A D | blocks.c | 38 unsigned int last_index; in uc_block() local 44 last_index = blocks_level1[2 * index1 + 1]; in uc_block() 49 last_index = blocks_upper_last_index; in uc_block() 53 while (first_index < last_index) in uc_block() 55 unsigned int mid_index = (first_index + last_index) / 2; in uc_block() 59 last_index = mid_index; in uc_block()
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/lib/unictype/ |
H A D | blocks.c | 37 unsigned int last_index; in uc_block() local 43 last_index = blocks_level1[2 * index1 + 1]; in uc_block() 48 last_index = blocks_upper_last_index; in uc_block() 52 while (first_index < last_index) in uc_block() 54 unsigned int mid_index = (first_index + last_index) / 2; in uc_block() 58 last_index = mid_index; in uc_block()
|
/dports/devel/p5-List-Objects-WithUtils/List-Objects-WithUtils-2.028003/t/01_array/ |
H A D | last_index.t | 11 ok $arr->last_index(sub { /^b/ }) == 2, 12 'last_index alias ok'; 14 ok $arr->last_index(sub { /d/ }) == -1, 15 'negative last_index ok'; 17 ok array->last_index(sub { 1 }) == -1, 18 'last_index on empty array ok';
|
/dports/science/quantum-espresso/q-e-qe-6.7.0/atomic/src/ |
H A D | kli.f90 | 374 integer :: i, j, s, last_index(2), idx_i local 383 last_index = 0 394 if( rho(j,1 ) > tiny(1.0_dp) .and. last_index(1) == j-1) last_index(1) = j 395 if( rho(j,2 ) > tiny(1.0_dp) .and. last_index(2) == j-1) last_index(2) = j 417 call compute_slater_potential(last_index) 418 call compute_average_ux_kli(last_index) 434 work(1:last_index(s),s) = (work(1:last_index(s),s))/rho(1:last_index(s),s) 435 …exchange_potential(1:last_index(s),s) = (slater_potential(1:last_index(s),s) + work(1:last_index… 440 … call compute_average_kli_potential(exchange_potential, last_index, average_kli_potential)
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/solaris/demo/jni/Poller/ |
H A D | Poller.c | 137 int last_index; member 287 ioeh->last_index = 0; in Java_Poller_nativeCreatePoller() 341 for (i = 0; i < ioeh->last_index; i++) in check_handle() 437 new_total = ioeh->last_index; in addfd() 445 idx = ioeh->last_index; in addfd() 448 ioeh->last_index, new_total)); in addfd() 449 ioeh->last_index = new_total; in addfd() 508 for (i = 0; i < ioeh->last_index; i++) in removefd() 526 if ( (ioeh->last_index > 100) && in removefd() 557 ioeh->last_index, j+11)); in removefd() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/solaris/demo/jni/Poller/ |
H A D | Poller.c | 137 int last_index; member 287 ioeh->last_index = 0; in Java_Poller_nativeCreatePoller() 341 for (i = 0; i < ioeh->last_index; i++) in check_handle() 437 new_total = ioeh->last_index; in addfd() 445 idx = ioeh->last_index; in addfd() 448 ioeh->last_index, new_total)); in addfd() 449 ioeh->last_index = new_total; in addfd() 508 for (i = 0; i < ioeh->last_index; i++) in removefd() 526 if ( (ioeh->last_index > 100) && in removefd() 557 ioeh->last_index, j+11)); in removefd() [all …]
|
/dports/editors/fpc-ide/fpc-3.2.2/compiler/ |
H A D | ppheap.pas | 64 last_index : longint; 71 inc(last_index); 72 if last_index <= MaxFiles then 79 fileinfoarray[last_index].name:='...'+copy(name,pos,MaxNameLength); 84 fileinfoarray[last_index].name:=copy(name,pos,MaxNameLength); 86 fileinfoarray[last_index].index:=index; 97 for i:=1 to last_index do
|
/dports/lang/fpc/fpc-3.2.2/compiler/ |
H A D | ppheap.pas | 64 last_index : longint; 71 inc(last_index); 72 if last_index <= MaxFiles then 79 fileinfoarray[last_index].name:='...'+copy(name,pos,MaxNameLength); 84 fileinfoarray[last_index].name:=copy(name,pos,MaxNameLength); 86 fileinfoarray[last_index].index:=index; 97 for i:=1 to last_index do
|
/dports/lang/fpc-source/fpc-3.2.2/compiler/ |
H A D | ppheap.pas | 64 last_index : longint; 71 inc(last_index); 72 if last_index <= MaxFiles then 79 fileinfoarray[last_index].name:='...'+copy(name,pos,MaxNameLength); 84 fileinfoarray[last_index].name:=copy(name,pos,MaxNameLength); 86 fileinfoarray[last_index].index:=index; 97 for i:=1 to last_index do
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/layout/ng/inline/ |
H A D | ng_fragment_items.cc | 38 const wtf_size_t last_index = insert_result.stored_value->value; in AssociateWithLayoutObject() local 40 DCHECK_GT(last_index, 0u) << item; in AssociateWithLayoutObject() 41 DCHECK_LT(last_index, items->size()); in AssociateWithLayoutObject() 42 DCHECK_LT(last_index, index); in AssociateWithLayoutObject() 43 (*items)[last_index]->SetDeltaToNextForSameLayoutObject(index - last_index); in AssociateWithLayoutObject()
|