Home
last modified time | relevance | path

Searched refs:var (Results 1 – 25 of 2254) sorted by relevance

12345678910>>...91

/external/safe-iop/include/
Dsafe_iop.h107 ({ int __sio(var)(ok) = 0; \
108 typeof(__a) __sio(var)(_a) = (__a); \
109 typeof(__b) __sio(var)(_b) = (__b); \
110 typeof(_ptr) __sio(var)(p) = (_ptr); \
111 if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \
112 __sio(var)(_b)))) { \
113 if (__sio(m)(smin)(__sio(var)(_a)) <= ((typeof(__sio(var)(_a)))0)) { \
114 __sio(var)(ok) = safe_sadd(__sio(var)(p), \
115 __sio(var)(_a), \
116 __sio(var)(_b)); \
[all …]
/external/llvm/test/MC/AArch64/
Dtls-relocs.s6 movz x1, #:dtprel_g2:var
7 movn x2, #:dtprel_g2:var
8 movz x3, #:dtprel_g2:var
9 movn x4, #:dtprel_g2:var
28 movz x5, #:dtprel_g1:var
29 movn x6, #:dtprel_g1:var
30 movz w7, #:dtprel_g1:var
31 movn w8, #:dtprel_g1:var
48 movk x9, #:dtprel_g1_nc:var
49 movk w10, #:dtprel_g1_nc:var
[all …]
Darm64-tls-relocs.s10 movz x15, #:gottprel_g1:var
17 movk x13, #:gottprel_g0_nc:var
24 adrp x11, :gottprel:var
25 ldr x10, [x0, #:gottprel_lo12:var]
26 ldr x9, :gottprel:var
43 movz x3, #:tprel_g2:var
44 movn x4, #:tprel_g2:var
54 movz x5, #:tprel_g1:var
55 movn x6, #:tprel_g1:var
56 movz w7, #:tprel_g1:var
[all …]
/external/mesa3d/src/compiler/glsl/tests/
Dinvalidate_locations_test.cpp62 ir_variable *const var = in TEST_F() local
67 EXPECT_FALSE(var->data.explicit_location); in TEST_F()
68 EXPECT_EQ(-1, var->data.location); in TEST_F()
70 var->data.location = VERT_ATTRIB_GENERIC0; in TEST_F()
71 var->data.location_frac = 2; in TEST_F()
73 ir.push_tail(var); in TEST_F()
77 EXPECT_EQ(-1, var->data.location); in TEST_F()
78 EXPECT_EQ(0u, var->data.location_frac); in TEST_F()
79 EXPECT_FALSE(var->data.explicit_location); in TEST_F()
80 EXPECT_TRUE(var->data.is_unmatched_generic_inout); in TEST_F()
[all …]
Dbuiltin_variable_test.cpp101 ir_variable *const var = node->as_variable(); in names_start_with_gl() local
103 string_starts_with_prefix(var->name, "gl_"); in names_start_with_gl()
111 ir_variable *const var = node->as_variable(); in uniforms_and_system_values_dont_have_explicit_location() local
113 if (var->data.mode != ir_var_uniform && var->data.mode != ir_var_system_value) in uniforms_and_system_values_dont_have_explicit_location()
116 EXPECT_FALSE(var->data.explicit_location); in uniforms_and_system_values_dont_have_explicit_location()
117 EXPECT_EQ(-1, var->data.location); in uniforms_and_system_values_dont_have_explicit_location()
125 ir_variable *const var = node->as_variable(); in constants_are_constant() local
127 if (var->data.mode != ir_var_auto) in constants_are_constant()
130 EXPECT_FALSE(var->data.explicit_location); in constants_are_constant()
131 EXPECT_EQ(-1, var->data.location); in constants_are_constant()
[all …]
/external/llvm/test/CodeGen/AArch64/
Dcallee-save.ll3 @var = global float 0.0
15 %val1 = load volatile float, float* @var
16 %val2 = load volatile float, float* @var
17 %val3 = load volatile float, float* @var
18 %val4 = load volatile float, float* @var
19 %val5 = load volatile float, float* @var
20 %val6 = load volatile float, float* @var
21 %val7 = load volatile float, float* @var
22 %val8 = load volatile float, float* @var
23 %val9 = load volatile float, float* @var
[all …]
/external/clang/test/SemaCXX/
Dwarn-consumed-analysis.cpp16 T var; in CONSUMABLE() local
62 void baf0(const ConsumableClass<int> var);
63 void baf1(const ConsumableClass<int> &var);
64 void baf2(const ConsumableClass<int> *var);
66 void baf3(ConsumableClass<int> var);
67 void baf4(ConsumableClass<int> &var);
68 void baf5(ConsumableClass<int> *var);
69 void baf6(ConsumableClass<int> &&var);
141 ConsumableClass<int> var;
143 if (var.isValid()) {
[all …]
/external/e2fsprogs/doc/
Dlibext2fs.texinfo170 …open (const char *@var{name}, int @var{flags}, int @var{superblock}, int @var{block_size}, io_mana…
172 Opens a filesystem named @var{name}, using the the io_manager
173 @var{manager} to define the input/output routines needed to read and
175 @var{name} is interpreted as the Unix filename of the filesystem image.
178 The @var{superblock} parameter specifies the block number of the
180 If @var{superblock} is zero, @code{ext2fs_open} will use the primary
184 The @var{block_size} parameter specifies the block size used by the
186 filesystem uperblock. If @var{block_size} is non-zero, it must match
189 @var{block_size} parameter is also used to help fund the superblock when
190 @var{superblock} is non-zero.
[all …]
/external/llvm/test/CodeGen/Mips/
Dnacl-reserved-regs.ll5 @var = external global i32
8 %val1 = load volatile i32, i32* @var
9 %val2 = load volatile i32, i32* @var
10 %val3 = load volatile i32, i32* @var
11 %val4 = load volatile i32, i32* @var
12 %val5 = load volatile i32, i32* @var
13 %val6 = load volatile i32, i32* @var
14 %val7 = load volatile i32, i32* @var
15 %val8 = load volatile i32, i32* @var
16 %val9 = load volatile i32, i32* @var
[all …]
/external/clang/test/Analysis/
Dtest-after-div-zero.c4 int var; variable
7 var = 77 / x; // expected-note {{Division with compared value made here}} in err_eq()
12 var = 77 / x; // expected-note {{Division with compared value made here}} in err_eq2()
17 var = 77 / x; // expected-note {{Division with compared value made here}} in err_ne()
22 var = 77 / x; // expected-note {{Division with compared value made here}} in err_ge()
27 var = 77 / x; // expected-note {{Division with compared value made here}} in err_le()
32 var = 77 / x; // expected-note {{Division with compared value made here}} in err_yes()
36 var = 77 / x; // expected-note {{Division with compared value made here}} in err_not()
42 var = 77 / *y; // expected-note {{Division with compared value made here}} in err_pnot()
48 var = 77 / x; // expected-note {{Division with compared value made here}} in err_pnot2()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_variable.c44 struct rc_variable * var, in rc_variable_change_dst() argument
50 unsigned int old_mask = rc_variable_writemask_sum(var); in rc_variable_change_dst()
54 for (var_ptr = var; var_ptr; var_ptr = var_ptr->Friend) { in rc_variable_change_dst()
73 readers = rc_variable_readers_union(var); in rc_variable_change_dst()
127 rc_error(var->C, "Rewrite of inst %u failed " in rc_variable_change_dst()
131 var->Inst->IP, reader->Inst->IP, src_type, new_index, new_writemask); in rc_variable_change_dst()
147 void rc_variable_compute_live_intervals(struct rc_variable * var) in rc_variable_compute_live_intervals() argument
149 while(var) { in rc_variable_compute_live_intervals()
151 unsigned int start = var->Inst->IP; in rc_variable_compute_live_intervals()
153 for (i = 0; i < var->ReaderCount; i++) { in rc_variable_compute_live_intervals()
[all …]
/external/mesa3d/src/compiler/glsl/
Dir_set_program_inouts.cpp63 void mark_whole_variable(ir_variable *var);
64 bool try_mark_partial_variable(ir_variable *var, ir_rvalue *index);
73 is_shader_inout(ir_variable *var) in is_shader_inout() argument
75 return var->data.mode == ir_var_shader_in || in is_shader_inout()
76 var->data.mode == ir_var_shader_out || in is_shader_inout()
77 var->data.mode == ir_var_system_value; in is_shader_inout()
81 mark(struct gl_program *prog, ir_variable *var, int offset, int len, in mark() argument
93 assert(var->data.location != -1); in mark()
95 int idx = var->data.location + offset + i; in mark()
96 bool is_patch_generic = var->data.patch && in mark()
[all …]
Dopt_dead_builtin_variables.cpp38 foreach_in_list_safe(ir_variable, var, instructions) { in optimize_dead_builtin_variables()
39 if (var->ir_type != ir_type_variable || var->data.used) in optimize_dead_builtin_variables()
42 if (var->data.mode != ir_var_uniform in optimize_dead_builtin_variables()
43 && var->data.mode != ir_var_auto in optimize_dead_builtin_variables()
44 && var->data.mode != ir_var_system_value in optimize_dead_builtin_variables()
45 && var->data.mode != other) in optimize_dead_builtin_variables()
51 if ((var->data.mode == other || var->data.mode == ir_var_system_value) in optimize_dead_builtin_variables()
52 && var->data.how_declared != ir_var_declared_implicitly) in optimize_dead_builtin_variables()
55 if (!is_gl_identifier(var->name)) in optimize_dead_builtin_variables()
91 if (strcmp(var->name, "gl_ModelViewProjectionMatrix") == 0 in optimize_dead_builtin_variables()
[all …]
Dlink_interface_blocks.cpp230 ir_variable *lookup(ir_variable *var) in lookup() argument
232 if (var->data.explicit_location && in lookup()
233 var->data.location >= VARYING_SLOT_VAR0) { in lookup()
235 snprintf(location_str, 11, "%d", var->data.location); in lookup()
243 var->get_interface_type()->without_array()->name); in lookup()
251 void store(ir_variable *var) in store() argument
253 if (var->data.explicit_location && in store()
254 var->data.location >= VARYING_SLOT_VAR0) { in store()
261 snprintf(location_str, 11, "%d", var->data.location); in store()
262 _mesa_hash_table_insert(ht, ralloc_strdup(mem_ctx, location_str), var); in store()
[all …]
Dopt_structure_splitting.cpp47 variable_entry(ir_variable *var) in variable_entry() argument
49 this->var = var; in variable_entry()
56 ir_variable *var; /* The key: the variable's pointer. */ member in __anonfa797fed0111::variable_entry
93 variable_entry *get_variable_entry(ir_variable *var);
102 ir_structure_reference_visitor::get_variable_entry(ir_variable *var) in get_variable_entry() argument
104 assert(var); in get_variable_entry()
106 if (!var->type->is_record() || in get_variable_entry()
107 var->data.mode == ir_var_uniform || var->data.mode == ir_var_shader_storage || in get_variable_entry()
108 var->data.mode == ir_var_shader_in || var->data.mode == ir_var_shader_out) in get_variable_entry()
112 if (entry->var == var) in get_variable_entry()
[all …]
Dlink_uniform_block_active_visitor.cpp28 process_block(void *mem_ctx, struct hash_table *ht, ir_variable *var) in process_block() argument
31 _mesa_hash_table_search(ht, var->get_interface_type()->name); in process_block()
33 const glsl_type *const block_type = var->is_interface_instance() in process_block()
34 ? var->type : var->get_interface_type(); in process_block()
46 b->has_instance_name = var->is_interface_instance(); in process_block()
47 b->is_shader_storage = var->data.mode == ir_var_shader_storage; in process_block()
49 if (var->data.explicit_binding) { in process_block()
51 b->binding = var->data.binding; in process_block()
57 _mesa_hash_table_insert(ht, var->get_interface_type()->name, (void *) b); in process_block()
64 || b->has_instance_name != var->is_interface_instance()) in process_block()
[all …]
/external/tensorflow/tensorflow/python/training/
Dftrl.py143 def _apply_dense(self, grad, var): argument
144 accum = self.get_slot(var, "accum")
145 linear = self.get_slot(var, "linear")
148 var,
152 math_ops.cast(self._learning_rate_tensor, var.dtype.base_dtype),
154 var.dtype.base_dtype),
156 var.dtype.base_dtype),
157 math_ops.cast(self._learning_rate_power_tensor, var.dtype.base_dtype),
161 var,
165 math_ops.cast(self._learning_rate_tensor, var.dtype.base_dtype),
[all …]
Drmsprop.py130 def _apply_dense(self, grad, var): argument
131 rms = self.get_slot(var, "rms")
132 mom = self.get_slot(var, "momentum")
134 mg = self.get_slot(var, "mg")
136 var,
140 math_ops.cast(self._learning_rate_tensor, var.dtype.base_dtype),
141 math_ops.cast(self._decay_tensor, var.dtype.base_dtype),
142 math_ops.cast(self._momentum_tensor, var.dtype.base_dtype),
143 math_ops.cast(self._epsilon_tensor, var.dtype.base_dtype),
148 var,
[all …]
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/
Dlinkage.test14 layout(location = 0) out mediump float var;
37 layout(location = 0) out mediump float var;
45 layout(location = 0) in mediump float var;
62 layout(location = 0) out mediump float var;
70 layout(location = 0) in mediump float var;
75 ${FRAG_COLOR} = vec4(var);
90 layout(location = 0) out mediump float var;
94 var = 1.0;
116 layout(location = 0) out mediump float var;
120 var = 1.0;
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariable_ops_test.py73 var = state_ops.variable_op(value.shape, dtypes.float32)
74 self.assertShapeEqual(value, var)
75 assigned = state_ops.assign(var, value)
80 var = state_ops.variable_op(value.shape, dtypes.float32)
81 self.assertShapeEqual(value, var)
82 assigned = state_ops.assign(var, value, validate_shape=False)
87 var = state_ops.variable_op(value.shape, dtypes.float32, set_shape=False)
88 self.assertEqual(tensor_shape.unknown_shape(), var.get_shape())
89 assigned = state_ops.assign(var, value)
94 var = state_ops.variable_op(value.shape, dtypes.float32, set_shape=False)
[all …]
/external/llvm/test/Bitcode/
Dglobal-variables.3.2.ll8 @global.var = global i32 1
9 ; CHECK: @global.var = global i32 1
11 @constant.var = constant i32 1
12 ; CHECK: @constant.var = constant i32 1
14 @noinit.var = global float undef
15 ; CHECK: @noinit.var = global float undef
17 @section.var = global i32 1, section "foo"
18 ; CHECK: @section.var = global i32 1, section "foo"
20 @align.var = global i64 undef, align 8
21 ; CHECK: @align.var = global i64 undef, align 8
[all …]
Dlinkage-types-3.2.ll8 @common.var = common global i32 0
9 ; CHECK: @common.var = common global i32 0{{$}}
11 @appending.var = appending global [8 x i32] undef
12 ; CHECK: @appending.var = appending global [8 x i32] undef{{$}}
14 @extern_weak.var = extern_weak global i32
15 ; CHECK: @extern_weak.var = extern_weak global i32{{$}}
17 @private.var = private constant i32 0
18 ; CHECK: @private.var = private constant i32 0{{$}}
20 @linker_private.var = linker_private constant i32 0
21 ; CHECK: @linker_private.var = private constant i32 0{{$}}
[all …]
/external/syslinux/core/lwip/src/include/arch/
Dsys_arch.h26 #define SYS_ARCH_OP(var, val, inc, add) \ argument
29 switch (sizeof(var)) { \
31 asm volatile(inc "b %0" : "+m" (var)); \
34 asm volatile(inc "w %0" : "+m" (var)); \
37 asm volatile(inc "l %0" : "+m" (var)); \
44 switch (sizeof(var)) { \
46 asm volatile(add "b %1,%0" : "+m" (var) : "ri" (val)); \
49 asm volatile(add "w %1,%0" : "+m" (var) : "ri" (val)); \
52 asm volatile(add "l %1,%0" : "+m" (var) : "ri" (val)); \
66 #define SYS_ARCH_INC(var, val) SYS_ARCH_OP(var, val, "inc", "add") argument
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/
Deval.pass.cpp50 double var = 0; in main() local
57 var += d2; in main()
61 var /= u.size(); in main()
62 double dev = std::sqrt(var); in main()
63 skew /= u.size() * dev * var; in main()
64 kurtosis /= u.size() * var * var; in main()
72 assert(std::abs((var - x_var) / x_var) < 0.01); in main()
91 double var = 0; in main() local
98 var += d2; in main()
102 var /= u.size(); in main()
[all …]
/external/v8/src/ast/
Dscopes.cc83 void VariableMap::Remove(Variable* var) { in Remove() argument
84 const AstRawString* name = var->raw_name(); in Remove()
88 void VariableMap::Add(Zone* zone, Variable* var) { in Add() argument
89 const AstRawString* name = var->raw_name(); in Add()
95 p->value = var; in Add()
527 Variable* var = nullptr; in HoistSloppyBlockFunctions() local
536 var = query_scope->LookupLocal(name); in HoistSloppyBlockFunctions()
537 if (var != nullptr && IsLexical(var)) { in HoistSloppyBlockFunctions()
651 Variable* var = in DeclareThis() local
655 receiver_ = var; in DeclareThis()
[all …]

12345678910>>...91