Home
last modified time | relevance | path

Searched refs:oldest (Results 1 - 15 of 15) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_context.h291 unsigned oldest = (ctx->current_batch_idx + 1) % ARRAY_SIZE(ctx->batches); \
292 while (ctx->batches[oldest].fence == NULL && oldest != ctx->current_batch_idx) \
293 oldest = (oldest + 1) % ARRAY_SIZE(ctx->batches); \
294 struct d3d12_batch *batch = &ctx->batches[oldest]; \
295 for (; oldest != ctx->current_batch_idx; \
296 oldest = (oldest + 1) % ARRAY_SIZE(ctx->batches), \
297 batch = &ctx->batches[oldest])
[all...]
/third_party/lwip/src/core/ipv4/
H A Dip4_frag.c72 /** Set to 0 to prevent freeing the oldest datagram when the reassembly buffer is
238 * Free the oldest datagram to make room for enqueueing new fragments.
252 struct ip_reassdata *r, *oldest, *prev, *oldest_prev; in ip_reass_remove_oldest_datagram() local
259 oldest = NULL; in ip_reass_remove_oldest_datagram()
268 if (oldest == NULL) { in ip_reass_remove_oldest_datagram()
269 oldest = r; in ip_reass_remove_oldest_datagram()
271 } else if (r->timer <= oldest->timer) { in ip_reass_remove_oldest_datagram()
272 /* older than the previous oldest */ in ip_reass_remove_oldest_datagram()
273 oldest = r; in ip_reass_remove_oldest_datagram()
282 if (oldest ! in ip_reass_remove_oldest_datagram()
[all...]
/third_party/ffmpeg/libavfilter/
H A Davfiltergraph.c1296 AVFilterLink *oldest = graph->sink_links[0]; in avfilter_graph_request_oldest() local
1301 oldest = graph->sink_links[0]; in avfilter_graph_request_oldest()
1302 if (oldest->dst->filter->activate) { in avfilter_graph_request_oldest()
1304 r = av_buffersink_get_frame_flags(oldest->dst, NULL, in avfilter_graph_request_oldest()
1309 r = ff_request_frame(oldest); in avfilter_graph_request_oldest()
1313 av_log(oldest->dst, AV_LOG_DEBUG, "EOF on sink link %s:%s.\n", in avfilter_graph_request_oldest()
1314 oldest->dst->name, in avfilter_graph_request_oldest()
1315 oldest->dstpad->name); in avfilter_graph_request_oldest()
1317 if (oldest->age_index < --graph->sink_links_count) in avfilter_graph_request_oldest()
1319 oldest in avfilter_graph_request_oldest()
[all...]
/third_party/lwip/src/core/ipv6/
H A Dip6_frag.c65 /** Set to 0 to prevent freeing the oldest datagram when the reassembly buffer is
248 * Free the oldest datagram to make room for enqueueing new fragments.
258 struct ip6_reassdata *r, *oldest; in ip6_reass_remove_oldest_datagram() local
263 r = oldest = reassdatagrams; in ip6_reass_remove_oldest_datagram()
266 if (r->timer <= oldest->timer) { in ip6_reass_remove_oldest_datagram()
267 /* older than the previous oldest */ in ip6_reass_remove_oldest_datagram()
268 oldest = r; in ip6_reass_remove_oldest_datagram()
273 if (oldest == ipr) { in ip6_reass_remove_oldest_datagram()
277 if (oldest != NULL) { in ip6_reass_remove_oldest_datagram()
278 ip6_reass_free_complete_datagram(oldest); in ip6_reass_remove_oldest_datagram()
[all...]
/third_party/curl/lib/
H A Dhostip.c185 time_t oldest; /* oldest time in cache not pruned. */ member
208 if(age > prune->oldest) in hostcache_timestamp_remove()
209 prune->oldest = age; in hostcache_timestamp_remove()
216 * Returns the 'age' of the oldest still kept entry.
226 user.oldest = 0; in hostcache_prune()
232 return user.oldest; in hostcache_prune()
256 time_t oldest = hostcache_prune(data->dns.hostcache, timeout, now); in Curl_hostcache_prune() local
258 if(oldest < INT_MAX) in Curl_hostcache_prune()
259 timeout = (int)oldest; /* w in Curl_hostcache_prune()
[all...]
/third_party/mbedtls/library/
H A Dssl_cache.c136 mbedtls_time_t t = mbedtls_time(NULL), oldest = 0; in ssl_cache_pick_writing_slot() local
165 * If not, remember the oldest entry in `old` for later. in ssl_cache_pick_writing_slot()
175 if (oldest == 0 || cur->timestamp < oldest) { in ssl_cache_pick_writing_slot()
176 oldest = cur->timestamp; in ssl_cache_pick_writing_slot()
202 * elements. In this case, we evict the oldest one, judged by timestamp in ssl_cache_pick_writing_slot()
224 /* Now `old` points to the oldest entry to be overwritten. */ in ssl_cache_pick_writing_slot()
/third_party/libinput/src/
H A Devdev-mt-touchpad-thumb.c276 *oldest = NULL; in tp_thumb_update_multifinger() local
283 * count overall, and the newest and oldest touches. in tp_thumb_update_multifinger()
296 if (!oldest || t->initial_time < oldest->initial_time) { in tp_thumb_update_multifinger()
297 oldest = t; in tp_thumb_update_multifinger()
362 (newest->initial_time - oldest->initial_time) < THUMB_TIMEOUT && in tp_thumb_update_multifinger()
/third_party/libwebsockets/plugins/
H A Dprotocol_lws_mirror.c94 * of still unread elements in the ringbuffer and update the lws_ring "oldest
95 * tail" with it. Elements behind the "oldest tail" are freed and recycled for
96 * new head content. Elements after the "oldest tail" are still waiting to be
99 * If the oldest tail moved on from before, check if it created enough space
102 * Mark connections that are at the oldest tail as being on a 3s timeout to
110 * has changed; it wasn't the oldest so it won't change the oldest.
112 * Returns 0 if oldest unchanged or 1 if oldest changed from this call.
117 uint32_t wai, worst = 0, worst_tail = 0, oldest; in __mirror_update_worst_tail() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dhashtablez_sampler_test.cc332 absl::Duration oldest = absl::ZeroDuration(); in TEST()
334 oldest = std::max(oldest, absl::Now() - info.create_time); in TEST()
336 ASSERT_GE(oldest, absl::ZeroDuration()); in TEST()
/third_party/pulseaudio/speex/libspeexdsp/
H A Djitter.c339 /* If the current sub-window is full, perform a rotation and discard oldest sub-widow */ in update_timings()
418 /*No place left in the buffer, need to make room for it by discarding the oldest packet */ in jitter_buffer_put()
476 /* Find the oldest packet */ in jitter_buffer_get()
477 spx_uint32_t oldest=0; in jitter_buffer_get() local
480 if (jitter->packets[i].data && (!found || LT32(jitter->packets[i].timestamp,oldest))) in jitter_buffer_get()
482 oldest = jitter->packets[i].timestamp; in jitter_buffer_get()
489 jitter->pointer_timestamp = oldest; in jitter_buffer_get()
490 jitter->next_stop = oldest; in jitter_buffer_get()
/third_party/libcoap/src/
H A Dcoap_session.c1114 coap_session_t *oldest = NULL; in coap_endpoint_get_session() local
1137 if (oldest==NULL || session->last_rx_tx < oldest->last_rx_tx) in coap_endpoint_get_session()
1138 oldest = session; in coap_endpoint_get_session()
1165 coap_handle_event(oldest->context, COAP_EVENT_SERVER_SESSION_DEL, oldest); in coap_endpoint_get_session()
1166 coap_session_free(oldest); in coap_endpoint_get_session()
/third_party/mksh/
H A Djobs.c1067 Job *jl, *oldest; local
1078 oldest = NULL;
1081 (!oldest || jl->age < oldest->age))
1082 oldest = jl;
1083 if (!oldest) {
1092 remove_job(oldest, "zombie");
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DRenderer9.cpp1248 NullRenderTargetCacheEntry *oldest = &mNullRenderTargetCache[0]; in getNullColorRenderTarget() local
1251 if (mNullRenderTargetCache[i].lruCount < oldest->lruCount) in getNullColorRenderTarget()
1253 oldest = &mNullRenderTargetCache[i]; in getNullColorRenderTarget()
1257 SafeDelete(oldest->renderTarget); in getNullColorRenderTarget()
1258 oldest->renderTarget = GetAs<RenderTarget9>(nullRenderTarget); in getNullColorRenderTarget()
1259 oldest->lruCount = ++mMaxNullColorbufferLRU; in getNullColorRenderTarget()
1260 oldest->width = size.width; in getNullColorRenderTarget()
1261 oldest->height = size.height; in getNullColorRenderTarget()
1263 *outColorRenderTarget = oldest->renderTarget; in getNullColorRenderTarget()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
H A Dp2p.c477 struct p2p_device *dev, *oldest = NULL; local
486 if (oldest == NULL ||
487 os_reltime_before(&dev->last_seen, &oldest->last_seen))
488 oldest = dev;
490 if (count + 1 > p2p->cfg->max_peers && oldest) {
492 "Remove oldest peer entry to make room for a new peer "
493 MACSTR_SEC, MAC2STR_SEC(oldest->info.p2p_device_addr));
494 dl_list_del(&oldest->list);
495 p2p_device_free(p2p, oldest);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
H A Dp2p.c417 struct p2p_device *dev, *oldest = NULL; in p2p_create_device() local
426 if (oldest == NULL || in p2p_create_device()
427 os_reltime_before(&dev->last_seen, &oldest->last_seen)) in p2p_create_device()
428 oldest = dev; in p2p_create_device()
430 if (count + 1 > p2p->cfg->max_peers && oldest) { in p2p_create_device()
431 p2p_dbg(p2p, "Remove oldest peer entry to make room for a new peer"); in p2p_create_device()
432 dl_list_del(&oldest->list); in p2p_create_device()
433 p2p_device_free(p2p, oldest); in p2p_create_device()

Completed in 30 milliseconds