Home
last modified time | relevance | path

Searched refs:var_type (Results 1 – 25 of 49) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/
H A Doutput_test.h161 #define _CHECK_RESULT_VALUE(entry, getfn, var_type, var_name, relationship, value) \ argument
163 (entry.getfn< var_type >(var_name), (value)) << "\n" \
166 << "expected (" << #var_type << ")" << (var_name) \
167 << "=" << (entry).getfn< var_type >(var_name) \
172 #define _CHECK_FLOAT_RESULT_VALUE(entry, getfn, var_type, var_name, relationship, value, eps_factor… argument
174 (entry.getfn< var_type >(var_name), (value), (eps_factor) * (value)) << "\n" \
177 << "expected (" << #var_type << ")" << (var_name) \
178 << "=" << (entry).getfn< var_type >(var_name) \
183 << "but delta was " << ((entry).getfn< var_type >(var_name) - (value)) \
184 << " (" << (((entry).getfn< var_type >(var_name) - (value)) \
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/test/
H A Doutput_test.h151 #define _CHECK_RESULT_VALUE(entry, getfn, var_type, var_name, relationship, value) \ argument
153 (entry.getfn< var_type >(var_name), (value)) << "\n" \
156 << "expected (" << #var_type << ")" << (var_name) \
157 << "=" << (entry).getfn< var_type >(var_name) \
162 #define _CHECK_FLOAT_RESULT_VALUE(entry, getfn, var_type, var_name, relationship, value, eps_factor… argument
164 (entry.getfn< var_type >(var_name), (value), (eps_factor) * (value)) << "\n" \
167 << "expected (" << #var_type << ")" << (var_name) \
168 << "=" << (entry).getfn< var_type >(var_name) \
173 << "but delta was " << ((entry).getfn< var_type >(var_name) - (value)) \
174 << " (" << (((entry).getfn< var_type >(var_name) - (value)) \
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/gcn/
H A Dgcn-tree.cc104 tree var_type = TREE_TYPE (var); in gcn_lockless_update() local
106 if (TREE_CODE (var_type) == COMPLEX_TYPE in gcn_lockless_update()
107 || TREE_CODE (var_type) == REAL_TYPE) in gcn_lockless_update()
110 if (TYPE_SIZE (var_type) == TYPE_SIZE (long_long_unsigned_type_node)) in gcn_lockless_update()
120 tree init_expr = omp_reduction_init_op (loc, op, var_type); in gcn_lockless_update()
141 tree write_expr = fold_build1 (code, var_type, expect_var); in gcn_lockless_update()
142 write_expr = fold_build2 (op, var_type, write_expr, var); in gcn_lockless_update()
183 return fold_build1 (code, var_type, write_var); in gcn_lockless_update()
209 tree var_type = TREE_TYPE (var); in gcn_lockfull_update() local
261 tree acc_in = make_ssa_name (var_type); in gcn_lockfull_update()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/gcn/
H A Dgcn-tree.c223 tree var_type = TREE_TYPE (var); in gcn_lockless_update() local
225 if (TREE_CODE (var_type) == COMPLEX_TYPE in gcn_lockless_update()
226 || TREE_CODE (var_type) == REAL_TYPE) in gcn_lockless_update()
229 if (TYPE_SIZE (var_type) == TYPE_SIZE (long_long_unsigned_type_node)) in gcn_lockless_update()
239 tree init_expr = omp_reduction_init_op (loc, op, var_type); in gcn_lockless_update()
260 tree write_expr = fold_build1 (code, var_type, expect_var); in gcn_lockless_update()
261 write_expr = fold_build2 (op, var_type, write_expr, var); in gcn_lockless_update()
302 return fold_build1 (code, var_type, write_var); in gcn_lockless_update()
328 tree var_type = TREE_TYPE (var); in gcn_lockfull_update() local
380 tree acc_in = make_ssa_name (var_type); in gcn_lockfull_update()
[all …]
/netbsd-src/external/bsd/top/dist/
H A Dap_snprintf.c675 enum var_type_enum var_type = IS_INT; in ap_vformatter() local
774 var_type = IS_QUAD; in ap_vformatter()
778 var_type = IS_LONG; in ap_vformatter()
782 var_type = IS_SHORT; in ap_vformatter()
786 var_type = IS_INT; in ap_vformatter()
802 if (var_type == IS_QUAD) { in ap_vformatter()
808 if (var_type == IS_LONG) in ap_vformatter()
810 else if (var_type == IS_SHORT) in ap_vformatter()
822 if (var_type == IS_QUAD) { in ap_vformatter()
828 if (var_type == IS_LONG) in ap_vformatter()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/
H A Dbrig-variable-handler.cc128 tree var_type; in operator ()() local
136 var_type = build_array_type_nelts (element_type, element_count); in operator ()()
142 var_type = gccbrig_tree_type_for_hsa_type (brigVar->type); in operator ()()
143 var_size = tree_to_uhwi (TYPE_SIZE (var_type)) / 8; in operator ()()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dopts-common.c326 gcc_assert (option->var_type == CLVC_ENUM); in opt_enum_arg_to_value()
613 if (option->var_type == CLVC_SIZE) in decode_cmdline_option()
808 if (arg && (option->var_type == CLVC_ENUM)) in decode_cmdline_option()
1424 switch (option->var_type) in set_option()
1479 if ((value != 0) == (option->var_type == CLVC_BIT_SET)) in set_option()
1566 switch (option->var_type) in option_enabled()
1618 switch (cl_options[option].var_type) in get_option_state()
1687 if (option->var_type == CLVC_BOOLEAN in control_warning_option()
1688 || option->var_type == CLVC_ENUM in control_warning_option()
1689 || option->var_type == CLVC_SIZE) in control_warning_option()
[all …]
H A Dopth-gen.awk90 print "extern " var_type(flags[i]) name ";"
92 print " " var_type(flags[i]) "x_" name ";"
100 print " " var_type(flags[i]) "x_" name ";"
H A Dopt-functions.awk213 function var_type(flags) function
290 if (var_type(flags) == "const char *")
H A Dopt-suggestions.c111 if (option->var_type == CLVC_ENUM) in build_option_suggestions()
H A Dopts.h118 enum cl_var_type var_type; member
/netbsd-src/external/bsd/atf/dist/tools/
H A Dparser_test.cpp173 static const tools::parser::token_type var_type = 3; variable
183 add_keyword("var", var_type); in tokenizer()
538 EXPECT(mt, var_type, "var"); in ATF_TEST_CASE_BODY()
574 EXPECT(mt, var_type, "var"); in ATF_TEST_CASE_BODY()
598 EXPECT(mt, var_type, "var"); in ATF_TEST_CASE_BODY()
607 EXPECT(mt, var_type, "var"); in ATF_TEST_CASE_BODY()
620 EXPECT(mt, var_type, "var"); in ATF_TEST_CASE_BODY()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dopts-common.cc329 gcc_assert (option->var_type == CLVC_ENUM); in opt_enum_arg_to_value()
616 if (option->var_type == CLVC_SIZE) in decode_cmdline_option()
812 if (arg && (option->var_type == CLVC_ENUM)) in decode_cmdline_option()
1605 switch (option->var_type) in set_option()
1666 if ((value != 0) == (option->var_type == CLVC_BIT_SET)) in set_option()
1757 switch (option->var_type) in option_enabled()
1815 switch (cl_options[option].var_type) in get_option_state()
1884 if (option->var_type == CLVC_INTEGER in control_warning_option()
1885 || option->var_type == CLVC_ENUM in control_warning_option()
1886 || option->var_type == CLVC_SIZE) in control_warning_option()
[all …]
H A Dopth-gen.awk90 print "extern " var_type(flags[i]) name ";"
92 print " " var_type(flags[i]) "x_" name ";"
100 print " " var_type(flags[i]) "x_" name ";"
H A Dopt-functions.awk236 function var_type(flags) function
318 if (var_type(flags) == "const char *")
H A Dopt-suggestions.cc111 if (option->var_type == CLVC_ENUM) in build_option_suggestions()
H A Ddwarf2ctf.cc803 dw_die_ref var_type = ctf_get_AT_type (die); in gen_ctf_variable() local
823 var_type_id = gen_ctf_type (ctfc, var_type); in gen_ctf_variable()
H A Dopts.h128 enum cl_var_type var_type; member
/netbsd-src/usr.bin/rpcgen/
H A Drpc_svcout.c103 const char *var_type; in write_most() local
104 var_type = (nomain ? "" : "static "); in write_most()
105 f_print(fout, "%sint _rpcpmstart;", var_type); in write_most()
107 f_print(fout, "%sint _rpcfdtype;", var_type); in write_most()
110 f_print(fout, "%sint _rpcsvcdirty;", var_type); in write_most()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nvptx/
H A Dnvptx.c5837 tree var_type = TREE_TYPE (var); in nvptx_generate_vector_shuffle() local
5838 tree dest_type = var_type; in nvptx_generate_vector_shuffle()
5840 if (TREE_CODE (var_type) == COMPLEX_TYPE) in nvptx_generate_vector_shuffle()
5841 var_type = TREE_TYPE (var_type); in nvptx_generate_vector_shuffle()
5843 if (TREE_CODE (var_type) == REAL_TYPE) in nvptx_generate_vector_shuffle()
5846 if (TYPE_SIZE (var_type) in nvptx_generate_vector_shuffle()
5858 if (var_type != dest_type) in nvptx_generate_vector_shuffle()
5861 tree real = fold_build1 (REALPART_EXPR, var_type, var); in nvptx_generate_vector_shuffle()
5864 real = fold_build1 (code, var_type, real); in nvptx_generate_vector_shuffle()
5866 tree imag = fold_build1 (IMAGPART_EXPR, var_type, var); in nvptx_generate_vector_shuffle()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/nvptx/
H A Dnvptx.cc6588 tree var_type = TREE_TYPE (var); in nvptx_generate_vector_shuffle() local
6589 tree dest_type = var_type; in nvptx_generate_vector_shuffle()
6591 if (TREE_CODE (var_type) == COMPLEX_TYPE) in nvptx_generate_vector_shuffle()
6592 var_type = TREE_TYPE (var_type); in nvptx_generate_vector_shuffle()
6594 if (TREE_CODE (var_type) == REAL_TYPE) in nvptx_generate_vector_shuffle()
6597 if (TYPE_SIZE (var_type) in nvptx_generate_vector_shuffle()
6609 if (var_type != dest_type) in nvptx_generate_vector_shuffle()
6612 tree real = fold_build1 (REALPART_EXPR, var_type, var); in nvptx_generate_vector_shuffle()
6615 real = fold_build1 (code, var_type, real); in nvptx_generate_vector_shuffle()
6617 tree imag = fold_build1 (IMAGPART_EXPR, var_type, var); in nvptx_generate_vector_shuffle()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dcoroutines.cc2919 tree var_type = TREE_TYPE (var); in flatten_await_stmt() local
2928 = build2 (init_expr ? INIT_EXPR : MODIFY_EXPR, var_type, in flatten_await_stmt()
2936 = build2 (init_expr ? INIT_EXPR : MODIFY_EXPR, var_type, in flatten_await_stmt()
2939 n->init = build3 (COND_EXPR, var_type, cond, then_cl, else_cl); in flatten_await_stmt()
3029 tree var_type = TREE_TYPE (init); in flatten_await_stmt() local
3031 tree var = build_lang_decl (VAR_DECL, get_identifier (buf), var_type); in flatten_await_stmt()
3038 if (type_build_ctor_call (var_type)) in flatten_await_stmt()
3042 &p_in, var_type, LOOKUP_NORMAL, in flatten_await_stmt()
3046 init = build2 (INIT_EXPR, var_type, var, init); in flatten_await_stmt()
3198 tree var_type = TREE_TYPE (var); in process_conditional() local
[all …]
H A Dvtable-class-hierarchy.c1231 tree var_type = build_pointer_type (void_type_node); in vtable_find_or_create_map_decl() local
1235 get_identifier (var_name), var_type); in vtable_find_or_create_map_decl()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dcoroutines.cc2775 tree var_type = TREE_TYPE (var); in flatten_await_stmt() local
2784 = build2 (init_expr ? INIT_EXPR : MODIFY_EXPR, var_type, in flatten_await_stmt()
2792 = build2 (init_expr ? INIT_EXPR : MODIFY_EXPR, var_type, in flatten_await_stmt()
2795 n->init = build3 (COND_EXPR, var_type, cond, then_cl, else_cl); in flatten_await_stmt()
2885 tree var_type = TREE_TYPE (init); in flatten_await_stmt() local
2887 tree var = build_lang_decl (VAR_DECL, get_identifier (buf), var_type); in flatten_await_stmt()
3047 tree var_type = TREE_TYPE (var); in process_conditional() local
3050 NULL, var_type, LOOKUP_NORMAL, in process_conditional()
3137 tree var_type = TREE_TYPE (var); in maybe_promote_temps() local
3138 if (TYPE_HAS_NONTRIVIAL_DESTRUCTOR (var_type)) in maybe_promote_temps()
[all …]
H A Dvtable-class-hierarchy.cc1231 tree var_type = build_pointer_type (void_type_node); in vtable_find_or_create_map_decl() local
1235 get_identifier (var_name), var_type); in vtable_find_or_create_map_decl()

12