| /xsrc/external/mit/fontconfig/dist/src/ |
| fcatomic.c | 28 * Lock cache and configuration files for atomic update 85 FcAtomic *atomic = malloc (total_len); local 86 if (!atomic) 89 atomic->file = (FcChar8 *) (atomic + 1); 90 strcpy ((char *) atomic->file, (char *) file); 92 atomic->new = atomic->file + file_len + 1; 93 strcpy ((char *) atomic->new, (char *) file); 94 strcat ((char *) atomic->new, NEW_NAME) [all...] |
| fccache.c | 1381 FcAtomic *atomic; local 1456 atomic = FcAtomicCreate ((FcChar8 *)cache_hashed); 1457 if (!atomic) 1460 if (!FcAtomicLock (atomic)) 1463 fd = FcOpen((char *)FcAtomicNewFile (atomic), O_RDWR | O_CREAT | O_BINARY, 0666); 1488 if (!FcAtomicReplaceOrig(atomic)) 1513 FcAtomicUnlock (atomic); 1514 FcAtomicDestroy (atomic); 1520 FcAtomicUnlock (atomic); 1522 FcAtomicDestroy (atomic); 1775 FcAtomic *atomic; local [all...] |
| fcatomic.h | 48 #define fc_atomic_int_add(AI, V) o = (AI), (AI) += (V), o // atomic acquire/release 50 #define fc_atomic_ptr_get(P) *(P) // atomic acquire 51 #define fc_atomic_ptr_cmpexch(P,O,N) *(P) == (O) ? (*(P) = (N), FcTrue) : FcFalse // atomic release 125 #include <atomic.h>
|
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| atomic.h | 36 int atomic; member in struct:__anon7036 39 # define atomic_read(x) ((x)->atomic) 40 # define atomic_set(x, val) ((x)->atomic = (val)) 41 # define atomic_inc(x) ((void) __sync_fetch_and_add (&(x)->atomic, 1)) 42 # define atomic_dec_and_test(x) (__sync_fetch_and_add (&(x)->atomic, -1) == 1) 43 # define atomic_add(x, v) ((void) __sync_add_and_fetch(&(x)->atomic, (v))) 44 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v))) 45 # define atomic_cmpxchg(x, oldv, newv) __sync_val_compare_and_swap (&(x)->atomic, oldv, newv) 55 AO_t atomic; member in struct:__anon7037 58 # define atomic_read(x) AO_load_full(&(x)->atomic) 73 typedef struct { uint_t atomic; } atomic_t; member in struct:__anon7038 [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| atomic.h | 36 int atomic; member in struct:__anon7905 39 # define atomic_read(x) ((x)->atomic) 40 # define atomic_set(x, val) ((x)->atomic = (val)) 41 # define atomic_inc(x) ((void) __sync_fetch_and_add (&(x)->atomic, 1)) 42 # define atomic_dec_and_test(x) (__sync_fetch_and_add (&(x)->atomic, -1) == 1) 43 # define atomic_add(x, v) ((void) __sync_add_and_fetch(&(x)->atomic, (v))) 44 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v))) 45 # define atomic_cmpxchg(x, oldv, newv) __sync_val_compare_and_swap (&(x)->atomic, oldv, newv) 55 AO_t atomic; member in struct:__anon7906 58 # define atomic_read(x) AO_load_full(&(x)->atomic) 73 typedef struct { uint_t atomic; } atomic_t; member in struct:__anon7907 [all...] |
| /xsrc/external/mit/libdrm/dist/ |
| xf86atomic.h | 31 * Private definitions for atomic operations 42 int atomic; member in struct:__anon6304 45 # define atomic_read(x) ((x)->atomic) 46 # define atomic_set(x, val) ((x)->atomic = (val)) 47 # define atomic_inc(x) ((void) __sync_fetch_and_add (&(x)->atomic, 1)) 48 # define atomic_inc_return(x) (__sync_add_and_fetch (&(x)->atomic, 1)) 49 # define atomic_dec_and_test(x) (__sync_add_and_fetch (&(x)->atomic, -1) == 0) 50 # define atomic_add(x, v) ((void) __sync_add_and_fetch(&(x)->atomic, (v))) 51 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v))) 52 # define atomic_cmpxchg(x, oldv, newv) __sync_val_compare_and_swap (&(x)->atomic, oldv, newv 63 AO_t atomic; member in struct:__anon6305 88 typedef struct { volatile LIBDRM_ATOMIC_TYPE atomic; } atomic_t; member in struct:__anon6306 [all...] |
| xf86drmMode.c | 1520 struct drm_mode_atomic atomic; local 1540 memclear(atomic); 1549 atomic.count_objs++; 1568 objs_ptr = drmMalloc(atomic.count_objs * sizeof objs_ptr[0]); 1574 count_props_ptr = drmMalloc(atomic.count_objs * sizeof count_props_ptr[0]); 1605 atomic.flags = flags; 1606 atomic.objs_ptr = VOID2U64(objs_ptr); 1607 atomic.count_props_ptr = VOID2U64(count_props_ptr); 1608 atomic.props_ptr = VOID2U64(props_ptr); 1609 atomic.prop_values_ptr = VOID2U64(prop_values_ptr) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/ |
| ir3_a6xx.c | 36 * atomic instructions (used for both SSBO and image) use a new instruction 98 * SSBO atomic intrinsics 100 * All of the SSBO atomic memory operations read a value from memory, 108 * 1: The offset into the SSBO buffer of the variable that the atomic 110 * 2: The data parameter to the atomic function (i.e. the value to add 118 struct ir3_instruction *atomic, *ibo, *src0, *src1, *data, *dummy; local 158 atomic = ir3_ATOMIC_ADD_G(b, ibo, 0, src0, 0, src1, 0); 161 atomic = ir3_ATOMIC_MIN_G(b, ibo, 0, src0, 0, src1, 0); 165 atomic = ir3_ATOMIC_MIN_G(b, ibo, 0, src0, 0, src1, 0); 168 atomic = ir3_ATOMIC_MAX_G(b, ibo, 0, src0, 0, src1, 0) 240 struct ir3_instruction *atomic, *ibo, *src0, *src1, *dummy; local [all...] |
| ir3_a4xx.c | 110 * SSBO atomic intrinsics 112 * All of the SSBO atomic memory operations read a value from memory, 120 * 1: The offset into the SSBO buffer of the variable that the atomic 122 * 2: The data parameter to the atomic function (i.e. the value to add 130 struct ir3_instruction *atomic, *ssbo, *src0, *src1, *src2, *byte_offset, local 156 atomic = ir3_ATOMIC_ADD_G(b, ssbo, 0, src0, 0, src1, 0, src2, 0); 159 atomic = ir3_ATOMIC_MIN_G(b, ssbo, 0, src0, 0, src1, 0, src2, 0); 163 atomic = ir3_ATOMIC_MIN_G(b, ssbo, 0, src0, 0, src1, 0, src2, 0); 166 atomic = ir3_ATOMIC_MAX_G(b, ssbo, 0, src0, 0, src1, 0, src2, 0); 170 atomic = ir3_ATOMIC_MAX_G(b, ssbo, 0, src0, 0, src1, 0, src2, 0) 299 struct ir3_instruction *atomic, *image, *src0, *src1, *src2; local [all...] |
| disasm-a3xx.c | 1007 OPC(6, OPC_ATOMIC_ADD, atomic.add), 1008 OPC(6, OPC_ATOMIC_SUB, atomic.sub), 1009 OPC(6, OPC_ATOMIC_XCHG, atomic.xchg), 1010 OPC(6, OPC_ATOMIC_INC, atomic.inc), 1011 OPC(6, OPC_ATOMIC_DEC, atomic.dec), 1012 OPC(6, OPC_ATOMIC_CMPXCHG, atomic.cmpxchg), 1013 OPC(6, OPC_ATOMIC_MIN, atomic.min), 1014 OPC(6, OPC_ATOMIC_MAX, atomic.max), 1015 OPC(6, OPC_ATOMIC_AND, atomic.and), 1016 OPC(6, OPC_ATOMIC_OR, atomic.or) [all...] |
| /xsrc/external/mit/fontconfig/dist/meson-cc-tests/ |
| solaris-atomic-operations.c | 1 #include <atomic.h>
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/ |
| ir3_a6xx.c | 36 * atomic instructions (used for both SSBO and image) use a new instruction 93 * SSBO atomic intrinsics 95 * All of the SSBO atomic memory operations read a value from memory, 103 * 1: The offset into the SSBO buffer of the variable that the atomic 105 * 2: The data parameter to the atomic function (i.e. the value to add 113 struct ir3_instruction *atomic, *ibo, *src0, *src1, *data, *dummy; local 147 atomic = ir3_ATOMIC_ADD_G(b, ibo, 0, src0, 0, src1, 0); 150 atomic = ir3_ATOMIC_MIN_G(b, ibo, 0, src0, 0, src1, 0); 154 atomic = ir3_ATOMIC_MIN_G(b, ibo, 0, src0, 0, src1, 0); 157 atomic = ir3_ATOMIC_MAX_G(b, ibo, 0, src0, 0, src1, 0) 258 struct ir3_instruction *atomic, *ibo, *src0, *src1, *dummy; local [all...] |
| ir3_a4xx.c | 99 * SSBO atomic intrinsics 101 * All of the SSBO atomic memory operations read a value from memory, 109 * 1: The byte offset into the SSBO buffer of the variable that the atomic 111 * 2: The data parameter to the atomic function (i.e. the value to add 124 struct ir3_instruction *atomic; local 138 atomic = ir3_ATOMIC_ADD_G(b, ssbo, 0, data, 0, src3, 0, byte_offset, 0); 141 atomic = ir3_ATOMIC_MIN_G(b, ssbo, 0, data, 0, src3, 0, byte_offset, 0); 145 atomic = ir3_ATOMIC_MIN_G(b, ssbo, 0, data, 0, src3, 0, byte_offset, 0); 148 atomic = ir3_ATOMIC_MAX_G(b, ssbo, 0, data, 0, src3, 0, byte_offset, 0); 152 atomic = ir3_ATOMIC_MAX_G(b, ssbo, 0, data, 0, src3, 0, byte_offset, 0) 299 struct ir3_instruction *atomic, *src0, *src1, *src2; local [all...] |
| disasm-a3xx.c | 328 OPC(6, OPC_ATOMIC_ADD, atomic.add), 329 OPC(6, OPC_ATOMIC_SUB, atomic.sub), 330 OPC(6, OPC_ATOMIC_XCHG, atomic.xchg), 331 OPC(6, OPC_ATOMIC_INC, atomic.inc), 332 OPC(6, OPC_ATOMIC_DEC, atomic.dec), 333 OPC(6, OPC_ATOMIC_CMPXCHG, atomic.cmpxchg), 334 OPC(6, OPC_ATOMIC_MIN, atomic.min), 335 OPC(6, OPC_ATOMIC_MAX, atomic.max), 336 OPC(6, OPC_ATOMIC_AND, atomic.and), 337 OPC(6, OPC_ATOMIC_OR, atomic.or) [all...] |
| /xsrc/external/mit/fontconfig/dist/doc/ |
| fcatomic.fncs | 38 @TYPE1@ FcAtomic * @ARG1@ atomic 41 Attempts to lock the file referenced by <parameter>atomic</parameter>. 48 @TYPE1@ FcAtomic * @ARG1@ atomic 52 by <parameter>atomic</parameter>. 57 @TYPE1@ FcAtomic * @ARG1@ atomic 60 Returns the file referenced by <parameter>atomic</parameter>. 65 @TYPE1@ FcAtomic * @ARG1@ atomic 68 Replaces the original file referenced by <parameter>atomic</parameter> with 75 @TYPE1@ FcAtomic * @ARG1@ atomic 83 @TYPE1@ FcAtomic * @ARG1@ atomic [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_atom_atomicbuf.c | 77 struct gl_active_atomic_buffer *atomic = local 81 st_binding_to_sb(&st->ctx->AtomicBufferBindings[atomic->Binding], &sb); 84 atomic->Binding, 1, &sb, 0x1);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_atom_atomicbuf.c | 77 /* For !has_hw_atomics, the atomic counters have been rewritten to be above 83 struct gl_active_atomic_buffer *atomic = local 87 st_binding_to_sb(&st->ctx->AtomicBufferBindings[atomic->Binding], &sb); 90 buffer_base + atomic->Binding, 1, &sb, 0x1); 91 used_bindings = MAX2(atomic->Binding + 1, used_bindings);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/util/ |
| pointer.hpp | 26 #include <atomic> 52 std::atomic<unsigned> _ref_count;
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| nir_lower_io.c | 67 unreachable("Invalid SSBO atomic"); 92 unreachable("Invalid SSBO atomic"); 339 unreachable("Invalid atomic"); 342 nir_intrinsic_instr *atomic = local 345 nir_intrinsic_set_base(atomic, var->data.driver_location); 347 atomic->src[0] = nir_src_for_ssa(offset); 351 nir_src_copy(&atomic->src[i], &intrin->src[i], atomic); 354 return atomic; 859 nir_intrinsic_instr *atomic = nir_intrinsic_instr_create(b->shader, op) local [all...] |
| nir_intrinsics.py | 290 # Atomic counters 295 def atomic(name, flags=[]): function 307 atomic("atomic_counter_inc") 308 atomic("atomic_counter_pre_dec") 309 atomic("atomic_counter_post_dec") 310 atomic("atomic_counter_read", flags=[CAN_ELIMINATE]) 320 # Image load, store and atomic intrinsics. 334 # argument with the value to be written, and image atomic operations take 395 # variable atomic intrinsics 397 # All of these variable atomic memory operations read a value from memory [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/util/ |
| pointer.hpp | 26 #include <atomic> 63 std::atomic<unsigned> _ref_count;
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/ |
| spirv_to_nir.c | 2462 vtn_fail_with_opcode("Invalid SPIR-V atomic", opcode); 2697 vtn_fail_with_opcode("Invalid SSBO atomic", opcode); 2723 * moment Atomic Counter support is needed for ARB_spirv support, so is 2724 * only need to support GLSL Atomic Counters that are uints and don't 2727 unreachable("Invalid uniform atomic"); 2754 vtn_fail_with_opcode("Invalid shared atomic", opcode); 2781 vtn_fail_with_opcode("Invalid shared atomic", opcode); 2786 * Handles shared atomics, ssbo atomics and atomic counters. 2793 nir_intrinsic_instr *atomic; local 2819 vtn_fail_with_opcode("Invalid SPIR-V atomic", opcode) [all...] |
| /xsrc/external/mit/fontconfig/dist/fontconfig/ |
| fontconfig.h | 748 FcAtomicLock (FcAtomic *atomic); 751 FcAtomicNewFile (FcAtomic *atomic); 754 FcAtomicOrigFile (FcAtomic *atomic); 757 FcAtomicReplaceOrig (FcAtomic *atomic); 760 FcAtomicDeleteNew (FcAtomic *atomic); 763 FcAtomicUnlock (FcAtomic *atomic); 766 FcAtomicDestroy (FcAtomic *atomic);
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir_lower_io.c | 69 unreachable("Invalid SSBO atomic"); 94 unreachable("Invalid SSBO atomic"); 119 unreachable("Invalid shared atomic"); 1664 nir_intrinsic_instr *atomic = nir_intrinsic_instr_create(b->shader, op); local 1668 atomic->src[src++] = nir_src_for_ssa(addr_to_global(b, addr, addr_format)); 1671 atomic->src[src++] = nir_src_for_ssa(addr_to_offset(b, addr, addr_format)); 1673 atomic->src[src++] = nir_src_for_ssa(addr_to_index(b, addr, addr_format)); 1674 atomic->src[src++] = nir_src_for_ssa(addr_to_offset(b, addr, addr_format)); 1677 atomic->src[src++] = nir_src_for_ssa(intrin->src[1 + i].ssa); 1683 if (nir_intrinsic_has_access(atomic)) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| brw_nir.h | 158 uint32_t brw_aop_for_nir_intrinsic(const nir_intrinsic_instr *atomic);
|