/external/cronet/base/task/thread_pool/ |
D | priority_queue.cc | 24 const TaskSourceSortKey& sort_key) in TaskSourceAndSortKey() argument 25 : task_source_(std::move(task_source)), sort_key_(sort_key) { in TaskSourceAndSortKey() 78 const TaskSourceSortKey& sort_key() const { return sort_key_; } in sort_key() function in base::internal::PriorityQueue::TaskSourceAndSortKey 109 return container_.top().sort_key(); in PeekSortKey() 131 task_source_and_sort_key.sort_key().priority()); in PopTaskSource() 155 task_source_and_sort_key.sort_key().priority()); in RemoveTaskSource() 161 TaskSourceSortKey sort_key) { in UpdateSortKey() argument 169 auto old_sort_key = container_.at(heap_handle).sort_key(); in UpdateSortKey() 176 IncrementNumTaskSourcesForPriority(sort_key.priority()); in UpdateSortKey() 180 TaskSourceAndSortKey(std::move(registered_task_source), sort_key)); in UpdateSortKey()
|
D | thread_group.cc | 172 auto sort_key = transaction_with_task_source.task_source->GetSortKey(); in ReEnqueueTaskSourceLockRequired() local 179 std::move(transaction_with_task_source.task_source), sort_key); in ReEnqueueTaskSourceLockRequired() 251 auto sort_key = transaction_with_task_source.task_source->GetSortKey(); in PushTaskSourceAndWakeUpWorkersImpl() local 258 sort_key); in PushTaskSourceAndWakeUpWorkersImpl() 292 bool ThreadGroup::ShouldYield(TaskSourceSortKey sort_key) { in ShouldYield() argument 295 if (!task_tracker_->CanRunPriority(sort_key.priority())) in ShouldYield() 305 if (sort_key.priority() > max_allowed_sort_key.priority || in ShouldYield() 312 if (sort_key.priority() == max_allowed_sort_key.priority && in ShouldYield() 313 sort_key.worker_count() <= max_allowed_sort_key.worker_count + 1) { in ShouldYield()
|
D | priority_queue_unittest.cc | 54 auto sort_key = task_source->GetSortKey(); in Push() local 56 sort_key); in Push()
|
D | priority_queue.h | 60 void UpdateSortKey(const TaskSource& task_source, TaskSourceSortKey sort_key);
|
D | thread_group.h | 109 bool ShouldYield(TaskSourceSortKey sort_key);
|
D | pooled_single_thread_task_runner_manager.cc | 230 auto sort_key = transaction_with_task_source.task_source->GetSortKey(); in EnqueueTaskSource() local 237 sort_key); in EnqueueTaskSource()
|
/external/libtracefs/src/ |
D | tracefs-hist.c | 499 add_sort_key(struct tracefs_hist *hist, const char *sort_key, char **list) in add_sort_key() argument 505 if (strcmp(sort_key, TRACEFS_HIST_HITCOUNT) == 0) in add_sort_key() 509 if (strcmp(key_list[i], sort_key) == 0) in add_sort_key() 515 if (strcmp(val_list[i], sort_key) == 0) in add_sort_key() 524 return tracefs_list_add(list, sort_key); in add_sort_key() 538 const char *sort_key) in tracefs_hist_add_sort_key() argument 542 if (!hist || !sort_key) in tracefs_hist_add_sort_key() 545 list = add_sort_key(hist, sort_key, hist->sort); in tracefs_hist_add_sort_key() 566 const char *sort_key, ...) in tracefs_hist_set_sort_key() argument 572 if (!hist || !sort_key) in tracefs_hist_set_sort_key() [all …]
|
/external/toybox/toys/posix/ |
D | sort.c | 76 struct sort_key { struct 77 struct sort_key *next_key; // linked list argument 84 static char *get_key_data(char *str, struct sort_key *key, int flags) in get_key_data() argument 162 static struct sort_key *add_key(void) in add_key() 165 struct sort_key **pkey = (struct sort_key **)stupid_compiler; in add_key() 168 return *pkey = xzalloc(sizeof(struct sort_key)); in add_key() 245 struct sort_key *key; in compare_keys() 320 struct sort_key *key = add_key(); in sort_main()
|
/external/libchrome/base/task_scheduler/ |
D | priority_queue.cc | 22 const SequenceSortKey& sort_key) in SequenceAndSortKey() argument 23 : sequence_(std::move(sequence)), sort_key_(sort_key) { in SequenceAndSortKey() 52 const SequenceSortKey& sort_key() const { return sort_key_; } in sort_key() function in base::internal::PriorityQueue::SequenceAndSortKey 75 return outer_queue_->container_.top().sort_key(); in PeekSortKey()
|
D | task_tracker.cc | 365 const SequenceSortKey sort_key = sequence->GetSortKey(); in WillScheduleSequence() local 368 if (sort_key.priority() != TaskPriority::BACKGROUND) in WillScheduleSequence() 384 std::move(sequence), sort_key.next_task_sequenced_time(), observer); in WillScheduleSequence()
|
/external/rust/cxx/gen/build/src/ |
D | deps.rs | 84 let sort_key = k[k.len() - counter_len..] in direct_dependencies() localVariable 91 .push((sort_key, PathBuf::from(v))); in direct_dependencies() 95 dirs.sort_by_key(|(sort_key, _dir)| *sort_key); in direct_dependencies()
|
/external/mbedtls/scripts/ |
D | assemble_changelog.py | 386 def sort_key(self): member in EntryFileSortKey 394 return self.sort_key() == other.sort_key() 397 return self.sort_key() < other.sort_key()
|
/external/openthread/third_party/mbedtls/repo/scripts/ |
D | assemble_changelog.py | 386 def sort_key(self): member in EntryFileSortKey 394 return self.sort_key() == other.sort_key() 397 return self.sort_key() < other.sort_key()
|
/external/python/cpython3/Tools/scripts/ |
D | stable_abi.py | 219 def sort_key(item): function 225 key=sort_key): 233 key=sort_key):
|
/external/tensorflow/tensorflow/python/training/ |
D | checkpoint_utils.py | 363 sort_key = lambda pair: pair[0] function 366 assignment_map, key=sort_key):
|
/external/libtracefs/include/ |
D | tracefs.h | 422 const char *sort_key); 424 const char *sort_key, ...); 426 const char *sort_key,
|
/external/pigweed/pw_presubmit/py/pw_presubmit/ |
D | keep_sorted.py | 204 def sort_key(line): function 211 _LOG.debug('For sorting: %r => %r', val, sort_key(val)) 213 sorted_lines = sorted(lines, key=sort_key)
|
/external/cronet/build/android/ |
D | dump_apk_resource_strings.py | 314 def ManagedPythonProfiling(enable_profiling, sort_key='tottime'): argument 334 pr.print_stats(sort=sort_key)
|
/external/angle/build/android/ |
D | dump_apk_resource_strings.py | 314 def ManagedPythonProfiling(enable_profiling, sort_key='tottime'): argument 334 pr.print_stats(sort=sort_key)
|
/external/cronet/build/android/gyp/ |
D | proguard.py | 474 def sort_key(path): function 493 for config in sorted(configs, key=sort_key):
|
/external/angle/build/android/gyp/ |
D | proguard.py | 539 def sort_key(path): function 558 for config in sorted(configs, key=sort_key):
|
/external/fonttools/Lib/fontTools/varLib/ |
D | varStore.py | 365 def sort_key(self): member in _Encoding 544 encodings.sort(key=_Encoding.sort_key)
|
/external/tensorflow/tensorflow/python/ops/ |
D | special_math_ops.py | 980 def sort_key(input_index, a): function 991 sorted(sym_list, key=lambda a: sort_key(i, a))
|
/external/rust/crates/clap/src/output/ |
D | help_template.rs | 420 fn write_args(&mut self, args: &[&Arg], _category: &str, sort_key: ArgSortKey) { in write_args() 442 let key = (sort_key)(arg); in write_args()
|
/external/bazelbuild-rules_android/rules/ |
D | resources.bzl | 231 sort_key = manifest.short_path + "#" 232 return sort_key + "--mergee=" + manifest.path
|