/third_party/python/Lib/ |
H A D | pipes.py | 8 conversion involves several steps (e.g. piping it through compress or 9 uuencode). Some of the conversion steps may require that their input 15 more conversion steps together. It will take care of creating and 22 different conversion steps and store them in a dictionary, for 95 return '<Template instance, steps=%r>' % (self.steps,) 99 self.steps = [] 105 t.steps = self.steps[:] 121 if self.steps an [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/package-json/lib/ |
H A D | normalize.js | 91 const normalize = async (pkg, { strict, steps, root, changes, allowLegacyCase }) => { 100 if (steps.includes('fixNameField') || steps.includes('normalizeData')) { 126 if (steps.includes('fixVersionField') || steps.includes('normalizeData')) { 144 if (steps.includes('_attributes')) { 154 if (steps.includes('_id')) { 163 if (steps.includes('bundledDependencies')) { 171 if (steps.includes('bundleDependencies')) { 173 if (bd === false && !steps [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
H A D | autogain_functions.c | 23 int i, steps, retval = 0; in gspca_expo_autogain() local 31 /* If we are of a multiple of deadzone, do multiple steps to reach the in gspca_expo_autogain() 33 steps = abs(desired_avg_lum - avg_lum) / deadzone; in gspca_expo_autogain() 35 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps: %d\n", in gspca_expo_autogain() 36 avg_lum, desired_avg_lum, steps); in gspca_expo_autogain() 38 for (i = 0; i < steps; i++) { in gspca_expo_autogain() 103 int steps, retval = 0; in gspca_coarse_grained_expo_autogain() local 116 /* If we are of a multiple of deadzone, do multiple steps to reach the in gspca_coarse_grained_expo_autogain() 118 steps = (desired_avg_lum - avg_lum) / deadzone; in gspca_coarse_grained_expo_autogain() 120 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps in gspca_coarse_grained_expo_autogain() [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/gspca/ |
H A D | autogain_functions.c | 23 int i, steps, retval = 0; in gspca_expo_autogain() local 31 /* If we are of a multiple of deadzone, do multiple steps to reach the in gspca_expo_autogain() 33 steps = abs(desired_avg_lum - avg_lum) / deadzone; in gspca_expo_autogain() 35 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps: %d\n", in gspca_expo_autogain() 36 avg_lum, desired_avg_lum, steps); in gspca_expo_autogain() 38 for (i = 0; i < steps; i++) { in gspca_expo_autogain() 103 int steps, retval = 0; in gspca_coarse_grained_expo_autogain() local 116 /* If we are of a multiple of deadzone, do multiple steps to reach the in gspca_coarse_grained_expo_autogain() 118 steps = (desired_avg_lum - avg_lum) / deadzone; in gspca_coarse_grained_expo_autogain() 120 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps in gspca_coarse_grained_expo_autogain() [all...] |
/third_party/skia/src/gpu/ |
H A D | GrColorSpaceXform.h | 24 GrColorSpaceXform(const SkColorSpaceXformSteps& steps) : fSteps(steps) {} in GrColorSpaceXform() argument 31 const SkColorSpaceXformSteps& steps() const { return fSteps; } in steps() function in GrColorSpaceXform 38 // Code generation depends on which steps we apply, in XformKey() 42 const SkColorSpaceXformSteps& steps(xform->fSteps); in XformKey() 43 uint32_t key = steps.flags.mask(); in XformKey() 44 if (steps.flags.linearize) { in XformKey() 45 key |= classify_transfer_fn(steps.srcTF) << 8; in XformKey() 47 if (steps.flags.encode) { in XformKey() 48 key |= classify_transfer_fn(steps in XformKey() [all...] |
/third_party/ffmpeg/tests/checkasm/ |
H A D | vf_gblur.c | 39 int steps = 2; in check_horiz_slice() local 43 declare_func(void, float *dst, int w, int h, int steps, float nu, float bscale, float *localbuf); in check_horiz_slice() 44 call_ref(dst_ref, WIDTH, HEIGHT, steps, nu, bscale, localbuf); in check_horiz_slice() 45 call_new(dst_new, WIDTH, HEIGHT, steps, nu, bscale, localbuf); in check_horiz_slice() 54 int steps = 2; in check_verti_slice() local 59 int column_end, int steps, float nu, float bscale); in check_verti_slice() 60 call_ref(dst_ref, WIDTH, HEIGHT, 0, WIDTH, steps, nu, bscale); in check_verti_slice() 61 call_new(dst_new, WIDTH, HEIGHT, 0, WIDTH, steps, nu, bscale); in check_verti_slice()
|
/third_party/skia/src/core/ |
H A D | SkConvertPixels.cpp | 19 const SkColorSpaceXformSteps& steps) { in rect_memcpy() 25 && steps.flags.mask() != 0b00000) { in rect_memcpy() 36 const SkColorSpaceXformSteps& steps) { in swizzle_or_premul() 42 steps.flags.linearize || in swizzle_or_premul() 43 steps.flags.gamut_transform || in swizzle_or_premul() 44 steps.flags.unpremul || in swizzle_or_premul() 45 steps.flags.encode) { in swizzle_or_premul() 53 if (steps.flags.premul) { in swizzle_or_premul() 208 const SkColorSpaceXformSteps& steps) { in convert_with_pipeline() 214 steps in convert_with_pipeline() 17 rect_memcpy(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, const SkColorSpaceXformSteps& steps) rect_memcpy() argument 34 swizzle_or_premul(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, const SkColorSpaceXformSteps& steps) swizzle_or_premul() argument 206 convert_with_pipeline(const SkImageInfo& dstInfo, void* dstRow, int dstStride, const SkImageInfo& srcInfo, const void* srcRow, int srcStride, const SkColorSpaceXformSteps& steps) convert_with_pipeline() argument [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_gblur_init.h | 45 static void horiz_slice_c(float *buffer, int width, int height, int steps, in horiz_slice_c() argument 50 for (int step = 0; step < steps; step++) { in horiz_slice_c() 67 int column_begin, int column_end, int steps, in do_vertical_columns() 73 for (int step = 0; step < steps; step++) { in do_vertical_columns() 100 int slice_start, int slice_end, int steps, in verti_slice_c() 106 steps, nu, boundaryscale, 8); in verti_slice_c() 109 steps, nu, boundaryscale, 1); in verti_slice_c() 66 do_vertical_columns(float *buffer, int width, int height, int column_begin, int column_end, int steps, float nu, float boundaryscale, int column_step) do_vertical_columns() argument 99 verti_slice_c(float *buffer, int width, int height, int slice_start, int slice_end, int steps, float nu, float boundaryscale) verti_slice_c() argument
|
H A D | vf_gblur.c | 45 { "steps", "set number of steps", OFFSET(steps), AV_OPT_TYPE_INT, {.i64=1}, 1, 6, FLAGS }, 67 const int steps = s->steps; in filter_horizontally() local 76 steps, nu, boundaryscale, localbuf); in filter_horizontally() 90 const int steps = s->steps; in filter_vertically() local 95 steps, nu, boundaryscale); in filter_vertically() 128 if (s->sigma <= 0 || s->steps < in gaussianiir2d() 201 set_params(float sigma, int steps, float *postscale, float *boundaryscale, float *nu) set_params() argument [all...] |
H A D | gblur.h | 37 int steps; member 54 void (*horiz_slice)(float *buffer, int width, int height, int steps, float nu, float bscale, float *localbuf); 55 void (*verti_slice)(float *buffer, int width, int height, int slice_start, int slice_end, int steps,
|
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/ |
H A D | TdcResults.py | 18 self.steps = [] 52 self.steps.extend(newstep) 54 self.steps.append(step) 59 return self.steps 100 if len(t.steps) > 0: 102 for step in t.steps: 118 if len(t.steps) > 0: 120 for step in t.steps:
|
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/ |
H A D | TdcResults.py | 18 self.steps = [] 52 self.steps.extend(newstep) 54 self.steps.append(step) 59 return self.steps 100 if len(t.steps) > 0: 102 for step in t.steps: 118 if len(t.steps) > 0: 120 for step in t.steps:
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
H A D | usbduxfast.c | 115 * min delay steps for more than one channel 118 * steps at 30MHz in the FX2 123 * max number of 1/30MHz delay steps 355 unsigned int steps; in usbduxfast_ai_cmdtest() local 397 * for 1 channel the timing in 30MHz "steps" is: in usbduxfast_ai_cmdtest() 398 * steps <= MAX_SAMPLING_PERIOD in usbduxfast_ai_cmdtest() 400 * MIN_SAMPLING_PERIOD <= steps <= MAX_SAMPLING_PERIOD in usbduxfast_ai_cmdtest() 402 steps = (cmd->convert_arg * 30) / 1000; in usbduxfast_ai_cmdtest() 404 err2 |= comedi_check_trigger_arg_min(&steps, in usbduxfast_ai_cmdtest() 407 err2 |= comedi_check_trigger_arg_min(&steps, in usbduxfast_ai_cmdtest() 471 long steps, steps_tmp; usbduxfast_ai_cmd() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/ |
H A D | ecc-mxic.c | 104 int steps; member 140 if (section < 0 || section >= ctx->steps) in mxic_ecc_ooblayout_ecc() 155 if (section < 0 || section >= ctx->steps) in mxic_ecc_ooblayout_free() 226 int step_size = 0, strength = 0, desired_correction = 0, steps, idx; in mxic_ecc_init_ctx() local 261 steps = mtd->writesize / step_size; in mxic_ecc_init_ctx() 262 desired_correction = steps * strength; in mxic_ecc_init_ctx() 267 steps = mtd->writesize / conf->step_size; in mxic_ecc_init_ctx() 269 ctx->status = devm_kzalloc(dev, steps * sizeof(u8), GFP_KERNEL); in mxic_ecc_init_ctx() 274 strength = desired_correction / steps; in mxic_ecc_init_ctx() 289 if (spare_size[idx] * steps < in mxic_ecc_init_ctx() [all...] |
/kernel/linux/linux-6.6/drivers/comedi/drivers/ |
H A D | usbduxfast.c | 115 * min delay steps for more than one channel 118 * steps at 30MHz in the FX2 123 * max number of 1/30MHz delay steps 355 unsigned int steps; in usbduxfast_ai_cmdtest() local 397 * for 1 channel the timing in 30MHz "steps" is: in usbduxfast_ai_cmdtest() 398 * steps <= MAX_SAMPLING_PERIOD in usbduxfast_ai_cmdtest() 400 * MIN_SAMPLING_PERIOD <= steps <= MAX_SAMPLING_PERIOD in usbduxfast_ai_cmdtest() 402 steps = (cmd->convert_arg * 30) / 1000; in usbduxfast_ai_cmdtest() 404 err2 |= comedi_check_trigger_arg_min(&steps, in usbduxfast_ai_cmdtest() 407 err2 |= comedi_check_trigger_arg_min(&steps, in usbduxfast_ai_cmdtest() 471 long steps, steps_tmp; usbduxfast_ai_cmd() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcCompressedFormatTests.cpp | 448 vector<ApiCaseStep> steps; member 521 { // vector<ApiCaseStep> steps; 552 { // vector<ApiCaseStep> steps; 561 [](deqp::Context&, vector<ApiCaseStep>& steps) // ApiCaseStepGeneratorFn stepsGenerator; 563 steps.push_back( 573 steps.push_back( 581 steps.push_back( 610 { // vector<ApiCaseStep> steps; 634 {}, // vector<ApiCaseStep> steps; 635 [](deqp::Context& testContext, vector<ApiCaseStep>& steps) // ApiCaseStepGeneratorF [all...] |
/third_party/ffmpeg/libavfilter/x86/ |
H A D | vf_gblur_init.c | 27 void ff_horiz_slice_sse4(float *ptr, int width, int height, int steps, float nu, float bscale, float *localbuf); 28 void ff_horiz_slice_avx2(float *ptr, int width, int height, int steps, float nu, float bscale, float *localbuf); 29 void ff_horiz_slice_avx512(float *ptr, int width, int height, int steps, float nu, float bscale, float *localbuf); 36 int steps, float nu, float bscale); 38 int steps, float nu, float bscale);
|
/third_party/libunwind/libunwind/tests/ |
H A D | Ltest-mem-validate.c | 52 (steps > 5) before touching the forbidden region in the stack, in do_backtrace() 62 int steps = 0; in do_backtrace() local 79 steps ++; in do_backtrace() 83 if (steps < 5) in do_backtrace() 85 printf("not enough steps: %d, need 5\n", steps); in do_backtrace() 88 printf("success, steps: %d\n", steps); in do_backtrace()
|
H A D | Ltest-init-local-signal.c | 13 int steps = 0; in stepper() local 21 steps++; in stepper() 23 return steps; in stepper() 44 printf("unw_getcontext steps was %i, ucontext steps was %i, should be %i\n", in handler()
|
/third_party/vk-gl-cts/scripts/ |
H A D | check_build_sanity.py | 133 def runSteps (steps): 134 for step in steps: 230 for name, steps in recipes: 231 allSteps += steps 239 for curName, steps in recipes: 241 return (curName, steps) 286 for name, steps in RECIPES: 287 for step in steps: 292 name, steps = getAllRecipe(RECIPES) if args.recipe == "all" \ 297 allSteps = (PREREQUISITES if (args.skipPrerequisites == False) else []) + steps [all...] |
/third_party/rust/crates/regex/tests/ |
H A D | searcher.rs | 5 ($name:ident, $re:expr, $haystack:expr, $($steps:expr,)*) => ( 6 searcher!($name, $re, $haystack, vec vec![$($steps),*]); 8 ($name:ident, $re:expr, $haystack:expr, $($steps:expr),*) => ( 9 searcher!($name, $re, $haystack, vec vec![$($steps),*]);
|
/third_party/skia/tests/ |
H A D | SkColorSpaceXformStepsTest.cpp | 67 // As in the general case, when we change the alpha type unpremul and premul steps drop out. in DEF_TEST() 135 SkColorSpaceXformSteps steps{t.src.get(), t.srcAT, in DEF_TEST() 137 REPORTER_ASSERT(r, steps.flags.unpremul == t.unpremul); in DEF_TEST() 138 REPORTER_ASSERT(r, steps.flags.linearize == t.linearize); in DEF_TEST() 139 REPORTER_ASSERT(r, steps.flags.gamut_transform == t.gamut_transform); in DEF_TEST() 140 REPORTER_ASSERT(r, steps.flags.encode == t.encode); in DEF_TEST() 141 REPORTER_ASSERT(r, steps.flags.premul == t.premul); in DEF_TEST()
|
/third_party/libwebsockets/lib/drivers/led/ |
H A D | led-seq.c | 156 int steps; in lws_led_set_chs_seq() local 167 * 65536 phase steps (one cycle) in 2000ms at 30Hz timer rate means we in lws_led_set_chs_seq() 172 steps = def->ms / LWS_LED_SEQUENCER_UPDATE_INTERVAL_MS; in lws_led_set_chs_seq() 174 def->ledphase_total : LWS_LED_FUNC_PHASE) / (steps ? steps : 1); in lws_led_set_chs_seq() 182 return steps; in lws_led_set_chs_seq()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-rs5c372.c | 591 long steps = LONG_MIN; in rs5c372_set_offset() local 608 steps = DIV_ROUND_CLOSEST(offset, 1017); in rs5c372_set_offset() 609 if (steps >= -0x3E && steps <= 0x3E) { in rs5c372_set_offset() 619 steps = LONG_MIN; in rs5c372_set_offset() 626 if (steps == LONG_MIN) { in rs5c372_set_offset() 627 steps = DIV_ROUND_CLOSEST(offset, ppb_per_step); in rs5c372_set_offset() 628 if (steps > 0x3E || steps < -0x3E) in rs5c372_set_offset() 632 if (steps > in rs5c372_set_offset() [all...] |
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec/ |
H A D | sec_algs.c | 549 int *steps, gfp_t gfp) in sec_alg_alloc_and_calc_split_sizes() 555 *steps = roundup(length, SEC_REQ_LIMIT) / SEC_REQ_LIMIT; in sec_alg_alloc_and_calc_split_sizes() 556 sizes = kcalloc(*steps, sizeof(*sizes), gfp); in sec_alg_alloc_and_calc_split_sizes() 560 for (i = 0; i < *steps - 1; i++) in sec_alg_alloc_and_calc_split_sizes() 562 sizes[*steps - 1] = length - SEC_REQ_LIMIT * (*steps - 1); in sec_alg_alloc_and_calc_split_sizes() 569 int steps, struct scatterlist ***splits, in sec_map_and_split_sg() 580 *splits = kcalloc(steps, sizeof(struct scatterlist *), gfp); in sec_map_and_split_sg() 585 *splits_nents = kcalloc(steps, sizeof(int), gfp); in sec_map_and_split_sg() 592 ret = sg_split(sgl, count, 0, steps, split_size in sec_map_and_split_sg() 548 sec_alg_alloc_and_calc_split_sizes(int length, size_t **split_sizes, int *steps, gfp_t gfp) sec_alg_alloc_and_calc_split_sizes() argument 568 sec_map_and_split_sg(struct scatterlist *sgl, size_t *split_sizes, int steps, struct scatterlist ***splits, int **splits_nents, int sgl_len_in, struct device *dev, gfp_t gfp) sec_map_and_split_sg() argument 615 sec_unmap_sg_on_err(struct scatterlist *sgl, int steps, struct scatterlist **splits, int *splits_nents, int sgl_len_in, struct device *dev) sec_unmap_sg_on_err() argument 716 int i, ret, steps; sec_alg_skcipher_crypto() local [all...] |