Home
last modified time | relevance | path

Searched full:var1 (Results 1 – 25 of 60) sorted by relevance

123

/openbmc/openbmc-test-automation/lib/
H A Dvar_stack.py30 var1 = "johnson"
31 save_stack.push(var1)
32 var1 = "smith"
34 var1 = save_stack.pop('var1')
35 # var1 has now been restored to the value "johnson".
40 var1 = "mike"
41 save_stack.push(var1)
42 var1 = "james"
43 save_stack.push(var1)
50 [var1]:
[all …]
H A Descape.tcl121 # set var1 {john*sm(]ith}
122 # print_vars var1
123 # set var1 [escape_regex_metachars $var1]
124 # print_vars var1
128 # var1: john*sm(]ith
129 # var1: john\*sm\(\]ith
H A Dgen_misc.py283 var1="This one"
284 Quotes are stripped so the resulting value for var1 is:
504 var1 = 0xfffffffffffffff1
505 print_var(var1)
506 print_var(var1, hexa())
507 var1 = to_signed(var1)
508 print_var(var1)
509 print_var(var1, hexa())
512 var1: 18446744073709551601
513 var1: 0x00000000fffffffffffffff1
[all …]
H A Dgen_valid.py86 error_message = valid_value(var1)
126 # def valid_value(var_value, var1, var2, varn, var_name=None):
160 valid_type(var1, int)
162 valid_type(var1, (list, dict))
200 var1 = ''
201 valid_value(var1)
203 … This code would fail because var1 is blank and the default value for invalid_values is ['', None].
206 var1 = 'yes'
207 valid_value(var1, valid_values=['yes', 'true'])
H A Dgen_robot_print.py26 … The names of the variables to be printed (e.g. var1 rather than ${var1}).
/openbmc/linux/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
H A Dtrigger-synthetic-event-syntax.tc27 echo "myevent u64 var1" >> synthetic_events
30 grep "myevent[[:space:]]u64 var1" synthetic_events
37 echo "myevent u64 var1" >> synthetic_events
43 echo "myevent u64 var1; u64 var2;" > synthetic_events
44 grep "myevent[[:space:]]u64 var1; u64 var2" synthetic_events
45 echo "myevent u64 var1 ; u64 var2 ;" > synthetic_events
46 grep "myevent[[:space:]]u64 var1; u64 var2" synthetic_events
47 echo "myevent u64 var1 ;u64 var2" > synthetic_events
48 grep "myevent[[:space:]]u64 var1; u64 var2" synthetic_events
/openbmc/linux/drivers/staging/media/atomisp/include/hmm/
H A Dhmm_common.h29 #define var_equal_return(var1, var2, exp, fmt, arg ...) \ argument
31 if ((var1) == (var2)) { \
38 #define var_equal_return_void(var1, var2, fmt, arg ...) \ argument
40 if ((var1) == (var2)) { \
47 #define var_equal_goto(var1, var2, label, fmt, arg ...) \ argument
49 if ((var1) == (var2)) { \
56 #define var_not_equal_goto(var1, var2, label, fmt, arg ...) \ argument
58 if ((var1) != (var2)) { \
/openbmc/linux/drivers/iio/chemical/
H A Dbme680_core.c341 s64 var1, var2, var3; in bme680_compensate_temp() local
348 var1 = (adc_temp >> 3) - ((s32)calib->par_t1 << 1); in bme680_compensate_temp()
349 var2 = (var1 * calib->par_t2) >> 11; in bme680_compensate_temp()
350 var3 = ((var1 >> 1) * (var1 >> 1)) >> 12; in bme680_compensate_temp()
369 s32 var1, var2, var3, press_comp; in bme680_compensate_press() local
371 var1 = (data->t_fine >> 1) - 64000; in bme680_compensate_press()
372 var2 = ((((var1 >> 2) * (var1 >> 2)) >> 11) * calib->par_p6) >> 2; in bme680_compensate_press()
373 var2 = var2 + (var1 * calib->par_p5 << 1); in bme680_compensate_press()
375 var1 = (((((var1 >> 2) * (var1 >> 2)) >> 13) * in bme680_compensate_press()
377 ((calib->par_p2 * var1) >> 1); in bme680_compensate_press()
[all …]
/openbmc/u-boot/drivers/ddr/marvell/axp/
H A Dddr3_sdram.c96 u32 var1; in compare_pattern_v1() local
103 var1 = ((sdram_data[uj] >> val) & CMP_BYTE_MASK); in compare_pattern_v1()
106 if (var1 != var2) { in compare_pattern_v1()
117 if (((var1 >> dq) & 0x1) != in compare_pattern_v1()
133 u32 var1; in compare_pattern_v2() local
140 var1 = (sdram_data[uj] >> val) & CMP_BYTE_MASK; in compare_pattern_v2()
142 if (var1 != var2) in compare_pattern_v2()
223 u32 uj, uk, var1, var2, pup_groups; in ddr3_sdram_dm_compare() local
253 var1 = ((sdram_data[uj] >> val) & CMP_BYTE_MASK); in ddr3_sdram_dm_compare()
255 if (var1 != var2) { in ddr3_sdram_dm_compare()
[all …]
/openbmc/openbmc/poky/scripts/postinst-intercepts/
H A Dpostinst_intercept10 # Usage: postinst_intercept <intercept_script_name> <package_name> <mlprefix=...> <var1=...> ... <v…
15 # * var1=... - var1 will have the value we provide in the intercept script. This
/openbmc/linux/drivers/iio/pressure/
H A Dbmp280-core.c321 s32 var1, var2; in bmp280_compensate_temp() local
323 var1 = (((adc_temp >> 3) - ((s32)calib->T1 << 1)) * in bmp280_compensate_temp()
328 data->t_fine = var1 + var2; in bmp280_compensate_temp()
344 s64 var1, var2, p; in bmp280_compensate_press() local
346 var1 = ((s64)data->t_fine) - 128000; in bmp280_compensate_press()
347 var2 = var1 * var1 * (s64)calib->P6; in bmp280_compensate_press()
348 var2 += (var1 * (s64)calib->P5) << 17; in bmp280_compensate_press()
350 var1 = ((var1 * var1 * (s64)calib->P3) >> 8) + in bmp280_compensate_press()
351 ((var1 * (s64)calib->P2) << 12); in bmp280_compensate_press()
352 var1 = ((((s64)1) << 47) + var1) * ((s64)calib->P1) >> 33; in bmp280_compensate_press()
[all …]
/openbmc/openbmc-test-automation/ffdc/templates/
H A Denv_vars_template.yaml6 # var1, var2, var3 and so on you can add and populate as needed.
8 var1: 1
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_static_linked1.c10 int var1 = -1; variable
24 var1 = subprog(rovar1) + static_var1 + static_var2; in handler1()
H A Dtest_subskeleton_lib.c9 const volatile int var1; variable
51 libout1 = var1 + var2 + var3.var3_1 + var3.var3_2 + var5 + var6; in lib_routine()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dstatic_linked.c30 ASSERT_EQ(skel->data->var1, 1 * 2 + 2 + 3, "var1"); in test_static_linked()
H A Dsubskeleton.c15 *lib->rodata.var1 = 1; in subskeleton_lib_setup()
59 skel->rodata->var1 = 1; in test_subskeleton()
H A Dbtf_write.c252 id = btf__add_var(btf, "var1", BTF_VAR_GLOBAL_ALLOCATED, 1); in gen_btf()
255 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "var1", "var_name"); in gen_btf()
260 "[16] VAR 'var1' type_id=1, linkage=global-alloc", "raw_dump"); in gen_btf()
389 "[16] VAR 'var1' type_id=1, linkage=global-alloc", in test_btf_add()
448 "[16] VAR 'var1' type_id=1, linkage=global-alloc", in test_btf_add_btf()
483 "[38] VAR 'var1' type_id=23, linkage=global-alloc", in test_btf_add_btf()
/openbmc/qemu/tests/qapi-schema/
H A Ddoc-good.out23 member var1: str optional=False
127 @var1 is undocumented
128 arg=var1
H A Ddoc-good.txt95 "var1" is undocumented
101 "var1": "string" (**If: **"IFSTR")
/openbmc/qemu/tests/qtest/
H A Dmigration-helpers.c386 char *find_common_machine_version(const char *mtype, const char *var1, in find_common_machine_version() argument
389 g_autofree char *type1 = qtest_resolve_machine_alias(var1, mtype); in find_common_machine_version()
403 if (qtest_has_machine_with_env(var1, type2)) { in find_common_machine_version()
408 "binaries %s and %s", mtype, getenv(var1), getenv(var2)); in find_common_machine_version()
412 char *resolve_machine_version(const char *alias, const char *var1, in resolve_machine_version() argument
434 return find_common_machine_version(machine_name, var1, var2); in resolve_machine_version()
H A Dmigration-helpers.h53 char *find_common_machine_version(const char *mtype, const char *var1,
55 char *resolve_machine_version(const char *alias, const char *var1,
/openbmc/openbmc-test-automation/
H A DCONTRIBUTING.md48 ${var1} ${EMPTY}
71 Run Keyword If '${var1}' == '${0}' My Keyword
77 Run Keyword If '${var1}'=='${0}' My Keyword
232 ${var1}= Set Variable ${1}
233 ${var1}= My Keyword
239 ${var1} = Set Variable ${1}
240 ${var1} = My Keyword
/openbmc/linux/tools/testing/selftests/ftrace/test.d/dynevent/
H A Dtprobe_syntax_errors.tc64 check_error 't kfree var1=@11 ^var1=@12' # USED_ARG_NAME
/openbmc/qemu/scripts/simplebench/
H A Dimg_bench_templater.py61 column templating: {var1|var2|...} - test will use different values in
65 row templating: [var1|var2|...] - similar thing to define rows (test-cases)
/openbmc/linux/Documentation/locking/
H A Dlocktypes.rst422 struct foo *p = get_cpu_ptr(&var1);
435 p = this_cpu_ptr(&var1);
440 in turn guarantees that the per-CPU access to var1 and var2 are staying on
451 p = this_cpu_ptr(&var1);
462 p = this_cpu_ptr(&var1);

123