/third_party/ltp/testcases/kernel/syscalls/timer_settime/ |
H A D | timer_settime03.c | 9 * Check for possible overflow of posix timer overrun counter. Create 11 * value just right to cause overrun overflow into negative values, start 13 * check the overrun counter in the timer signal handler. On a patched system, 21 * posix-timers: Sanitize overrun handling 33 static volatile int handler_called, overrun, saved_errno; variable 49 overrun = timer_getoverrun(timer); in sighandler() 89 /* spec.it_value = now - 1.4 * max overrun value */ in run() 99 if (overrun == -1) in run() 100 tst_brk(TBROK | TERRNO, "Error reading timer overrun count"); in run() 102 if (overrun in run() [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | parse_context.cc | 51 bool ParseEndsInSlopRegion(const char* begin, int overrun, int d) { in ParseEndsInSlopRegion() argument 53 GOOGLE_DCHECK(overrun >= 0); in ParseEndsInSlopRegion() 54 GOOGLE_DCHECK(overrun <= kSlopBytes); in ParseEndsInSlopRegion() 55 auto ptr = begin + overrun; in ParseEndsInSlopRegion() 102 const char* EpsCopyInputStream::Next(int overrun, int d) { in Next() argument 118 (d < 0 || !ParseEndsInSlopRegion(buffer_, overrun, d))) { in Next() 160 int overrun = ptr - buffer_end_; in DoneFallback() local 161 GOOGLE_DCHECK(overrun <= kSlopBytes); // Guaranteed by parse loop. in DoneFallback() 163 if (PROTOBUF_PREDICT_FALSE(overrun > limit_)) return {nullptr, true}; in DoneFallback() 164 GOOGLE_DCHECK(overrun ! in DoneFallback() [all...] |
H A D | parse_context.h | 280 const char* Next(int overrun, int d);
|
/third_party/unity/extras/memory/src/ |
H A D | unity_memory.c | 140 int overrun; in unity_free() local 147 overrun = isOverrun(mem); in unity_free() 149 if (overrun) in unity_free() 151 UNITY_TEST_FAIL(Unity.CurrentTestLineNumber, "Buffer overrun detected during free()"); in unity_free() 174 UNITY_TEST_FAIL(Unity.CurrentTestLineNumber, "Buffer overrun detected during realloc()"); in unity_realloc()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3d_disk_cache.c | 144 if (blob.overrun) in v3d_disk_cache_retrieve() 150 if (blob.overrun) in v3d_disk_cache_retrieve() 155 if (blob.overrun) in v3d_disk_cache_retrieve() 161 if (blob.overrun) in v3d_disk_cache_retrieve()
|
/third_party/mesa3d/src/util/tests/ |
H A D | blob_test.cpp | 55 // consumed, and that the overrun bit is not set. 119 EXPECT_FALSE(reader.overrun) << "read_does_not_overrun"; in TEST() 178 // Test that we detect overrun. 191 EXPECT_EQ(value, blob_read_uint32(&reader)) << "read before overrun"; in TEST() 192 EXPECT_FALSE(reader.overrun); in TEST() 193 EXPECT_EQ(0, blob_read_uint32(&reader)) << "read at overrun"; in TEST() 194 EXPECT_TRUE(reader.overrun); in TEST() 235 EXPECT_FALSE(reader.overrun) << "overrun flag not set reading large objects"; in TEST()
|
/third_party/mesa3d/src/util/ |
H A D | blob.c | 256 blob->overrun = false; in blob_reader_init() 261 * If not, set blob->overrun to indicate that we attempted to read too far. 266 if (blob->overrun) in ensure_can_read() 272 blob->overrun = true; in ensure_can_read() 335 /* If we're already at the end, then this is an overrun. */ in BLOB_READ_TYPE() 337 blob->overrun = true; in BLOB_READ_TYPE() 342 * we also consider that an overrun. in BLOB_READ_TYPE() 347 blob->overrun = true; in BLOB_READ_TYPE()
|
H A D | disk_cache_os.c | 507 if (ci_blob_reader.overrun) in parse_and_validate_cache_item() 517 if (ci_blob_reader.overrun) in parse_and_validate_cache_item() 522 if (ci_blob_reader.overrun) in parse_and_validate_cache_item() 533 if (ci_blob_reader.overrun) in parse_and_validate_cache_item() 541 if (ci_blob_reader.overrun) in parse_and_validate_cache_item()
|
H A D | blob.h | 81 * 2. blob->overrun should be false, (otherwise, too much was read). 87 bool overrun; member
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_pipeline_cache.c | 178 if (blob.overrun) { in v3dv_pipeline_cache_search_for_nir() 511 if (blob->overrun) in serialized_nir_create_from_blob() 536 if (blob->overrun) in shader_variant_create_from_blob() 542 if (blob->overrun) in shader_variant_create_from_blob() 547 if (blob->overrun) in shader_variant_create_from_blob() 590 if (blob->overrun) in v3dv_pipeline_shared_data_create_from_blob() 621 if (blob->overrun) in v3dv_pipeline_shared_data_create_from_blob() 674 if (blob.overrun) in pipeline_cache_load() 689 if (blob.overrun) in pipeline_cache_load()
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | coded_stream.cc | 403 // We have overrun the maximum size of a varint (10 bytes). Assume in ReadVarint32FromArray() 439 // We have overrun the maximum size of a varint (10 bytes). Assume in ReadVarint64FromArray() 684 int overrun = ptr - end_; in Flush() local 686 GOOGLE_DCHECK(overrun <= kSlopBytes); // NOLINT in Flush() 687 ptr = Next() + overrun; in Flush() 828 int overrun = ptr - end_; in EnsureSpaceFallback() local 829 GOOGLE_DCHECK(overrun >= 0); // NOLINT in EnsureSpaceFallback() 830 GOOGLE_DCHECK(overrun <= kSlopBytes); // NOLINT in EnsureSpaceFallback() 831 ptr = Next() + overrun; in EnsureSpaceFallback()
|
/third_party/cJSON/tests/unity/extras/fixture/src/ |
H A D | unity_fixture.c | 245 int overrun; in unity_free() local 252 overrun = isOverrun(mem); in unity_free() 254 if (overrun) in unity_free() 256 UNITY_TEST_FAIL(Unity.CurrentTestLineNumber, "Buffer overrun detected during free()"); in unity_free() 279 UNITY_TEST_FAIL(Unity.CurrentTestLineNumber, "Buffer overrun detected during realloc()"); in unity_realloc()
|
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_pipeline_cache.c | 295 assert(reader.current == reader.end && !reader.overrun); in vk_pipeline_cache_object_deserialize() 466 if (blob.overrun) { in vk_pipeline_cache_lookup_nir() 541 if (blob.overrun) in vk_pipeline_cache_load() 554 if (blob.overrun) in vk_pipeline_cache_load()
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_pipeline_cache.c | 48 if (blob.overrun) in pvr_pipeline_cache_load()
|
/third_party/mesa3d/src/compiler/glsl/ |
H A D | shader_cache.cpp | 243 if (!deserialized || metadata.current != metadata.end || metadata.overrun) { in shader_cache_read_program_metadata()
|
H A D | serialize.cpp | 1344 return !blob->overrun; in deserialize_glsl_program()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_pipeline_cache.c | 249 if (blob->overrun) in anv_shader_bin_deserialize() 282 if (blob->overrun) in anv_shader_bin_deserialize()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_shader_cache.c | 190 if (blob_reader.current != blob_reader.end || blob_reader.overrun) { in st_deserialise_nir_program()
|
/third_party/alsa-lib/src/timer/ |
H A D | timer.c | 871 * \brief get overrun count 873 * \return overrun count 878 return status->overrun; in snd_timer_status_get_overrun()
|
/third_party/pulseaudio/src/modules/alsa/ |
H A D | alsa-source.c | 512 pa_log_debug("%s: Buffer overrun!", call); in try_recover() 535 bool overrun = false; in check_left_to_record() local 537 /* We use <= instead of < for this check here because an overrun in check_left_to_record() 548 overrun = true; in check_left_to_record() 565 if (overrun || left_to_record < u->watermark_inc_threshold) in check_left_to_record() 2277 pa_log_info("Disabling latency range changes on overrun"); in pa_alsa_source_new()
|
/third_party/alsa-lib/include/sound/uapi/ |
H A D | asound.h | 961 unsigned int overrun; /* count of read queue overruns */ member
|