Home
last modified time | relevance | path

Searched refs:in_use (Results 1 – 25 of 62) sorted by relevance

123

/external/grpc-grpc/tools/run_tests/python_utils/
Dport_server.py53 in_use = {} variable
104 if i in in_use:
105 age = time.time() - in_use[i]
109 del in_use[i]
118 global in_use
132 in_use[port] = time.time()
165 if p in in_use:
166 del in_use[p]
192 dict((k, now - v) for k, v in in_use.items())
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_heap.c63 if (!heap->in_use && heap->size >= size) { in nouveau_heap_alloc()
70 r->in_use = 1; in nouveau_heap_alloc()
101 r->in_use = 0; in nouveau_heap_free()
103 if (r->next && !r->next->in_use) { in nouveau_heap_free()
116 if (r->prev && !r->prev->in_use) { in nouveau_heap_free()
Dnouveau_heap.h55 int in_use; member
/external/libaom/libaom/av1/common/
Dframe_buffers.c52 if (list->int_fb[i].data && !list->int_fb[i].in_use) in av1_zero_unused_internal_frame_buffers()
66 if (!int_fb_list->int_fb[i].in_use) break; in av1_get_frame_buffer()
86 int_fb_list->int_fb[i].in_use = 1; in av1_get_frame_buffer()
96 if (int_fb) int_fb->in_use = 0; in av1_release_frame_buffer()
Dframe_buffers.h25 int in_use; member
/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc308 DCHECK(!chunk->in_use()); in FindChunkPtr()
360 CHECK(!c->in_use() && (c->bin_num == kInvalidBinNum)); in SplitChunk()
425 CHECK(!c1->in_use() && !c2->in_use()); in Merge()
462 CHECK(!c->in_use() && (c->bin_num == kInvalidBinNum)); in InsertFreeChunkIntoBin()
474 CHECK(!c->in_use() && (c->bin_num != kInvalidBinNum)); in RemoveFreeChunkIterFromBin()
481 CHECK(!c->in_use() && (c->bin_num != kInvalidBinNum)); in RemoveFreeChunkFromBin()
489 CHECK(c->in_use() && (c->bin_num == kInvalidBinNum)); in FreeAndMaybeCoalesce()
505 if (c->next != kInvalidChunkHandle && !ChunkFromHandle(c->next)->in_use()) { in FreeAndMaybeCoalesce()
513 if (c->prev != kInvalidChunkHandle && !ChunkFromHandle(c->prev)->in_use()) { in FreeAndMaybeCoalesce()
605 if (c->in_use()) { in RenderOccupancy()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dbandwidth_estimator.c125 bwest_str->external_bw_info.in_use = 0; in WebRtcIsac_InitBandwidthEstimator()
162 assert(!bwest_str->external_bw_info.in_use); in WebRtcIsac_UpdateBandwidthEstimator()
517 assert(!bwest_str->external_bw_info.in_use); in WebRtcIsac_UpdateUplinkBwImpl()
575 assert(!bwest_str->external_bw_info.in_use); in WebRtcIsac_UpdateUplinkJitter()
622 if (bwest_str->external_bw_info.in_use) { in WebRtcIsac_GetDownlinkBwJitIndexImpl()
714 assert(!bwest_str->external_bw_info.in_use); in WebRtcIsac_GetDownlinkBandwidth()
744 assert(!bwest_str->external_bw_info.in_use); in WebRtcIsac_GetDownlinkMaxDelay()
767 return bwest_str->external_bw_info.in_use in WebRtcIsac_GetUplinkBandwidth()
773 return bwest_str->external_bw_info.in_use in WebRtcIsac_GetUplinkMaxDelay()
781 assert(!bwest_str->external_bw_info.in_use); in WebRtcIsacBw_GetBandwidthInfo()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_frame_buffers.c49 if (!int_fb_list->int_fb[i].in_use) break; in vp9_get_frame_buffer()
66 int_fb_list->int_fb[i].in_use = 1; in vp9_get_frame_buffer()
76 if (int_fb) int_fb->in_use = 0; in vp9_release_frame_buffer()
Dvp9_frame_buffers.h24 int in_use; member
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dbandwidth_estimator.c121 bweStr->external_bw_info.in_use = 0; in WebRtcIsacfix_InitBandwidthEstimator()
183 assert(!bweStr->external_bw_info.in_use); in WebRtcIsacfix_UpdateUplinkBwImpl()
554 assert(!bweStr->external_bw_info.in_use); in WebRtcIsacfix_UpdateUplinkBwRec()
627 if (bweStr->external_bw_info.in_use) in WebRtcIsacfix_GetDownlinkBwIndexImpl()
735 assert(!bweStr->external_bw_info.in_use); in WebRtcIsacfix_GetDownlinkBandwidth()
793 assert(!bweStr->external_bw_info.in_use); in WebRtcIsacfix_GetDownlinkMaxDelay()
812 return bweStr->external_bw_info.in_use in WebRtcIsacfix_GetUplinkBandwidth()
818 return bweStr->external_bw_info.in_use in WebRtcIsacfix_GetUplinkMaxDelay()
825 assert(!bweStr->external_bw_info.in_use); in WebRtcIsacfixBw_GetBandwidthInfo()
826 bwinfo->in_use = 1; in WebRtcIsacfixBw_GetBandwidthInfo()
/external/python/cpython3/Modules/_sqlite/
Dstatement.c60 self->in_use = 0; in pysqlite_statement_create()
334 self->in_use = 0; in pysqlite_statement_finalize()
345 if (self->in_use && self->st) { in pysqlite_statement_reset()
351 self->in_use = 0; in pysqlite_statement_reset()
360 self->in_use = 1; in pysqlite_statement_mark_dirty()
Dstatement.h40 int in_use; member
/external/libaom/libaom/test/
Dexternal_frame_buffer_test.cc32 int in_use; member
111 EXPECT_EQ(1, ext_fb->in_use); in ReturnFrameBuffer()
112 ext_fb->in_use = 0; in ReturnFrameBuffer()
138 if (!ext_fb_list_[i].in_use) break; in FindFreeBufferIndex()
149 ASSERT_EQ(0, ext_fb_list_[idx].in_use); in SetFrameBuffer()
150 ext_fb_list_[idx].in_use = 1; in SetFrameBuffer()
/external/ipsec-tools/src/racoon/
Dnattraversal.c74 unsigned in_use; member
378 ka->in_use++; in natt_keepalive_add()
380 saddr2str_fromto("%s->%s", src, dst), ka->in_use); in natt_keepalive_add()
403 new_addr->in_use = 1; in natt_keepalive_add()
438 saddr2str_fromto("%s->%s", src, dst), ka->in_use); in natt_keepalive_remove()
442 -- ka->in_use <= 0) { in natt_keepalive_remove()
/external/libvpx/libvpx/test/
Dexternal_frame_buffer_test.cc32 int in_use; member
111 EXPECT_EQ(1, ext_fb->in_use); in ReturnFrameBuffer()
112 ext_fb->in_use = 0; in ReturnFrameBuffer()
138 if (!ext_fb_list_[i].in_use) break; in FindFreeBufferIndex()
149 ASSERT_EQ(0, ext_fb_list_[idx].in_use); in SetFrameBuffer()
150 ext_fb_list_[idx].in_use = 1; in SetFrameBuffer()
/external/python/cpython2/Modules/_sqlite/
Dstatement.c62 self->in_use = 0; in pysqlite_statement_create()
384 self->in_use = 0; in pysqlite_statement_finalize()
395 if (self->in_use && self->st) { in pysqlite_statement_reset()
401 self->in_use = 0; in pysqlite_statement_reset()
410 self->in_use = 1; in pysqlite_statement_mark_dirty()
/external/webp/src/utils/
Dutils.c254 uint8_t in_use[COLOR_HASH_SIZE] = { 0 }; in WebPGetColorPalette() local
272 if (!in_use[key]) { in WebPGetColorPalette()
274 in_use[key] = 1; in WebPGetColorPalette()
295 if (in_use[i]) { in WebPGetColorPalette()
/external/u-boot/drivers/video/
Ddisplay-uclass.c35 disp_uc_plat->in_use = true; in display_enable()
63 return disp_uc_plat->in_use; in display_in_use()
/external/e2fsprogs/lib/ext2fs/
Dunix_io.c93 unsigned in_use:1; member
402 cache->in_use = 0; in alloc_cache()
428 cache->in_use = 0; in free_cache()
451 if (!cache->in_use) { in find_cached_block()
475 if (cache->dirty && cache->in_use) in reuse_cache()
478 cache->in_use = 1; in reuse_cache()
498 if (!cache->in_use) in flush_cached_blocks()
502 cache->in_use = 0; in flush_cached_blocks()
878 cache->in_use = 0; in unix_read_blk64()
/external/u-boot/fs/yaffs2/
Dyaffs_verify.c52 int in_use; in yaffs_verify_blk() local
86 in_use = yaffs_count_chunk_bits(dev, n); in yaffs_verify_blk()
87 if (in_use != bi->pages_in_use) in yaffs_verify_blk()
90 n, bi->pages_in_use, in_use); in yaffs_verify_blk()
/external/libdrm/tests/planetest/
Dmodeset.c140 if (p->in_use) in get_sp_plane()
146 p->in_use = 1; in get_sp_plane()
165 plane->in_use = 0; in put_sp_plane()
/external/wpa_supplicant_8/src/drivers/
Ddriver_macsec_qca.c410 bool in_use = FALSE; in macsec_qca_get_available_receive_sc() local
414 &in_use); in macsec_qca_get_available_receive_sc()
418 if (!in_use) { in macsec_qca_get_available_receive_sc()
605 bool in_use = FALSE; in macsec_qca_get_available_transmit_sc() local
609 &in_use)) in macsec_qca_get_available_transmit_sc()
612 if (!in_use) { in macsec_qca_get_available_transmit_sc()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/
Dlocked_bandwidth_info.cc17 bwinfo_.in_use = 0; in LockedIsacBandwidthInfo()
Dbandwidth_info.h17 int in_use; member
/external/u-boot/include/
Ddisplay.h23 bool in_use; member

123