Home
last modified time | relevance | path

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

123

/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/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc295 DCHECK(!chunk->in_use()); in FindChunkPtr()
344 CHECK(!c->in_use() && (c->bin_num == kInvalidBinNum)); in SplitChunk()
405 CHECK(!c1->in_use() && !c2->in_use()); in Merge()
439 CHECK(!c->in_use() && (c->bin_num == kInvalidBinNum)); in InsertFreeChunkIntoBin()
451 CHECK(!c->in_use() && (c->bin_num != kInvalidBinNum)); in RemoveFreeChunkIterFromBin()
458 CHECK(!c->in_use() && (c->bin_num != kInvalidBinNum)); in RemoveFreeChunkFromBin()
466 CHECK(c->in_use() && (c->bin_num == kInvalidBinNum)); in FreeAndMaybeCoalesce()
481 if (!cnext->in_use()) { in FreeAndMaybeCoalesce()
497 if (!cprev->in_use()) { in FreeAndMaybeCoalesce()
602 if (c->in_use()) { in RenderOccupancy()
[all …]
Dbfc_allocator.h125 bool in_use() const { return allocation_id != -1; } in in_use() function
133 " | in_use: ", in_use()); in DebugString()
/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/libvpx/libvpx/test/
Dexternal_frame_buffer_test.cc31 int in_use; member
110 EXPECT_EQ(1, ext_fb->in_use); in ReturnFrameBuffer()
111 ext_fb->in_use = 0; in ReturnFrameBuffer()
137 if (!ext_fb_list_[i].in_use) break; in FindFreeBufferIndex()
148 ASSERT_EQ(0, ext_fb_list_[idx].in_use); in SetFrameBuffer()
149 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/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()
Dstatement.h40 int in_use; member
/external/python/cpython3/Modules/_sqlite/
Dstatement.c60 self->in_use = 0; in pysqlite_statement_create()
380 self->in_use = 0; in pysqlite_statement_finalize()
391 if (self->in_use && self->st) { in pysqlite_statement_reset()
397 self->in_use = 0; in pysqlite_statement_reset()
406 self->in_use = 1; in pysqlite_statement_mark_dirty()
Dstatement.h40 int in_use; member
/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/e2fsprogs/lib/ext2fs/
Dunix_io.c87 unsigned in_use:1; member
331 cache->in_use = 0; in alloc_cache()
357 cache->in_use = 0; in free_cache()
380 if (!cache->in_use) { in find_cached_block()
404 if (cache->dirty && cache->in_use) in reuse_cache()
407 cache->in_use = 1; in reuse_cache()
427 if (!cache->in_use) in flush_cached_blocks()
431 cache->in_use = 0; in flush_cached_blocks()
788 cache->in_use = 0; in unix_read_blk64()
/external/wpa_supplicant_8/src/drivers/
Ddriver_macsec_qca.c394 bool in_use = FALSE; in macsec_qca_get_available_receive_sc() local
398 &in_use); in macsec_qca_get_available_receive_sc()
402 if (!in_use) { in macsec_qca_get_available_receive_sc()
566 bool in_use = FALSE; in macsec_qca_get_available_transmit_sc() local
570 &in_use)) in macsec_qca_get_available_transmit_sc()
573 if (!in_use) { in macsec_qca_get_available_transmit_sc()
/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()
Ddev.h14 int in_use; member
Ddev.c241 plane->in_use = 0; in create_sp_dev()
334 if (dev->planes[i].in_use) in destroy_sp_dev()
/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/wpa_supplicant_8/src/pae/
Dieee802_1x_kay.h95 Boolean in_use; /* bool inUse (read only) */ member
123 Boolean in_use; /* bool inUse (read only) */ member
/external/valgrind/auxprogs/
Dvalgrind-di-server.c178 Bool in_use; member
693 assert(conn_state[conn_no].in_use); in handle_transaction()
1171 if (!conn_state[i].in_use) in main()
1187 conn_state[i].in_use = True; in main()
1213 if (!conn_state[i].in_use) in main()
/external/e2fsprogs/misc/
Ddumpe2fs.c47 #define in_use(m, x) (ext2fs_test_bit ((x), (m))) macro
93 if (!in_use (bitmap, i)) in print_free()
98 for (j = i; j < num && !in_use (bitmap, j); j++) in print_free()

123