Home
last modified time | relevance | path

Searched refs:current (Results 476 - 500 of 1865) sorted by relevance

1...<<11121314151617181920>>...75

/third_party/protobuf/src/google/protobuf/compiler/
H A Dparser.cc197 return input_->current().text == text; in LookingAt()
201 return input_->current().type == token_type; in LookingAtType()
235 *output = input_->current().text; in ConsumeIdentifier()
247 if (!io::Tokenizer::ParseInteger(input_->current().text, kint32max, in ConsumeInteger()
278 if (!io::Tokenizer::ParseInteger(input_->current().text, max_value, in ConsumeInteger64()
294 *output = io::Tokenizer::ParseFloat(input_->current().text); in ConsumeNumber()
300 if (!io::Tokenizer::ParseInteger(input_->current().text, kuint64max, in ConsumeNumber()
324 io::Tokenizer::ParseString(input_->current().text, output); in ConsumeString()
328 io::Tokenizer::ParseStringAppend(input_->current().text, output); in ConsumeString()
353 // If the current locatio in TryConsumeEndOfDeclaration()
[all...]
/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/
H A Dhks_condition_test.cpp185 int current = 1; in Fib() local
188 int next = current + previous; in Fib()
189 previous = current; in Fib()
190 current = next; in Fib()
192 return current; in Fib()
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_telemetry.cpp23 static const StringParameter CURRENT("paths.current");
102 static std::string CurrentToString(float current) in CurrentToString() argument
104 return std::to_string(current) + " mA"; in CurrentToString()
129 return FrequencyToString(info.current) + "(min: " + FrequencyToString(info.min) + in FrequencyLoadToString()
152 cpu.current = GetMetricFloat(*CURRENT) * Utils::MICRO; in GetBattery()
270 cpu.coreFrequencyLoad[i].current = GetMetricFloat(GetCpuCurrentFrequencyPath(i)) * Utils::MICRO; in GetCPUCores()
292 gpu.frequencyLoad.current = GetMetricFloat(*GPU_FREQUENCY) * Utils::NANO; in GetGPUFrequencyLoad()
319 "\nCurrent: " + CurrentToString(info.cpu.current) + "\nVoltage: " + VoltageToString(info.cpu.voltage) + in GetDeviceInfoString()
332 const auto current = GetMetricFloat(GetCpuCurrentFrequencyPolicyPath(i)) * Utils::MICRO; in GetDeviceFrequencyString() local
335 out += "CPU" + std::to_string(i) + ": " + FrequencyToString(current) in GetDeviceFrequencyString()
[all...]
/third_party/icu/icu4c/source/samples/cal/
H A Dcal.c420 /* Print out a calendar for c's current month */
430 int32_t firstday, current; in print_month() local
490 current = firstday; in print_month()
491 if(current < 0) in print_month()
493 current += 7; in print_month()
495 for(i = 0; i < current; ++i) in print_month()
502 /* Format the current day string */ in print_month()
506 pad = lens[current] - u_strlen(s); in print_month()
513 /* Update the current day */ in print_month()
514 ++current; in print_month()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
H A D3-2.c112 void *current; in overflow() local
113 long stacksize = sysconf(_SC_THREAD_STACK_MIN); /* make sure we touch the current stack memory */ in overflow()
130 current = overflow(&current); in overflow()
142 return current; in overflow()
146 if (((long)arg) < ((long)&current)) { in overflow()
148 if (((long)&current) - ((long)arg) >= stacksize) { in overflow()
151 arg, &current); in overflow()
156 if (((long)arg) - ((long)&current) >= stacksize) { in overflow()
159 arg, &current); in overflow()
[all...]
/third_party/skia/third_party/externals/icu/source/samples/cal/
H A Dcal.c420 /* Print out a calendar for c's current month */
430 int32_t firstday, current; in print_month() local
490 current = firstday; in print_month()
491 if(current < 0) in print_month()
493 current += 7; in print_month()
495 for(i = 0; i < current; ++i) in print_month()
502 /* Format the current day string */ in print_month()
506 pad = lens[current] - u_strlen(s); in print_month()
513 /* Update the current day */ in print_month()
514 ++current; in print_month()
[all...]
/third_party/toybox/toys/other/
H A Dbzcat.c476 // Using ii as position, jj as previous character, hh as current character, in burrows_wheeler_prep()
516 int count, pos, current, run, copies, outbyte, previous, gotcount = 0; in write_bunzip_data() local
536 current = bw->writeCurrent; in write_bunzip_data()
546 previous = current; in write_bunzip_data()
548 current = pos&0xff; in write_bunzip_data()
554 copies = current; in write_bunzip_data()
556 current = -1; in write_bunzip_data()
559 outbyte = current; in write_bunzip_data()
569 if (current != previous) run=0; in write_bunzip_data()
593 bw->writeCurrent = current; in write_bunzip_data()
[all...]
/third_party/rust/crates/memchr/src/memmem/
H A Dtwoway.rs40 /// 2) For the current position in the haystack, look if needle[critical..]
54 /// When used as a prefilter, if the last byte at the current candidate
505 // The current offset of our suffixes that we're comparing. in forward()
510 // character than our current maximal (or minimal) suffix, then the in forward()
511 // current suffix is changed over to the candidate and we restart our in forward()
520 let current = needle[suffix.pos + offset]; in forward()
522 match kind.cmp(current, candidate) { in forward()
558 let current = needle[suffix.pos - offset - 1]; in reverse()
560 match kind.cmp(current, candidate) { in reverse()
608 /// suffix is better than the current maxima
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/
H A DXLIFF2ICUConverter.java221 "-s or --sourcedir source directory for files followed by path, default is current directory.\n" + in usage()
222 "-d or --destdir destination directory, followed by the path, default is current directory.\n" + in usage()
528 Resource current = set; in writeResource()
529 while(current!=null){ in writeResource()
530 current.write(writer, 0, false); in writeResource()
531 current = current.next; in writeResource()
758 ResourceInt current = (ResourceInt) first; in write()
759 while(current != null){ in write()
760 //current in write()
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dalphaindex.cpp375 const UnicodeString &fixLabel(const UnicodeString &current, UnicodeString &temp) { in fixLabel() argument
376 if (!current.startsWith(BASE, BASE_LENGTH)) { in fixLabel()
377 return current; in fixLabel()
379 UChar rest = current.charAt(BASE_LENGTH); in fixLabel()
393 return temp.setTo(current, BASE_LENGTH); in fixLabel()
468 UnicodeString &current = *getString(indexCharacters, i); in createBucketList() local
469 if (collatorPrimaryOnly_->compare(current, *scriptUpperBoundary, errorCode) >= 0) { in createBucketList()
475 if (collatorPrimaryOnly_->compare(current, *scriptUpperBoundary, errorCode) < 0) { in createBucketList()
489 // Add a bucket with the current label. in createBucketList()
491 new Bucket(fixLabel(current, tem in createBucketList()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dalphaindex.cpp375 const UnicodeString &fixLabel(const UnicodeString &current, UnicodeString &temp) { in fixLabel() argument
376 if (!current.startsWith(BASE, BASE_LENGTH)) { in fixLabel()
377 return current; in fixLabel()
379 char16_t rest = current.charAt(BASE_LENGTH); in fixLabel()
393 return temp.setTo(current, BASE_LENGTH); in fixLabel()
468 UnicodeString &current = *getString(indexCharacters, i); in createBucketList() local
469 if (collatorPrimaryOnly_->compare(current, *scriptUpperBoundary, errorCode) >= 0) { in createBucketList()
475 if (collatorPrimaryOnly_->compare(current, *scriptUpperBoundary, errorCode) < 0) { in createBucketList()
489 // Add a bucket with the current label. in createBucketList()
491 new Bucket(fixLabel(current, tem in createBucketList()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dalphaindex.cpp374 const UnicodeString &fixLabel(const UnicodeString &current, UnicodeString &temp) { in fixLabel() argument
375 if (!current.startsWith(BASE, BASE_LENGTH)) { in fixLabel()
376 return current; in fixLabel()
378 UChar rest = current.charAt(BASE_LENGTH); in fixLabel()
392 return temp.setTo(current, BASE_LENGTH); in fixLabel()
468 UnicodeString &current = *getString(indexCharacters, i); in createBucketList() local
469 if (collatorPrimaryOnly_->compare(current, *scriptUpperBoundary, errorCode) >= 0) { in createBucketList()
475 if (collatorPrimaryOnly_->compare(current, *scriptUpperBoundary, errorCode) < 0) { in createBucketList()
491 // Add a bucket with the current label. in createBucketList()
492 bucket = new Bucket(fixLabel(current, tem in createBucketList()
[all...]
/third_party/mesa3d/src/gallium/frontends/va/
H A Dpostproc.c310 struct pipe_video_buffer *current, in vlVaApplyDeint()
317 return current; in vlVaApplyDeint()
324 return current; in vlVaApplyDeint()
326 if (context->deint && (context->deint->video_width != current->width || in vlVaApplyDeint()
327 context->deint->video_height != current->height)) { in vlVaApplyDeint()
335 if (!vl_deint_filter_init(context->deint, drv->pipe, current->width, in vlVaApplyDeint()
336 current->height, false, false)) { in vlVaApplyDeint()
339 return current; in vlVaApplyDeint()
344 prev->buffer, current, next->buffer)) in vlVaApplyDeint()
345 return current; in vlVaApplyDeint()
308 vlVaApplyDeint(vlVaDriver *drv, vlVaContext *context, VAProcPipelineParameterBuffer *param, struct pipe_video_buffer *current, unsigned field) vlVaApplyDeint() argument
[all...]
/third_party/node/deps/v8/src/inspector/
H A Dv8-stack-trace-impl.cc286 StackFrameIterator current(this); in firstNonEmptySourceURL()
287 while (!current.done()) { in firstNonEmptySourceURL()
288 if (current.frame()->sourceURL().length()) { in firstNonEmptySourceURL()
289 return toStringView(current.frame()->sourceURL()); in firstNonEmptySourceURL()
291 current.next(); in firstNonEmptySourceURL()
355 StackFrameIterator current(this); in isEqualIgnoringTopFrame()
358 current.next(); in isEqualIgnoringTopFrame()
360 while (!current.done() && !target.done()) { in isEqualIgnoringTopFrame()
361 if (!current.frame()->isEqual(target.frame())) { in isEqualIgnoringTopFrame()
364 current in isEqualIgnoringTopFrame()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Draw_hash_set_probe_benchmark.cc267 T operator()() const { return current++; } in operator ()()
268 mutable T current{};
274 auto* result = MakePtr<Align>(current); in operator ()()
275 current += Align; in operator ()()
278 mutable uintptr_t current = PointerForAlignment<Align>(); member
284 std::string operator()() const { return String<small>::Make(current++); } in operator ()()
285 mutable uint32_t current = 0; member
325 mutable Sequential<T> current; member
327 auto operator()() const -> decltype(current()) { in current() function
329 current(); in current()
[all...]
/base/web/webview/ohos_adapter/camera_adapter/src/
H A Dvideo_capture_range_adapter_impl.cpp55 void VideoCaptureRangeAdapterImpl::SetCurrent(double current) in SetCurrent() argument
57 current_ = current; in SetCurrent()
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dtimestamp.hpp57 /// Get the current timestamp value.
59 class current { class
61 current(command_queue &q);
/third_party/node/test/parallel/
H A Dtest-vm-timeout-escape-promise-2.js17 const current = hrtime();
18 const span = (current - start) / NS_PER_MS;
H A Dtest-vm-timeout-escape-promise.js18 const current = hrtime();
19 const span = (current - start) / NS_PER_MS;
/third_party/node/deps/llhttp/src/
H A Dllhttp.c230 const unsigned char* current; member
243 unsigned char current; in llparse__match_sequence_id() local
245 current = *p; in llparse__match_sequence_id()
246 if (current == seq[index]) { in llparse__match_sequence_id()
258 res.current = p; in llparse__match_sequence_id()
262 res.current = p; in llparse__match_sequence_id()
275 unsigned char current; in llparse__match_sequence_to_lower() local
277 current = ((*p) >= 'A' && (*p) <= 'Z' ? (*p | 0x20) : (*p)); in llparse__match_sequence_to_lower()
278 if (current == seq[index]) { in llparse__match_sequence_to_lower()
290 res.current in llparse__match_sequence_to_lower()
307 unsigned char current; llparse__match_sequence_to_lower_unsafe() local
8396 const unsigned char* current; global() member
8409 unsigned char current; llparse__match_sequence_to_lower() local
8441 unsigned char current; llparse__match_sequence_to_lower_unsafe() local
8473 unsigned char current; llparse__match_sequence_id() local
[all...]
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/
H A Dcharger_state_collection.cpp137 g_cachedIdleState.current = data.GetWant().GetIntParam(BatteryInfo::COMMON_EVENT_KEY_PLUGGED_NOW_CURRENT, -1); in HandleChangerInnerStatusCompleted()
166 (g_cachedIdleState.current >= g_idleStateConfig.current) && in HandleChargeIdleState()
169 THERMAL_HILOGI(COMP_SVC, "soc=%{public}d, charging==%{public}d, current==%{public}d, level==%{public}d", in HandleChargeIdleState()
170 g_cachedIdleState.soc, g_cachedIdleState.charging, g_cachedIdleState.current, in HandleChargeIdleState()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_wait.c75 if (!signal_pending(current)) { in osal_wait_interruptible()
78 if (signal_pending(current)) { in osal_wait_interruptible()
145 if (!signal_pending(current)) { in osal_wait_timeout_interruptible()
149 if (signal_pending(current)) { in osal_wait_timeout_interruptible()
/device/soc/rockchip/common/sdk_linux/kernel/power/
H A Dprocess.c59 if (p == current || !freeze_task(p)) { in try_to_freeze_tasks()
116 if (p != current && !freezer_should_skip(p) && freezing(p) && !frozen(p)) { in try_to_freeze_tasks()
131 * The current thread will not be frozen. The same process that calls
146 current->flags |= PF_SUSPEND_TASK; in freeze_processes()
211 struct task_struct *curr = current; in thaw_processes()
/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dlist_component.cpp124 int32_t current = 0; in InsertChild() local
129 --current; in InsertChild()
132 if (current == static_cast<int32_t>(pos)) { in InsertChild()
136 ++current; in InsertChild()
/third_party/libsnd/src/
H A Dmpc2k.c105 sf_count_t current ; in mpc2k_write_header() local
110 current = psf_ftell (psf) ; in mpc2k_write_header()
121 /* Reset the current header length to zero. */ in mpc2k_write_header()
150 if (current > 0) in mpc2k_write_header()
151 psf_fseek (psf, current, SEEK_SET) ; in mpc2k_write_header()

Completed in 23 milliseconds

1...<<11121314151617181920>>...75