Home
last modified time | relevance | path

Searched refs:overrun (Results 1 - 21 of 21) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/timer_settime/
H A Dtimer_settime03.c9 * 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 Dparse_context.cc51 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 Dparse_context.h280 const char* Next(int overrun, int d);
/third_party/unity/extras/memory/src/
H A Dunity_memory.c140 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 Dv3d_disk_cache.c144 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 Dblob_test.cpp55 // 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 Dblob.c256 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 Ddisk_cache_os.c507 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 Dblob.h81 * 2. blob->overrun should be false, (otherwise, too much was read).
87 bool overrun; member
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_pipeline_cache.c178 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 Dcoded_stream.cc403 // 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 Dunity_fixture.c245 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 Dvk_pipeline_cache.c295 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 Dpvr_pipeline_cache.c48 if (blob.overrun) in pvr_pipeline_cache_load()
/third_party/mesa3d/src/compiler/glsl/
H A Dshader_cache.cpp243 if (!deserialized || metadata.current != metadata.end || metadata.overrun) { in shader_cache_read_program_metadata()
H A Dserialize.cpp1344 return !blob->overrun; in deserialize_glsl_program()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_pipeline_cache.c249 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 Dst_shader_cache.c190 if (blob_reader.current != blob_reader.end || blob_reader.overrun) { in st_deserialise_nir_program()
/third_party/alsa-lib/src/timer/
H A Dtimer.c871 * \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 Dalsa-source.c512 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 Dasound.h961 unsigned int overrun; /* count of read queue overruns */ member

Completed in 23 milliseconds