OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scalar_value
(Results
1 - 18
of
18
) sorted by null
/external/chromium-trace/catapult/telemetry/telemetry/value/
common_value_helpers.py
15
def TranslateScalarValue(
scalar_value
, page):
16
# This function should not modify
scalar_value
because it is also held by
18
scalar_value
= copy.deepcopy(
scalar_value
)
20
value =
scalar_value
['numeric']['value']
21
scalar_value
['value'] = value
23
scalar_value
['none_value_reason'] = 'Common scalar contained None'
25
name =
scalar_value
['name']
27
unit_parts =
scalar_value
['numeric']['unit'].split('_')
31
scalar_value
['units'] = unit_parts[0
[
all
...]
common_value_helpers_unittest.py
42
scalar_value
= {
53
v = common_value_helpers.TranslateScalarValue(
scalar_value
, p)
67
scalar_value
= {
77
v = common_value_helpers.TranslateScalarValue(
scalar_value
, p)
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/
libcV1.driver.cpp
19
int32_t arg0 = (func_msg->arg(0).type() == TYPE_SCALAR && func_msg->arg(0).
scalar_value
().has_int32_t()) ? func_msg->arg(0).
scalar_value
().int32_t() : RandomInt32();
21
int32_t arg1 = (func_msg->arg(1).type() == TYPE_SCALAR && func_msg->arg(1).
scalar_value
().has_int32_t()) ? func_msg->arg(1).
scalar_value
().int32_t() : RandomInt32();
23
int32_t arg2 = (func_msg->arg(2).type() == TYPE_SCALAR && func_msg->arg(2).
scalar_value
().has_int32_t()) ? func_msg->arg(2).
scalar_value
().int32_t() : RandomInt32();
33
int32_t arg0 = (func_msg->arg(0).type() == TYPE_SCALAR && func_msg->arg(0).
scalar_value
().has_int32_t()) ? func_msg->arg(0).
scalar_value
().int32_t() : RandomInt32();
47
int32_t arg0 = (func_msg->arg(0).type() == TYPE_SCALAR && func_msg->arg(0).
scalar_value
().has_int32_t()) ? func_msg->arg(0).
scalar_value
().int32_t() : RandomInt32()
[
all
...]
types.driver.cpp
26
if (actual_result.
scalar_value
().uint32_t() != expected_result.
scalar_value
().uint32_t()) { return false; }
49
if (actual_result.
scalar_value
().uint32_t() != expected_result.
scalar_value
().uint32_t()) { return false; }
Nfc.driver.cpp
65
arg0[i] = func_msg.arg(0).vector_value(i).
scalar_value
().uint8_t();
87
arg0[i] = func_msg.arg(0).vector_value(i).
scalar_value
().uint8_t();
186
if (actual_result.return_type_hidl(0).
scalar_value
().uint32_t() != expected_result.return_type_hidl(0).
scalar_value
().uint32_t()) { return false; }
CameraHalV2.driver.cpp
78
char* arg1 = (func_msg->arg(1).type() == TYPE_SCALAR && func_msg->arg(1).
scalar_value
().has_pointer())? reinterpret_cast<char*>(func_msg->arg(1).
scalar_value
().pointer() ) : ((hmi_) ? const_cast<char*>(hmi_->name) : NULL)
154
int32_t arg0 = (func_msg->arg(0).type() == TYPE_SCALAR)? (func_msg->arg(0).
scalar_value
().int32_t() ) : ( (func_msg->arg(0).type() == TYPE_PREDEFINED || func_msg->arg(0).type() == TYPE_STRUCT || func_msg->arg(0).type() == TYPE_SCALAR)? RandomInt32() : RandomInt32() );
/test/vts/testcases/system/libc/
LibcTest.py
47
asserts.assertNotEqual(result.return_type.
scalar_value
.int32_t, -1,
51
result.return_type.
scalar_value
.int32_t)
52
asserts.assertNotEqual(result.return_type.
scalar_value
.int32_t, -1,
62
asserts.assertNotEqual(result.return_type.
scalar_value
.int32_t, -1,
66
result.return_type.
scalar_value
.int32_t)
67
asserts.assertNotEqual(result.return_type.
scalar_value
.int32_t, -1,
77
asserts.assertNotEqual(result.return_type.
scalar_value
.int32_t, -1,
81
result.return_type.
scalar_value
.int32_t)
82
asserts.assertNotEqual(result.return_type.
scalar_value
.int32_t, -1,
92
asserts.assertNotEqual(result.return_type.
scalar_value
.int32_t, -1
[
all
...]
/test/vts-testcase/fuzz/iface_fuzzer/
ProtoFuzzerMutateFns.cpp
70
ScalarData
scalar_value
= blueprint.
scalar_value
(idx);
local
79
scalar_value
= Mutate(
scalar_value
, scalar_type);
82
*(result.mutable_scalar_value()) =
scalar_value
;
95
RandomGen(var_spec.
scalar_value
(), var_spec.scalar_type());
102
Mutate(result.
scalar_value
(), result.scalar_type());
164
ScalarData ProtoFuzzerMutator::RandomGen(const ScalarData &
scalar_value
,
169
result.set_bool_t(RandomGen(static_cast<bool>(
scalar_value
.bool_t())));
171
result.set_int8_t(RandomGen(
scalar_value
.int8_t()))
[
all
...]
/test/vts/drivers/hal/libdatatype/
hal_light.cpp
65
state->color = msg.struct_value(0).
scalar_value
().uint32_t();
67
state->flashMode = msg.struct_value(1).
scalar_value
().int32_t();
69
state->flashOnMS = msg.struct_value(2).
scalar_value
().int32_t();
71
state->flashOffMS = msg.struct_value(3).
scalar_value
().int32_t();
73
state->brightnessMode = msg.struct_value(4).
scalar_value
().int32_t();
/test/vts/utils/python/mirror/
mirror_object_for_types.py
39
for enumerator,
scalar_value
in zip(attribute.enum_value.enumerator,
40
attribute.enum_value.
scalar_value
):
42
getattr(
scalar_value
, attribute.enum_value.scalar_type))
187
struct_value.
scalar_value
.uint32_t = given_value
189
struct_value.
scalar_value
.int32_t = given_value
199
setattr(vector_value.
scalar_value
, scalar_type, value)
215
struct_value.
scalar_value
.uint32_t = given_value
217
struct_value.
scalar_value
.int32_t = given_value
238
ret_v = getattr(arg_msg.
scalar_value
, arg_msg.scalar_type, None)
pb2py.py
32
return getattr(var.
scalar_value
, var.scalar_type)
44
return getattr(var.
scalar_value
, var.scalar_type)
mirror_object.py
397
setattr(arg_msg.
scalar_value
, arg_msg.scalar_type, value_msg)
400
arg_msg.
scalar_value
.float_t = value_msg
461
arg.
scalar_value
.pointer = 0
502
struct_value.
scalar_value
.uint32_t = given_value
504
struct_value.
scalar_value
.int32_t = given_value
523
struct_value.
scalar_value
.uint32_t = given_value
525
struct_value.
scalar_value
.int32_t = given_value
547
struct_value.
scalar_value
.uint32_t ^= FuzzerUtils.mask_uint32_t()
551
struct_value.
scalar_value
.int32_t *= -1
552
struct_value.
scalar_value
.int32_t +=
[
all
...]
py2pb.py
40
setattr(message.
scalar_value
, "int32_t", py_value)
60
setattr(message.
scalar_value
, pb_spec.scalar_type, py_value)
/test/vts/compilation_tools/vtsc/code_gen/driver/
HalCodeGen.cpp
193
<< arg.
scalar_value
().bool_t() << ");" << "\n";
196
<< arg.
scalar_value
().int8_t() << ");" << "\n";
199
<< arg.
scalar_value
().uint8_t() << ");" << "\n";
202
<< arg.
scalar_value
().int16_t() << ");" << "\n";
205
<< arg.
scalar_value
().uint16_t() << ");" << "\n";
208
<< arg.
scalar_value
().int32_t() << ");" << "\n";
211
<< arg.
scalar_value
().uint32_t() << ");" << "\n";
214
<< arg.
scalar_value
().uint32_t() << ");" << "\n";
217
<< arg.
scalar_value
().int64_t() << ");" << "\n";
220
<< arg.
scalar_value
().uint64_t() << ");" << "\n"
[
all
...]
HalHidlCodeGen.cpp
602
out << attribute.enum_value().
scalar_value
(index).int8_t();
604
out << attribute.enum_value().
scalar_value
(index).uint8_t();
606
out << attribute.enum_value().
scalar_value
(index).int16_t();
608
out << attribute.enum_value().
scalar_value
(index).uint16_t();
610
out << attribute.enum_value().
scalar_value
(index).int32_t();
612
out << attribute.enum_value().
scalar_value
(index).uint32_t();
614
out << attribute.enum_value().
scalar_value
(index).int64_t();
616
out << attribute.enum_value().
scalar_value
(index).uint64_t();
769
out << arg_name << " = " << arg_value_name << ".
scalar_value
()."
785
<< ".
scalar_value
());\n"
[
all
...]
/external/protobuf/python/google/protobuf/internal/
message_factory_test.py
67
msg.factory_1_message.
scalar_value
= 22
75
msg.circular_message.
scalar_value
= 'one deep'
76
msg.
scalar_value
= 'zero deep'
/test/vts/testcases/host/camera/conventional/2_1/
SampleCameraV2Test.py
54
count = result.return_type.
scalar_value
.int32_t
/test/vts/runners/host/tcp_client/
vts_tcp_client.py
186
var_spec_msg.
scalar_value
, scalar_type)
191
var_spec_msg.
scalar_value
, scalar_type)
193
return var_spec_msg.
scalar_value
.int32_t
301
return getattr(result.return_type.
scalar_value
,
Completed in 897 milliseconds