/third_party/python/Lib/idlelib/idle_test/ |
D | test_history.py | 3 from idlelib.history import History 22 cls.history = History(cls.text) 26 self.history.history = [] 29 self.assertIs(self.history.text, self.text) 30 self.assertEqual(self.history.history, []) 31 self.assertIsNone(self.history.prefix) 32 self.assertIsNone(self.history.pointer) 33 self.assertEqual(self.history.cyclic, 37 self.history.store('a') 38 self.assertEqual(self.history.history, []) [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_autotune.c | 51 struct fd_batch_history *history; in get_history() local 62 history = entry->data; in get_history() 66 history = rzalloc_size(at->ht, sizeof(*history)); in get_history() 68 history->key = fd_batch_key_clone(history, batch->key); in get_history() 69 list_inithead(&history->node); in get_history() 70 list_inithead(&history->results); in get_history() 83 _mesa_hash_table_insert_pre_hashed(at->ht, batch->hash, history->key, in get_history() 84 history); in get_history() 88 list_delinit(&history->node); in get_history() 89 list_add(&history->node, &at->lru); in get_history() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/fieldanalysis/ |
D | gstfieldanalysis.c | 302 FieldAnalysisFields (*history)[2]); 304 FieldAnalysisFields (*history)[2]); 306 FieldAnalysisFields (*history)[2]); 308 FieldAnalysisFields (*history)[2]); 310 FieldAnalysisFields (*history)[2], guint8 * base_fj, guint8 * base_fjp1); 312 FieldAnalysisFields (*history)[2], guint8 * base_fj, guint8 * base_fjp1); 314 FieldAnalysisFields (*history)[2], guint8 * base_fj, guint8 * base_fjp1); 316 FieldAnalysisFields (*history)[2]); 815 same_parity_sad (GstFieldAnalysis * filter, FieldAnalysisFields (*history)[2]) in same_parity_sad() 821 const gint width = GST_VIDEO_FRAME_WIDTH (&(*history)[0].frame); in same_parity_sad() [all …]
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_autotune.c | 170 free_history(struct tu_device *dev, struct tu_renderpass_history *history) in free_history() argument 172 tu_autotune_free_results_locked(dev, &history->results); in free_history() 173 free(history); in free_history() 188 struct tu_renderpass_history *history = entry->data; in get_history() local 189 if (history->num_results > 0) { in get_history() 190 *avg_samples = p_atomic_read(&history->avg_samples); in get_history() 209 history_add_result(struct tu_device *dev, struct tu_renderpass_history *history, in history_add_result() argument 213 list_add(&result->node, &history->results); in history_add_result() 215 if (history->num_results < MAX_HISTORY_RESULTS) { in history_add_result() 216 history->num_results++; in history_add_result() [all …]
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/ |
D | test_embedding.dart | 22 /// This location strategy mimics the browser's history as closely as possible 25 /// It keeps a list of history entries and event listeners in memory and 29 /// way it does it is by using it as a path on the first history entry. 32 history = <_HistoryEntry>[_HistoryEntry(null, null, defaultRouteName)]; 38 final List<_HistoryEntry> history; 42 return history[_currentEntryIndex]; 47 history[_currentEntryIndex] = entry; 50 /// Whether we are still within the history of the Flutter Web app. This 51 /// remains true until we go back in history beyond the entry where the app 63 // entry called E, we should end up with: A -> B -> E in the history list. [all …]
|
D | browser_location.dart | 34 /// This is used by [BrowserHistory] to interact with browser history APIs. 42 /// The active path in the browser history. 49 /// Push a new history entry. 52 /// Replace the currently active history entry. 55 /// Go to the previous history entry. 128 /// to wait until the browser has handled the `history.back` transition. 167 html.History get _history => html.window.history;
|
/third_party/gstreamer/gstplugins_good/gst/equalizer/ |
D | gstiirequalizer.c | 398 g_free (equ->history); in gst_iir_equalizer_finalize() 624 g_free (equ->history); in alloc_history() 625 equ->history = in alloc_history() 728 SecondOrderHistory ## TYPE *history, BIG_TYPE input) \ 732 filter->a1 * history->x1 + filter->a2 * history->x2 + \ 733 filter->b1 * history->y1 + filter->b2 * history->y2; \ 735 history->y2 = history->y1; \ 736 history->y1 = output; \ 737 history->x2 = history->x1; \ 738 history->x1 = input; \ [all …]
|
/third_party/python/Doc/library/ |
D | readline.rst | 13 completion and reading/writing of history files from the Python interpreter. 94 The following functions operate on a history file: 99 Load a readline history file, and append it to the history list. 100 The default filename is :file:`~/.history`. This calls 106 Save the history list to a readline history file, overwriting any 107 existing file. The default filename is :file:`~/.history`. This calls 113 Append the last *nelements* items of history to a file. The default filename is 114 :file:`~/.history`. The file must already exist. This calls 125 Set or return the desired number of lines to save in the history file. 127 the history file, by calling :c:func:`history_truncate_file` in [all …]
|
/third_party/node/lib/ |
D | readline.js | 148 let history; 159 history = input.history; 193 if (history === undefined) { 194 history = []; 196 validateArray(history, 'history'); 221 this.history = history; 455 if (this.history.length === 0 || this.history[0] !== this.line) { 458 const dupIndex = ArrayPrototypeIndexOf(this.history, this.line); 459 if (dupIndex !== -1) ArrayPrototypeSplice(this.history, dupIndex, 1); 462 ArrayPrototypeUnshift(this.history, this.line); [all …]
|
/third_party/gstreamer/gstplugins_good/gst/deinterlace/tvtime/tomsmocomp/ |
D | TomsMoCompAll.inc | 65 const GstDeinterlaceField* history, guint history_count, 91 history, history_count, outframe, cur_field_idx); 104 pCopySrc = GST_VIDEO_FRAME_PLANE_DATA (history[history_count-1].frame, 0); 105 if (history[history_count - 1].flags & PICTURE_INTERLACED_BOTTOM) 106 pCopySrc += GST_VIDEO_FRAME_PLANE_STRIDE (history[history_count-1].frame, 0); 107 pCopySrcP = GST_VIDEO_FRAME_PLANE_DATA (history[history_count-3].frame, 0); 108 if (history[history_count - 3].flags & PICTURE_INTERLACED_BOTTOM) 109 pCopySrcP += GST_VIDEO_FRAME_PLANE_STRIDE (history[history_count-3].frame, 0); 110 pWeaveSrc = GST_VIDEO_FRAME_PLANE_DATA (history[history_count-2].frame, 0); 111 if (history[history_count - 2].flags & PICTURE_INTERLACED_BOTTOM) [all …]
|
/third_party/mksh/ |
D | histrap.c | 360 if (histptr >= history && last_line != hist_source->line) { in hist_execute() 396 if ((size_t)hp < (size_t)history) { in hist_get() 418 if ((n = findhist(histptr - history - 1, str, false, in hist_get() 422 hp = &history[n]; in hist_get() 431 if (histptr < history || (!allow_cur && histptr == history)) { in hist_get_newest() 442 if (histptr <= history) { in hist_get_oldest() 446 return (history); in hist_get_oldest() 465 int last = histptr - history; in histnum() 471 current = &history[n]; in histnum() 486 int maxhist = histptr - history; in findhist() [all …]
|
/third_party/python/Lib/idlelib/ |
D | history.py | 24 self.history = [] 49 nhist = len(self.history) 54 self.text.get("iomark", "end-1c") != self.history[pointer]: 80 item = self.history[pointer] 96 self.history.remove(source) 99 self.history.append(source)
|
/third_party/icu/icu4c/source/test/intltest/ |
D | colldata.cpp | 505 int32_t CollData::minLengthInChars(const CEList *ceList, int32_t offset, int32_t *history) const in minLengthInChars() 510 if (history[offset] >= 0) { in minLengthInChars() 511 return history[offset]; in minLengthInChars() 540 rlength = minLengthInChars(ceList, roffset, history); in minLengthInChars() 573 rlength = minLengthInChars(ceList, roffset, history); in minLengthInChars() 615 rlength = minLengthInChars(ceList, roffset, history); in minLengthInChars() 631 history[offset] = shortestLength; in minLengthInChars() 639 int32_t *history = NEW_ARRAY(int32_t, clength); in minLengthInChars() local 642 history[i] = -1; in minLengthInChars() 645 int32_t minLength = minLengthInChars(ceList, offset, history); in minLengthInChars() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/deinterlace/ |
D | gstdeinterlacemethod.c | 195 const GstDeinterlaceField * history, guint history_count, in gst_deinterlace_method_deinterlace_frame() argument 199 self->deinterlace_frame (self, history, history_count, outframe, in gst_deinterlace_method_deinterlace_frame() 313 const GstDeinterlaceField *history; member 333 frame = lg->history[idx].frame; in get_line() 379 method, const GstDeinterlaceField * history, guint history_count, in gst_deinterlace_simple_method_deinterlace_frame_packed() argument 390 LinesGetter lg = { history, history_count, cur_field_idx }; in gst_deinterlace_simple_method_deinterlace_frame_packed() 399 frame0 = history[cur_field_idx].frame; in gst_deinterlace_simple_method_deinterlace_frame_packed() 401 cur_field_flags = history[cur_field_idx].flags; in gst_deinterlace_simple_method_deinterlace_frame_packed() 403 framep = (cur_field_idx > 0 ? history[cur_field_idx - 1].frame : NULL); in gst_deinterlace_simple_method_deinterlace_frame_packed() 411 history_count ? history[cur_field_idx + 1].frame : NULL); in gst_deinterlace_simple_method_deinterlace_frame_packed() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | notchlc.c | 81 uint8_t history[64 * 1024]; in lz4_decompress() local 96 bytestream2_get_buffer(gb, history + pos, num_literals); in lz4_decompress() 100 history[pos++] = bytestream2_get_byte(gb); in lz4_decompress() 102 bytestream2_put_buffer(pb, history, HISTORY_SIZE); in lz4_decompress() 126 memcpy(history + pos, history + reference_pos, match_length); in lz4_decompress() 130 history[pos++] = history[reference_pos++]; in lz4_decompress() 134 history[pos++] = history[reference_pos++]; in lz4_decompress() 136 bytestream2_put_buffer(pb, history, HISTORY_SIZE); in lz4_decompress() 144 bytestream2_put_buffer(pb, history, pos); in lz4_decompress()
|
D | imx.c | 29 uint8_t history[32768]; member 108 frame->data[0][x + y * frame->linesize[0]] = imx->history[offset++]; in imx_decode_frame() 125 imx->history[imx->pos++] = fill; in imx_decode_frame() 172 memset(imx->history, 0, sizeof(imx->history)); in imx_decode_flush()
|
/third_party/gstreamer/gstplugins_good/gst/deinterlace/tvtime/ |
D | greedyh.c | 721 const GstDeinterlaceField * history, guint history_count, in deinterlace_frame_di_greedyh_plane() argument 736 L1 = GST_VIDEO_FRAME_COMP_DATA (history[cur_field_idx].frame, plane); in deinterlace_frame_di_greedyh_plane() 737 if (history[cur_field_idx].flags & PICTURE_INTERLACED_BOTTOM) in deinterlace_frame_di_greedyh_plane() 740 L2 = GST_VIDEO_FRAME_COMP_DATA (history[cur_field_idx + 1].frame, plane); in deinterlace_frame_di_greedyh_plane() 741 if (history[cur_field_idx + 1].flags & PICTURE_INTERLACED_BOTTOM) in deinterlace_frame_di_greedyh_plane() 745 L2P = GST_VIDEO_FRAME_COMP_DATA (history[cur_field_idx - 1].frame, plane); in deinterlace_frame_di_greedyh_plane() 746 if (history[cur_field_idx - 1].flags & PICTURE_INTERLACED_BOTTOM) in deinterlace_frame_di_greedyh_plane() 752 InfoIsOdd = (history[cur_field_idx + 1].flags == PICTURE_INTERLACED_BOTTOM); in deinterlace_frame_di_greedyh_plane() 788 const GstDeinterlaceField * history, guint history_count, in deinterlace_frame_di_greedyh_packed() argument 804 history, history_count, outframe, cur_field_idx); in deinterlace_frame_di_greedyh_packed() [all …]
|
/third_party/mesa3d/src/freedreno/decode/ |
D | crashdec.c | 290 memset(&hfi.history, 0xff, sizeof(hfi.history)); in decode_gmu_hfi() 301 assert(qidx < ARRAY_SIZE(hfi.history)); in decode_gmu_hfi() 304 &hfi.history[qidx][0], &hfi.history[qidx][1], in decode_gmu_hfi() 305 &hfi.history[qidx][2], &hfi.history[qidx][3], in decode_gmu_hfi() 306 &hfi.history[qidx][4], &hfi.history[qidx][5], in decode_gmu_hfi() 307 &hfi.history[qidx][6], &hfi.history[qidx][7]); in decode_gmu_hfi()
|
/third_party/node/lib/internal/repl/ |
D | history.js | 93 repl.history = StringPrototypeSplit(data, /[\n\r]+/, repl.historySize); 95 repl.history = []; 137 const historyData = ArrayPrototypeJoin(repl.history, os.EOL); 165 if (this.history.length === 0) {
|
/third_party/gstreamer/gstplugins_bad/sys/va/ |
D | gstvadeinterlace.c | 99 GstBuffer *history[8]; member 131 gst_buffer_unref (self->history[i]); in _reset_history() 221 self->history[self->hcount++] = inbuf; in gst_va_deinterlace_submit_input_buffer() 223 gst_clear_buffer (&self->history[0]); in gst_va_deinterlace_submit_input_buffer() 225 self->history[i] = self->history[i + 1]; in gst_va_deinterlace_submit_input_buffer() 226 self->history[i] = inbuf; in gst_va_deinterlace_submit_input_buffer() 229 if (self->history[self->hcurr]) in gst_va_deinterlace_submit_input_buffer() 408 gst_va_buffer_get_surface (self->history[self->hcurr - i - 1]); in gst_va_deinterlace_transform() 412 gst_va_buffer_get_surface (self->history[self->hcurr + i + 1]); in gst_va_deinterlace_transform() 461 inbuf = self->history[self->hcurr]; in gst_va_deinterlace_generate_output() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/iterator/ |
D | TestUCharacterIterator.java | 377 String history = moves.substring(0,movesIndex); in previousNext() local 378 errln("error: mismatch in Normalizer iteration at "+history+": " in previousNext() 386 String history = moves.substring(0,movesIndex); in previousNext() local 388 +history+ " : "+ "Normalizer index " +iter.getIndex() in previousNext() 423 String history = moves.substring(0,movesIndex); in TestUCharacterIteratorWrapper() local 424 errln("error: mismatch in Normalizer iteration at "+history+": " in TestUCharacterIteratorWrapper() 432 String history = moves.substring(0,movesIndex); in TestUCharacterIteratorWrapper() local 434 +history+ " : "+ "Normalizer index " +wrap_ci.getIndex() in TestUCharacterIteratorWrapper()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/ |
D | TestUCharacterIterator.java | 374 String history = moves.substring(0,movesIndex); in previousNext() local 375 errln("error: mismatch in Normalizer iteration at "+history+": " in previousNext() 383 String history = moves.substring(0,movesIndex); in previousNext() local 385 +history+ " : "+ "Normalizer index " +iter.getIndex() in previousNext() 420 String history = moves.substring(0,movesIndex); in TestUCharacterIteratorWrapper() local 421 errln("error: mismatch in Normalizer iteration at "+history+": " in TestUCharacterIteratorWrapper() 429 String history = moves.substring(0,movesIndex); in TestUCharacterIteratorWrapper() local 431 +history+ " : "+ "Normalizer index " +wrap_ci.getIndex() in TestUCharacterIteratorWrapper()
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
D | nftw.c | 10 struct history struct 12 struct history *chain; argument 22 …(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags, struct history *h) in do_nftw() argument 26 struct history new; in do_nftw()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LineEditor/ |
D | LineEditor.cpp | 216 ::el_set(Data->EL, EL_HIST, history, Data->Hist); in LineEditor() 229 ::history(Data->Hist, &HE, H_SETSIZE, 800); in LineEditor() 230 ::history(Data->Hist, &HE, H_SETUNIQUE, 1); in LineEditor() 245 ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str()); in saveHistory() 252 ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str()); in loadHistory() 272 ::history(Data->Hist, &HE, H_ENTER, Line); in readLine()
|
/third_party/musl/src/misc/ |
D | nftw.c | 11 struct history struct 13 struct history *chain; argument 23 …(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags, struct history *h) in do_nftw() argument 27 struct history new; in do_nftw()
|