/third_party/python/Tools/peg_generator/pegen/ |
D | grammar_parser.py | 44 cut = False 52 if cut: return None 59 cut = False 67 if cut: return None 68 cut = False 74 if cut: return None 81 cut = False 89 if cut: return None 90 cut = False 96 if cut: return None [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | math_utils.cc | 32 int32_t cut = static_cast<int32_t>((low_p / kMaxPerc) * n); in ComputeUpperAndLowerPercentiles() local 33 for (int32_t lb = 0; lb < hist->size() && cut > 0; lb++) { in ComputeUpperAndLowerPercentiles() 34 if (cut > (*hist)[lb]) { in ComputeUpperAndLowerPercentiles() 35 cut -= (*hist)[lb]; in ComputeUpperAndLowerPercentiles() 38 (*hist)[lb] -= cut; in ComputeUpperAndLowerPercentiles() 39 cut = 0; in ComputeUpperAndLowerPercentiles() 42 cut = static_cast<int32_t>((hi_p / kMaxPerc) * n); in ComputeUpperAndLowerPercentiles() 43 for (auto ub_iter = hist->end() - 1; ub_iter >= hist->begin() && cut > 0; ub_iter--) { in ComputeUpperAndLowerPercentiles() 44 if (cut > *ub_iter) { in ComputeUpperAndLowerPercentiles() 45 cut -= *ub_iter; in ComputeUpperAndLowerPercentiles() [all …]
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/shrine/supplemental/ |
D | cut_corners_border.dart | 24 this.cut = 7.0, 37 double cut, 43 cut: cut ?? this.cut, 47 final double cut; 56 cut: cut, 70 cut: cut, 82 path..lineTo(center.left + cut, center.top)..lineTo(start, center.top); 84 path.moveTo(center.left + cut, center.top); 86 path.lineTo(center.left + cut, center.top); 93 ..lineTo(center.right - cut, center.top) [all …]
|
/third_party/ltp/testcases/kernel/controllers/ |
D | test_controllers.sh | 42 CPU_CONTROLLER=`grep -w cpu /proc/cgroups | cut -f1`; 43 CPU_CONTROLLER_VALUE=`grep -w cpu /proc/cgroups | cut -f4`; 44 MEM_CONTROLLER=`grep -w memory /proc/cgroups | cut -f1`; 45 MEM_CONTROLLER_VALUE=`grep -w memory /proc/cgroups | cut -f4`; 46 IOTHROTTLE_CONTROLLER=`grep -w blockio /proc/cgroups | cut -f1`; 47 IOTHROTTLE_CONTROLLER_VALUE=`grep -w blockio /proc/cgroups | cut -f4`; 48 FREEZER=`grep -w freezer /proc/cgroups | cut -f1`; 49 FREEZER_VALUE=`grep -w freezer /proc/cgroups | cut -f4`; 50 CPUACCOUNT_CONTROLLER=`grep -w cpuacct /proc/cgroups | cut -f1` 51 CPUACCOUNT_CONTROLLER_VALUE=`grep -w cpuacct /proc/cgroups | cut -f4`
|
/third_party/curl/src/ |
D | tool_msgs.c | 58 size_t cut = width-1; in voutf() local 60 while(!ISSPACE(ptr[cut]) && cut) { in voutf() 61 cut--; in voutf() 63 if(0 == cut) in voutf() 66 cut = width-1; in voutf() 68 (void)fwrite(ptr, cut + 1, 1, config->errors); in voutf() 70 ptr += cut + 1; /* skip the space too */ in voutf() 71 len -= cut + 1; in voutf()
|
/third_party/python/Objects/stringlib/ |
D | fastsearch.h | 267 Py_ssize_t cut1, period1, cut2, period2, cut, period; in STRINGLIB() local 274 cut = cut1; in STRINGLIB() 278 cut = cut2; in STRINGLIB() 281 LOG("split: "); LOG_STRING(needle, cut); in STRINGLIB() 282 LOG(" + "); LOG_STRING(needle + cut, len_needle - cut); in STRINGLIB() 286 return cut; in STRINGLIB() 300 Py_ssize_t cut; 313 p->cut = STRINGLIB(_factorize)(needle, len_needle, &(p->period)); in STRINGLIB() 314 assert(p->period + p->cut <= len_needle); in STRINGLIB() 317 p->cut * STRINGLIB_SIZEOF_CHAR)); in STRINGLIB() [all …]
|
D | stringlib_find_two_way_notes.txt | 27 * "Very carefully" cut the needle in two. 47 cut: <<<<>>>> 53 cut: <<<<>>>> 55 Why are we allowed to do this? Because we cut the needle very 56 carefully, in such a way that if the cut is ...abcd + EFGH... then 66 cut, then the following alignments do not work, so we can skip them: 166 This is because no matter how you cut it, you'll get 167 s[cut-3:cut] == s[cut:cut+3]. So what do we do? We still cut the 179 since ?AA == bAA. We already knew that a cut to make length-3 184 that no matter the period of the original needle, you can cut it in [all …]
|
/third_party/ltp/lib/newlib_tests/shell/ |
D | test_timeout.sh | 114 file=$(echo $d | cut -d'|' -f1 | xargs) 115 timeout=$(echo $d | cut -d'|' -f2 | xargs) 116 use_cat=$(echo $d | cut -d'|' -f3 | xargs) 117 max_runtime=$(echo $d | cut -d'|' -f4 | xargs) 119 exp_exit=$(echo $d | cut -d'|' -f5 | xargs) 121 exp_passed=$(echo $d | cut -d'|' -f6 | xargs) 123 exp_failed=$(echo $d | cut -d'|' -f7 | xargs) 125 exp_broken=$(echo $d | cut -d'|' -f8 | xargs) 127 description=$(echo $d | cut -d'|' -f9)
|
/third_party/alsa-utils/bat/tests/ |
D | analog_audio_playback_and_capture.sh | 25 card_number=$(aplay -l | grep "Analog" | cut -b 6) 32 device_number=$(aplay -l | grep "Analog"| cut -d " " -f 8 |cut -b 1) 43 record_card_number=$(arecord -l | grep "Analog" | cut -b 6) 50 record_device_number=$(arecord -l | grep "Analog"| cut -d " " -f 8 |cut -b 1)
|
D | hdmi_audio_playback.sh | 35 HDMI_card_number=$(aplay -l | grep "HDMI 0" | cut -b 6) 46 record_card_number=$(arecord -l | grep "Analog" | cut -b 6) 53 record_device_number=$(arecord -l | grep "Analog"| cut -d " " -f 8 |cut -b 1)
|
D | dp_audio_playback.sh | 35 DP_card_number=$(aplay -l | grep "HDMI 0" | cut -b 6) 46 record_card_number=$(arecord -l | grep "Analog" | cut -b 6) 53 record_device_number=$(arecord -l | grep "Analog"| cut -d " " -f 8 |cut -b 1)
|
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/ |
D | ima_keys.sh | 65 sed "s/\./\\\./g" | cut -d'=' -f2; done | sed ':a;N;$!ba;s/\n/|/g') 72 cut -d'=' -f2; done | sed ':a;N;$!ba;s/\n/|/g') 81 digest=$(echo "$line" | cut -d' ' -f4 | cut -d':' -f2) 82 algorithm=$(echo "$line" | cut -d' ' -f4 | cut -d':' -f1) 83 keyring=$(echo "$line" | cut -d' ' -f5) 85 echo "$line" | cut -d' ' -f6 | tst_hexdump -d > $test_file 128 grep $keyring_name $ASCII_MEASUREMENTS | tail -n1 | cut -d' ' -f6 | \
|
D | ima_selinux.sh | 84 algorithm=$(echo "$line" | cut -d' ' -f4 | cut -d':' -f1) 85 policy_digest=$(echo "$line" | cut -d' ' -f6) 125 digest=$(echo "$line" | cut -d' ' -f4 | cut -d':' -f2) 126 algorithm=$(echo "$line" | cut -d' ' -f4 | cut -d':' -f1) 128 echo "$line" | cut -d' ' -f6 | tst_hexdump -d > $state_file
|
D | ima_kexec.sh | 31 algorithm=$(echo "$found" | cut -d' ' -f4 | cut -d':' -f1) 32 digest=$(echo "$found" | cut -d' ' -f4 | cut -d':' -f2)
|
/third_party/curl/ |
D | curl-config.in | 105 cmajor=`echo $checkfor | cut -d. -f1` 106 cminor=`echo $checkfor | cut -d. -f2` 109 cpatch=`echo $checkfor | cut -d. -f3 | cut -d- -f1` 111 vmajor=`echo @CURLVERSION@ | cut -d. -f1` 112 vminor=`echo @CURLVERSION@ | cut -d. -f2` 115 vpatch=`echo @CURLVERSION@ | cut -d. -f3 | cut -d- -f1`
|
/third_party/libwebsockets/scripts/ |
D | mozilla-trust-gen.sh | 103 DERSIZ=`cat _trust/single | grep -v -- '---' | base64 -d | wc -c | cut -d' ' -f1` 106 …cut -d' ' -f 2-17 | cut -d'|' -f1 | grep -v 000 | sed "s/\ //g" | sed ':a;N;$!ba;s/\n//g' | xxd -r… 115 SKIDSIZ=`echo -n $SKID_NO_COLONS | xxd -r -p | wc -c | cut -d' ' -f1` 123 echo -n $(( $ST + ( `echo -n $skidname | wc -c | cut -d' ' -f1` / 2 ) )) > _trust/skidtab 148 POS=$(( $POS + `cat _trust/_ders | wc -c | cut -d' ' -f1` )) 153 POS=$(( $POS + `cat _trust/_derlens | wc -c | cut -d' ' -f1` )) 158 POS=$(( $POS + `cat _trust/_skidlens | wc -c | cut -d' ' -f1` )) 163 POS=$(( $POS + `cat _trust/_skid | wc -c | cut -d' ' -f1` )) 181 cut -d' ' -f 2-17 | cut -d'|' -f1 | grep -v 000 | sed "s/\ /,\ 0x/g" | sed "s/^/0x/g" | \
|
/third_party/ltp/testcases/kernel/hotplug/cpu_hotplug/include/ |
D | cpuhotplug_hotplug.sh | 16 echo `egrep [0-9]+: /proc/interrupts | cut -d ':' -f 1` 150 range_low=$(echo $part | cut -d - -f 1) 151 range_high=$(echo $part | cut -d - -f 2) 223 cpu=`echo $cpu_state | cut -d: -f 1` 224 state=`echo $cpu_state | cut -d: -f 2` 241 echo `cd /sys/devices/system/cpu/ && grep 1 */online | cut -d '/' -f 1` 253 echo `cd /sys/devices/system/cpu/ && grep 0 */online | cut -d '/' -f 1`
|
/third_party/alsa-lib/ |
D | acinclude.m4 | 7 SND_LIB_MAJOR=`echo $VERSION | cut -d . -f 1` 9 SND_LIB_MINOR=`echo $VERSION | cut -d . -f 2` 11 SND_LIB_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([[^[:alpha:]]]*\)\(.*\)$/\1/g'` 13 SND_LIB_EXTRASTR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([[^[:alpha:]]]*\)\([[[:alpha:]]]*\)\… 14 SND_LIB_EXTRAVER=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([[^[:alpha:]]]*\)\([[[:alpha:]]]*\)\…
|
/third_party/libunwind/tests/ |
D | perf-startup | 5 warmup=$(./forker 2000 /bin/true | cut -f1 -d' ') 7 nsec1=$(./forker 2000 /bin/true | cut -f1 -d' ') 10 nsec2=$(LD_PRELOAD=$LIBUNWIND ./forker 2000 /bin/true | cut -f1 -d' ') 13 nsec3=$(LD_PRELOAD=$LIBUNWIND_PLAT ./forker 2000 /bin/true | cut -f1 -d' ')
|
/third_party/ltp/testcases/kernel/power_management/ |
D | pm_include.sh | 89 siblings=`grep siblings /proc/cpuinfo | uniq | cut -f2 -d':'` 90 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq | cut -f2 -d':'` 133 siblings=`grep siblings /proc/cpuinfo | uniq | cut -f2 -d':'` 134 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq | cut -f2 -d':'` 144 siblings=`grep siblings /proc/cpuinfo | uniq | cut -f2 -d':'` 146 | cut -f2 -d':'` 158 | cut -f1 -d'-'`
|
/third_party/boost/libs/graph/doc/ |
D | BUILD_DOCS.sh | 18 fdp -s -n -Tgif -ostoer_wagner_imgs/digraph1-min-cut.gif stoer_wagner_imgs/digraph1-min-cut.dot 21 …gif -ostoer_wagner_imgs/stoer_wagner-example-min-cut.gif stoer_wagner_imgs/stoer_wagner-example-mi…
|
/third_party/grpc/tools/distrib/ |
D | check_protobuf_pod_version.sh | 23 version1=$(git describe --tags | cut -f 1 -d'-') 29 v2=$(cat src/objective-c/\!ProtoCompiler.podspec | egrep "v = " | cut -f 2 -d"'") 32 …jective-c/\!ProtoCompiler-gRPCPlugin.podspec | egrep 'dependency.*!ProtoCompiler' | cut -f 4 -d"'")
|
/third_party/alsa-utils/ |
D | acinclude.m4 | 6 SND_UTIL_MAJOR=`echo $VERSION | cut -d . -f 1` 8 SND_UTIL_MINOR=`echo $VERSION | cut -d . -f 2` 10 SND_UTIL_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/pre[[0-9]]*//g'`
|
/third_party/curl/scripts/ |
D | contrithanks.sh | 57 cut -d: -f2- | \ 58 cut '-d(' -f1 | \ 59 cut '-d<' -f1 | \
|
D | contributors.sh | 65 cut -d: -f2- | \ 66 cut '-d(' -f1 | \ 67 cut '-d<' -f1 | \
|