Home
last modified time | relevance | path

Searched refs:long_value (Results 1 – 25 of 46) sorted by relevance

12

/external/perfetto/src/trace_processor/
Dtrace_database_integrationtest.cc81 ASSERT_EQ(it.Get(0).long_value, 139787); in TEST_F()
83 ASSERT_EQ(it.Get(1).long_value, 19684308497); in TEST_F()
92 ASSERT_EQ(it.Get(0).long_value, 81473009948313); in TEST_F()
94 ASSERT_EQ(it.Get(1).long_value, 81492700784311); in TEST_F()
107 ASSERT_EQ(it.Get(0).long_value, 2213649212614000); in TEST_F()
109 ASSERT_EQ(it.Get(1).long_value, 2213689745140000); in TEST_F()
116 ASSERT_EQ(it.Get(0).long_value, static_cast<int64_t>(0xcbf29ce484222325)); in TEST_F()
120 ASSERT_EQ(it.Get(0).long_value, static_cast<int64_t>(0xf9e6e6ef197c2b25)); in TEST_F()
124 ASSERT_EQ(it.Get(0).long_value, static_cast<int64_t>(0xa9cb070fdc15f7a4)); in TEST_F()
156 ASSERT_EQ(it.Get(0).long_value, 39828); in TEST_F()
[all …]
/external/google-breakpad/src/common/
Dlong_string_dictionary_unittest.cc198 string long_value = string(256, 'x'); in TEST() local
199 dict.SetKeyValue("rob", long_value.c_str()); in TEST()
208 EXPECT_EQ(long_value, dict.GetValueForKey("rob")); in TEST()
217 string long_value = string(255 * 10, 'x'); in TEST() local
218 dict.SetKeyValue("rob", long_value.c_str()); in TEST()
236 EXPECT_EQ(long_value, dict.GetValueForKey("rob")); in TEST()
245 string long_value = string(255 * 11, 'x'); in TEST() local
246 dict.SetKeyValue("rob", long_value.c_str()); in TEST()
274 string long_value = string(255 * 10, 'x'); in TEST() local
275 dict.SetKeyValue("rob", long_value.c_str()); in TEST()
[all …]
/external/perfetto/src/trace_processor/tables/
Dmacros_unittest.cc161 ASSERT_EQ(dur->Get(0).long_value, 100); in TEST_F()
162 ASSERT_EQ(dur->Get(1).long_value, 101); in TEST_F()
163 ASSERT_EQ(dur->Get(2).long_value, 200); in TEST_F()
168 ASSERT_EQ(dur->Get(0).long_value, 100); in TEST_F()
173 ASSERT_EQ(dur->Get(0).long_value, 101); in TEST_F()
178 ASSERT_EQ(dur->Get(0).long_value, 200); in TEST_F()
183 ASSERT_EQ(dur->Get(0).long_value, 101); in TEST_F()
184 ASSERT_EQ(dur->Get(1).long_value, 200); in TEST_F()
189 ASSERT_EQ(dur->Get(0).long_value, 100); in TEST_F()
190 ASSERT_EQ(dur->Get(1).long_value, 101); in TEST_F()
[all …]
/external/llvm-project/libcxx/test/libcxx/utilities/charconv/charconv.to.chars/
Davailability.fail.cpp25 long long_value = 33; in main() local
30 std::to_chars(buf, buf + 100, long_value); // expected-error{{is unavailable: introduced in}} in main()
31 …std::to_chars(buf, buf + 100, long_value, base); // expected-error{{is unavailable: introduced in}} in main()
/external/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr01.c58 static char *long_value; variable
93 .value = &long_value,
194 long_value = SAFE_MALLOC(XATTR_SIZE_MAX + 2); in setup()
195 memset(long_value, 'v', XATTR_SIZE_MAX + 2); in setup()
196 long_value[XATTR_SIZE_MAX + 1] = '\0'; in setup()
/external/llvm-project/llvm/utils/benchmark/src/
Dcommandlineflags.cc30 const long long_value = strtol(str, &end, 10); // NOLINT in ParseInt32() local
41 const int32_t result = static_cast<int32_t>(long_value); in ParseInt32()
42 if (long_value == std::numeric_limits<long>::max() || in ParseInt32()
43 long_value == std::numeric_limits<long>::min() || in ParseInt32()
46 result != long_value in ParseInt32()
/external/libcxx/utils/google-benchmark/src/
Dcommandlineflags.cc30 const long long_value = strtol(str, &end, 10); // NOLINT in ParseInt32() local
41 const int32_t result = static_cast<int32_t>(long_value); in ParseInt32()
42 if (long_value == std::numeric_limits<long>::max() || in ParseInt32()
43 long_value == std::numeric_limits<long>::min() || in ParseInt32()
46 result != long_value in ParseInt32()
/external/llvm-project/libcxx/utils/google-benchmark/src/
Dcommandlineflags.cc30 const long long_value = strtol(str, &end, 10); // NOLINT in ParseInt32() local
41 const int32_t result = static_cast<int32_t>(long_value); in ParseInt32()
42 if (long_value == std::numeric_limits<long>::max() || in ParseInt32()
43 long_value == std::numeric_limits<long>::min() || in ParseInt32()
46 result != long_value in ParseInt32()
/external/ltp/testcases/kernel/syscalls/fsetxattr/
Dfsetxattr01.c60 static char *long_value; variable
96 .value = &long_value,
203 long_value = SAFE_MALLOC(XATTR_SIZE_MAX + 2); in setup()
204 memset(long_value, 'v', XATTR_SIZE_MAX + 2); in setup()
205 long_value[XATTR_SIZE_MAX + 1] = '\0'; in setup()
/external/google-benchmark/src/
Dcommandlineflags.cc33 const long long_value = strtol(str, &end, 10); // NOLINT in ParseInt32() local
44 const int32_t result = static_cast<int32_t>(long_value); in ParseInt32()
45 if (long_value == std::numeric_limits<long>::max() || in ParseInt32()
46 long_value == std::numeric_limits<long>::min() || in ParseInt32()
49 result != long_value in ParseInt32()
/external/perfetto/src/trace_processor/db/
Dcompare.h160 return compare::LongToDouble(a.long_value, b.double_value); in SqlValue()
163 return -compare::LongToDouble(b.long_value, a.double_value); in SqlValue()
170 return compare::Numeric(a.long_value, b.long_value); in SqlValue()
Dcolumn.cc182 int64_t long_value = value.long_value; in FilterIntoNumericSlow() local
184 auto fn = [long_value](T v) { in FilterIntoNumericSlow()
189 return -compare::LongToDouble(long_value, static_cast<double>(v)); in FilterIntoNumericSlow()
193 auto fn = [long_value](T v) { in FilterIntoNumericSlow()
197 return compare::Numeric(static_cast<int64_t>(v), long_value); in FilterIntoNumericSlow()
358 uint32_t id_value = static_cast<uint32_t>(value.long_value); in FilterIntoIdSlow()
Dcolumn.h232 return row_map().IndexOf(static_cast<uint32_t>(value.long_value)); in IndexOf()
244 row, static_cast<int32_t>(value.long_value)); in Set()
249 row, static_cast<uint32_t>(value.long_value)); in Set()
254 row, static_cast<int64_t>(value.long_value)); in Set()
/external/perfetto/include/perfetto/trace_processor/
Dbasic_types.h126 value.long_value = v; in Long()
159 return long_value; in AsLong()
177 int64_t long_value; member
/external/python/pybind11/docs/advanced/cast/
Dcustom.rst15 struct inty { long long_value; };
18 std::cout << s.long_value << std::endl;
62 value.long_value = PyLong_AsLong(tmp);
65 return !(value.long_value == -1 && !PyErr_Occurred());
76 return PyLong_FromLong(src.long_value);
/external/perfetto/tools/trace_to_text/
Dtrace_to_systrace.cc206 uint32_t pid = static_cast<uint32_t>(it->Get(0 /* col */).long_value); in ExtractSystrace()
207 uint32_t ppid = static_cast<uint32_t>(it->Get(1 /* col */).long_value); in ExtractSystrace()
224 uint32_t tid = static_cast<uint32_t>(it->Get(0 /* col */).long_value); in ExtractSystrace()
225 uint32_t tgid = static_cast<uint32_t>(it->Get(1 /* col */).long_value); in ExtractSystrace()
249 raw_events = static_cast<uint32_t>(it->Get(0).long_value); in ExtractSystrace()
/external/google-breakpad/src/client/
Dminidump_file_writer_unittest.cc65 unsigned long long_value; member
93 local.long_value = i + 2; in WriteFile()
106 local.long_value = i + 2; in WriteFile()
/external/grpc-grpc/src/python/grpcio_tests/tests/stress/
Dmetrics_server.py39 return [metrics_pb2.GaugeResponse(name=GAUGE_NAME, long_value=qps)]
45 return metrics_pb2.GaugeResponse(name=GAUGE_NAME, long_value=qps)
/external/grpc-grpc/test/cpp/interop/
Dmetrics_client.cc69 << gauge_response.long_value() << std::endl; in PrintMetrics()
71 overall_qps += gauge_response.long_value(); in PrintMetrics()
/external/llvm/utils/unittest/googletest/src/
Dgtest-port.cc672 const long long_value = strtol(str, &end, 10); // NOLINT in ParseInt32() local
687 const Int32 result = static_cast<Int32>(long_value); in ParseInt32()
688 if (long_value == LONG_MAX || long_value == LONG_MIN || in ParseInt32()
691 result != long_value in ParseInt32()
/external/perfetto/src/trace_processor/rpc/
Dquery_result_serializer_unittest.cc47 return a.long_value == b.long_value; in operator ==()
61 return stream << "Long " << v.long_value << "}"; in operator <<()
238 ASSERT_EQ(deser.cells[cell + 1].long_value, row); in TEST()
244 ASSERT_EQ(deser.cells[cell + 3].long_value, row); in TEST()
350 insert_values += std::to_string(expected.back().long_value); in TEST()
/external/perfetto/src/trace_processor/dynamic/
Dexperimental_slice_layout_generator_unittest.cc39 int64_t layout_depth = layout_depth_column->Get(i).long_value; in ToVis()
40 int64_t ts = ts_column->Get(i).long_value; in ToVis()
41 int64_t dur = dur_column->Get(i).long_value; in ToVis()
/external/grpc-grpc/src/ruby/stress/
Dmetrics_server.rb49 response.long_value = value
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-port.cc1211 const long long_value = strtol(str, &end, 10); // NOLINT in ParseInt32() local
1226 const Int32 result = static_cast<Int32>(long_value); in ParseInt32()
1227 if (long_value == LONG_MAX || long_value == LONG_MIN || in ParseInt32()
1230 result != long_value in ParseInt32()
/external/llvm-project/llvm/utils/unittest/googletest/src/
Dgtest-port.cc1152 const long long_value = strtol(str, &end, 10); // NOLINT in ParseInt32() local
1167 const Int32 result = static_cast<Int32>(long_value); in ParseInt32()
1168 if (long_value == LONG_MAX || long_value == LONG_MIN || in ParseInt32()
1171 result != long_value in ParseInt32()

12