/external/u-boot/arch/arm/include/asm/ |
processor.h | 67 atomic_t refcount; member in struct:thread_struct 82 refcount: ATOMIC_INIT(1), \ 115 #define get_task_struct(p) atomic_inc(&(p)->thread.refcount) 118 if (atomic_dec_and_test(&(p)->thread.refcount)) \
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
MediaBuffer.h | 86 virtual int refcount() const { function in class:android::MediaBuffer
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
GLSharedGroup.h | 118 int refcount; member in struct:ShaderData
|
/external/compiler-rt/lib/BlocksRuntime/ |
runtime.c | 246 _Byref_flag_initial_value = BLOCK_IS_GC; // no refcount 284 /* Copy, or bump refcount, of a block. If really copying, call the copy helper if present. */ 303 // Tell collector to hang on this - it will bump the GC refcount version 317 // reset refcount 328 // Under GC want allocation with refcount 1 so we ask for "true" if wantsOne 335 // reset refcount 416 int refcount; local 427 refcount = shared_struct->flags & BLOCK_REFCOUNT_MASK; 428 if (refcount <= 0) { 467 // Tell GC we no longer have our own refcounts. GC will decr its refcount [all...] |
/external/e2fsprogs/e2fsck/ |
ea_refcount.c | 23 * reference counts. Once the refcount has dropped to zero, it is 40 void ea_refcount_free(ext2_refcount_t refcount) 42 if (!refcount) 45 if (refcount->list) 46 ext2fs_free_mem(&refcount->list); 47 ext2fs_free_mem(&refcount); 52 ext2_refcount_t refcount; local 56 retval = ext2fs_get_mem(sizeof(struct ea_refcount), &refcount); 59 memset(refcount, 0, sizeof(struct ea_refcount)); 63 refcount->size = size 375 ext2_refcount_t refcount; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
ext2_io.h | 58 int refcount; member in struct:struct_io_channel 116 #define io_channel_bumpcount(c) ((c)->refcount++)
|
ext2fsP.h | 86 int refcount; member in struct:ext2_inode_cache
|
qcow2.h | 95 struct ext2_qcow2_refcount refcount; member in struct:ext2_qcow2_image
|
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
http_connect_handshaker.cc | 45 gpr_refcount refcount; member in struct:http_connect_handshaker 67 if (gpr_unref(&handshaker->refcount)) { 321 gpr_ref(&handshaker->refcount); 337 gpr_ref_init(&handshaker->refcount, 1);
|
/external/grpc-grpc/src/core/lib/channel/ |
channel_stack.h | 175 grpc_stream_refcount refcount; member in struct:grpc_channel_stack 185 /* shared refcount for this channel stack. 187 with the address of the refcount, but higher layers prefer to think 189 grpc_stream_refcount refcount; member in struct:grpc_call_stack 228 grpc_stream_ref(&(call_stack)->refcount, reason) 230 grpc_stream_unref(&(call_stack)->refcount, reason) 232 grpc_stream_ref(&(channel_stack)->refcount, reason) 234 grpc_stream_unref(&(channel_stack)->refcount, reason) 237 grpc_stream_ref(&(call_stack)->refcount) 239 grpc_stream_unref(&(call_stack)->refcount) [all...] |
/external/grpc-grpc/src/core/lib/iomgr/ |
endpoint_cfstream.cc | 44 gpr_refcount refcount; member in struct:__anon23115 78 gpr_atm val = gpr_atm_no_barrier_load(&ep->refcount.count); 83 if (gpr_unref(&ep->refcount)) { 90 gpr_atm val = gpr_atm_no_barrier_load(&ep->refcount.count); 95 gpr_ref(&ep->refcount); 101 if (gpr_unref(&ep->refcount)) { 105 static void CFStreamRef(CFStreamEndpoint* ep) { gpr_ref(&ep->refcount); } 346 gpr_ref_init(&ep_impl->refcount, 1);
|
tcp_custom.cc | 58 gpr_refcount refcount; member in struct:__anon23152 93 gpr_atm val = gpr_atm_no_barrier_load(&tcp->refcount.count); 98 if (gpr_unref(&tcp->refcount)) { 106 gpr_atm val = gpr_atm_no_barrier_load(&tcp->refcount.count); 111 gpr_ref(&tcp->refcount); 117 if (gpr_unref(&tcp->refcount)) { 122 static void tcp_ref(custom_tcp_endpoint* tcp) { gpr_ref(&tcp->refcount); } 355 gpr_ref_init(&tcp->refcount, 1);
|
tcp_windows.cc | 108 gpr_refcount refcount; member in struct:grpc_tcp 145 gpr_atm val = gpr_atm_no_barrier_load(&tcp->refcount.count); 150 if (gpr_unref(&tcp->refcount)) { 158 gpr_atm val = gpr_atm_no_barrier_load(&tcp->refcount.count); 163 gpr_ref(&tcp->refcount); 169 if (gpr_unref(&tcp->refcount)) { 174 static void tcp_ref(grpc_tcp* tcp) { gpr_ref(&tcp->refcount); } 459 gpr_ref_init(&tcp->refcount, 1);
|
/external/grpc-grpc/src/core/lib/security/credentials/ |
credentials.h | 108 gpr_refcount refcount; member in struct:grpc_channel_credentials 177 gpr_refcount refcount; member in struct:grpc_call_credentials 215 gpr_refcount refcount; member in struct:grpc_server_credentials
|
/external/grpc-grpc/test/core/gpr/ |
sync_test.cc | 145 int incr_step; /* how much to increment/decrement refcount each time */ 157 gpr_refcount refcount; member in struct:test 178 gpr_ref_init(&m->refcount, 0); 239 incr_step controls by how much m->refcount should be incremented/decremented 420 /* Increment m->refcount by m->incr_step for m->iterations times. Decrement 428 gpr_ref(&m->refcount); 430 gpr_refn(&m->refcount, m->incr_step); 439 /* Wait until m->event is set to (void *)1, then decrement m->refcount by 1 450 GPR_ASSERT(!gpr_unref(&m->refcount)); 453 GPR_ASSERT(gpr_unref(&m->refcount)); [all...] |
/external/honggfuzz/third_party/android/libBlocksRuntime/ |
runtime.c | 246 _Byref_flag_initial_value = BLOCK_IS_GC; // no refcount 284 /* Copy, or bump refcount, of a block. If really copying, call the copy helper if present. */ 303 // Tell collector to hang on this - it will bump the GC refcount version 317 // reset refcount 328 // Under GC want allocation with refcount 1 so we ask for "true" if wantsOne 335 // reset refcount 416 int refcount; local 427 refcount = shared_struct->flags & BLOCK_REFCOUNT_MASK; 428 if (refcount <= 0) { 467 // Tell GC we no longer have our own refcounts. GC will decr its refcount [all...] |
/external/libdrm/amdgpu/ |
amdgpu_internal.h | 67 atomic_t refcount; member in struct:amdgpu_device 93 atomic_t refcount; member in struct:amdgpu_bo 128 atomic_t refcount; member in struct:amdgpu_semaphore
|
/external/libusb/libusb/os/ |
darwin_usb.h | 129 int refcount; member in struct:darwin_cached_device
|
/external/mesa3d/src/gallium/drivers/vc5/ |
vc5_simulator.c | 82 int refcount; member in struct:vc5_simulator_state 573 if (sim_state.refcount++) { 634 if (!--sim_state.refcount) {
|
/external/mesa3d/src/gbm/main/ |
gbmint.h | 57 unsigned int refcount; member in struct:gbm_device
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
dri_util.h | 291 int refcount; member in struct:__DRIdrawableRec
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_mipmap_tree.h | 188 GLuint refcount; member in struct:intel_mipmap_tree
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
intel_mipmap_tree.h | 352 GLuint refcount; member in struct:intel_mipmap_tree
|
/external/mesa3d/src/mesa/vbo/ |
vbo_save.h | 128 GLuint refcount; member in struct:vbo_save_vertex_store 134 GLuint refcount; member in struct:vbo_save_primitive_store
|
/external/minigbm/ |
drv.h | 88 int32_t refcount; member in struct:vma 103 uint32_t refcount; member in struct:mapping
|