Searched refs:actual (Results 1 - 25 of 363) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
H A Doptimization_test.py43 def compare(actual, expected):
45 actual = sexps.sort_decls(sexps.parse_sexp(actual))
48 if actual == expected:
51 actual = sexps.sexp_to_string(actual)
54 return difflib.unified_diff(expected.splitlines(), actual.splitlines())
H A Dwarnings_test.py58 actual = subprocess.check_output(
62 if actual == expected:
H A Dblob_test.c54 expect_equal(uint64_t expected, uint64_t actual, const char *test) argument
56 if (actual != expected) {
61 test, expected, actual);
67 expect_unequal(uint64_t expected, uint64_t actual, const char *test) argument
69 if (actual == expected) {
73 test, actual);
79 expect_equal_str(const char *expected, const char *actual, const char *test) argument
81 if (strcmp(expected, actual)) {
84 test, expected, actual);
90 expect_equal_bytes(uint8_t *expected, const uint8_t *actual, argument
[all...]
H A Dcache_test.c56 expect_equal(uint64_t actual, uint64_t expected, const char *test) argument
58 if (actual != expected) {
61 test, expected, actual);
87 expect_equal_str(const char *actual, const char *expected, const char *test) argument
89 if (strcmp(actual, expected)) {
92 test, expected, actual);
/xsrc/external/mit/xterm/dist/vttests/
H A Derase.pl94 my $actual;
101 $actual = $length;
119 move_to($margin + ($number % ($actual / 3)));
122 move_to($margin + ((2 * $actual) / 3) + ($number % ($actual / 3)));
125 move_to($margin + ((1 * $actual) / 3) + ($number % ($actual / 3)));
126 erase_middle($actual / 10);
H A Dsetpos.pl184 my $actual = shift;
185 printf " ?%s:%d", $name, $expect if ( $expect != $actual );
209 my @actual = `xwininfo -id $ENV{WINDOWID} | grep " upper-left [XY]:"`;
210 for my $n ( 0 .. $#actual ) {
211 $actual[$n] =~ s/^.*:\s+//;
213 if ( $#actual == 3 ) {
214 printf " abs(%d,%d) rel(%d,%d)", $actual[0], $actual[1],
215 $actual[2], $actual[
[all...]
H A Ddecsed.pl83 my $actual;
85 $actual = $length;
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/
H A Doptimization_test.py51 def compare(actual, expected):
53 actual = sexps.sort_decls(sexps.parse_sexp(actual))
56 if actual == expected:
59 actual = sexps.sexp_to_string(actual)
62 return difflib.unified_diff(expected.splitlines(), actual.splitlines())
H A Dwarnings_test.py86 actual = proc.stdout.splitlines()
88 if actual == expected:
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dprocess_test.c42 expect_equal_str(const char *expected, const char *actual, const char *test) argument
44 if (strcmp(expected, actual)) {
47 test, expected, actual);
H A Dblob_test.c54 expect_equal(uint64_t expected, uint64_t actual, const char *test) argument
56 if (actual != expected) {
61 test, expected, actual);
67 expect_unequal(uint64_t expected, uint64_t actual, const char *test) argument
69 if (actual == expected) {
73 test, actual);
79 expect_equal_str(const char *expected, const char *actual, const char *test) argument
81 if (strcmp(expected, actual)) {
84 test, expected, actual);
90 expect_equal_bytes(uint8_t *expected, const uint8_t *actual, argument
[all...]
H A Du_atomic.h246 uint32_t actual = p_atomic_read(v); local in function:p_atomic_xchg_32
249 expected = actual;
250 actual = p_atomic_cmpxchg(v, expected, i);
251 } while (expected != actual);
252 return actual;
257 uint64_t actual = p_atomic_read(v); local in function:p_atomic_xchg_64
260 expected = actual;
261 actual = p_atomic_cmpxchg(v, expected, i);
262 } while (expected != actual);
263 return actual;
[all...]
/xsrc/external/mit/MesaLib/dist/bin/
H A Dgen_calendar_entries_test.py42 """Replace the actual CSV data with our test data."""
183 actual = gen_calendar_entries.read_calendar()
185 assert actual == expected
202 actual = gen_calendar_entries.read_calendar()
211 assert actual == expected
228 actual = gen_calendar_entries.read_calendar()
238 assert actual == expected
254 actual = gen_calendar_entries.read_calendar()
265 assert actual == expected
300 actual
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/tests/
H A Ddag_test.cpp33 struct util_dynarray expect, actual; member in class:dag_test
41 util_dynarray_init(&actual, mem_ctx);
133 #define TEST_CHECK() EXPECT_PRED_FORMAT2(int_dynarrays_equal_pred, &expect, &actual)
149 dag_traverse_bottom_up(dag, output_cb, &actual);
173 dag_traverse_bottom_up(dag, output_cb, &actual);
201 dag_traverse_bottom_up(dag, output_cb, &actual);
227 dag_traverse_bottom_up(dag, output_cb, &actual);
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Du_atomic.h229 uint32_t actual = p_atomic_read(v); local in function:p_atomic_xchg_32
232 expected = actual;
233 actual = p_atomic_cmpxchg(v, expected, i);
234 } while (expected != actual);
235 return actual;
240 uint64_t actual = p_atomic_read(v); local in function:p_atomic_xchg_64
243 expected = actual;
244 actual = p_atomic_cmpxchg(v, expected, i);
245 } while (expected != actual);
246 return actual;
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/glcpp/tests/
H A Dglcpp_test.py72 actual, _ = proc.communicate(contents)
73 actual = actual.decode('utf-8')
84 actual = actual.replace('$end', 'end of file')
86 if actual == expected:
88 return (False, difflib.unified_diff(actual.splitlines(), expected.splitlines()))
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dir_function.cpp65 const ir_rvalue *const actual = (ir_rvalue *) node_b; local in function:parameter_lists_match
67 if (param->type == actual->type)
70 /* Try to find an implicit conversion from actual to param. */
87 !actual->type->can_implicitly_convert_to(param->type, state))
92 if (!param->type->can_implicitly_convert_to(actual->type, state))
137 const ir_rvalue *actual)
144 to_type = actual->type;
146 from_type = actual->type;
318 * multiple ways to apply these conversions to the actual arguments of a
136 get_parameter_match_type(const ir_variable * param,const ir_rvalue * actual) argument
H A Dast_function.cpp80 * formal (\c ir_variable) or actual (\c ir_rvalue)
109 const ir_variable *formal, const ir_variable *actual)
120 if (actual->data.memory_coherent && !formal->data.memory_coherent) {
127 if (actual->data.memory_volatile && !formal->data.memory_volatile) {
134 if (actual->data.memory_restrict && !formal->data.memory_restrict) {
141 if (actual->data.memory_read_only && !formal->data.memory_read_only) {
148 if (actual->data.memory_write_only && !formal->data.memory_write_only) {
217 * Verify that 'out' and 'inout' actual parameters are lvalues. Also, verify
219 * ir_constant actual parameters.
235 const ir_rvalue *const actual local in function:verify_parameter_modes
108 verify_image_parameter(YYLTYPE * loc,_mesa_glsl_parse_state * state,const ir_variable * formal,const ir_variable * actual) argument
369 const ir_rvalue *const actual = local in function:verify_parameter_modes
382 const ir_rvalue *const actual = local in function:verify_parameter_modes
441 fix_parameter(void * mem_ctx,ir_rvalue * actual,const glsl_type * formal_type,exec_list * before_instructions,exec_list * after_instructions,bool parameter_is_inout) argument
561 ir_rvalue *actual = (ir_rvalue *) actual_node; local in function:generate_call
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dir_function.cpp65 const ir_rvalue *const actual = (ir_rvalue *) node_b; local in function:parameter_lists_match
67 if (param->type == actual->type)
70 /* Try to find an implicit conversion from actual to param. */
86 if (!actual->type->can_implicitly_convert_to(param->type, state))
91 if (!param->type->can_implicitly_convert_to(actual->type, state))
136 const ir_rvalue *actual)
143 to_type = actual->type;
145 from_type = actual->type;
317 * multiple ways to apply these conversions to the actual arguments of a
135 get_parameter_match_type(const ir_variable * param,const ir_rvalue * actual) argument
H A Dast_function.cpp73 * formal (\c ir_variable) or actual (\c ir_rvalue)
102 const ir_variable *formal, const ir_variable *actual)
113 if (actual->data.memory_coherent && !formal->data.memory_coherent) {
120 if (actual->data.memory_volatile && !formal->data.memory_volatile) {
127 if (actual->data.memory_restrict && !formal->data.memory_restrict) {
134 if (actual->data.memory_read_only && !formal->data.memory_read_only) {
141 if (actual->data.memory_write_only && !formal->data.memory_write_only) {
179 * Verify that 'out' and 'inout' actual parameters are lvalues. Also, verify
181 * ir_constant actual parameters.
197 const ir_rvalue *const actual local in function:verify_parameter_modes
101 verify_image_parameter(YYLTYPE * loc,_mesa_glsl_parse_state * state,const ir_variable * formal,const ir_variable * actual) argument
334 const ir_rvalue *const actual = local in function:verify_parameter_modes
393 fix_parameter(void * mem_ctx,ir_rvalue * actual,const glsl_type * formal_type,exec_list * before_instructions,exec_list * after_instructions,bool parameter_is_inout) argument
513 ir_rvalue *actual = (ir_rvalue *) actual_node; local in function:generate_call
[all...]
/xsrc/external/mit/xterm/dist/
H A Dxstrings.c554 x_wildstrcmp(const char *pattern, const char *actual) argument
558 while (*pattern && *actual) {
560 char c2 = x_toupper(*actual);
565 while (*actual != '\0') {
566 if (!x_wildstrcmp(pattern, actual++)) {
577 ++actual;
580 ++actual;
H A Dcharclass.c439 int actual = CharacterClass(lo); local in function:do_range
440 if (actual != expect)
443 class_name(actual));
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/glcpp/tests/
H A Dglcpp_test.py68 actual, _ = proc.communicate(f.read())
69 actual = actual.decode('utf-8')
74 if actual == expected:
76 return (False, difflib.unified_diff(actual.splitlines(), expected.splitlines()))
/xsrc/external/mit/MesaLib/dist/src/util/tests/cache/
H A Dcache_test.c65 expect_equal(uint64_t actual, uint64_t expected, const char *test) argument
67 if (actual != expected) {
70 test, expected, actual);
96 expect_equal_str(const char *actual, const char *expected, const char *test) argument
98 if (strcmp(actual, expected)) {
101 test, expected, actual);
/xsrc/external/mit/xterm/dist/package/
H A Dxterm.spec81 a) %{fullname}, which is the actual terminal emulator

Completed in 15 milliseconds

1234567891011>>