/external/llvm-project/lldb/source/Plugins/Process/Utility/ |
D | ARMUtils.h | 89 static inline uint32_t LSL_C(const uint32_t value, const uint32_t amount, in LSL_C() argument 91 if (amount == 0) { in LSL_C() 96 carry_out = amount <= 32 ? Bit32(value, 32 - amount) : 0; in LSL_C() 97 return value << amount; in LSL_C() 100 static inline uint32_t LSL(const uint32_t value, const uint32_t amount, in LSL() argument 103 if (amount == 0) in LSL() 106 uint32_t result = LSL_C(value, amount, dont_care, success); in LSL() 113 static inline uint32_t LSR_C(const uint32_t value, const uint32_t amount, in LSR_C() argument 115 if (amount == 0) { in LSR_C() 120 carry_out = amount <= 32 ? Bit32(value, amount - 1) : 0; in LSR_C() [all …]
|
/external/bcc/tests/python/ |
D | test_tools_memleak_leaker_app.c | 12 static void generate_leak(const char *kind, int amount) { in generate_leak() argument 16 printf("leaking via malloc, %p\n", malloc(amount)); in generate_leak() 21 printf("leaking via calloc, %p\n", calloc(amount, 1)); in generate_leak() 26 printf("leaking via realloc, %p\n", realloc(malloc(10), amount)); in generate_leak() 31 posix_memalign(&ptr, 512, amount); in generate_leak() 37 printf("leaking via valloc, %p\n", valloc(amount)); in generate_leak() 42 printf("leaking via memalign, %p\n", memalign(512, amount)); in generate_leak() 47 printf("leaking via pvalloc, %p\n", pvalloc(amount)); in generate_leak() 52 printf("leaking via aligned_alloc, %p\n", aligned_alloc(512, amount)); in generate_leak() 57 void *ptr = malloc(amount); in generate_leak() [all …]
|
/external/rust/crates/rand/src/seq/ |
D | index.rs | 222 pub fn sample<R>(rng: &mut R, length: usize, amount: usize) -> IndexVec in sample() 224 if amount > length { in sample() 230 return sample_rejection(rng, length, amount); in sample() 232 let amount = amount as u32; in sample() localVariable 239 if amount < 163 { in sample() 242 let amount_fp = amount as f32; in sample() 245 if amount > 11 && (length as f32) < (C[1][j] + m4) * amount_fp { in sample() 246 sample_inplace(rng, length, amount) in sample() 248 sample_floyd(rng, length, amount) in sample() 253 if (length as f32) < C[j] * (amount as f32) { in sample() [all …]
|
/external/vixl/test/aarch32/config/ |
D | cond-rd-rn-operand-rm-a32.json | 29 // MNEMONIC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } 30 // MNEMONIC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, ROR #<amount> } 38 "Adc", // ADC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 39 "Adcs", // ADCS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 40 "Add", // ADD{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 41 // ADD{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; A1 42 "Adds", // ADDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 43 // ADDS{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; A1 44 "And", // AND{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 45 "Ands", // ANDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 [all …]
|
D | cond-rd-rn-operand-rm-shift-amount-1to31-a32.json | 29 "Adc", // ADC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 30 "Adcs", // ADCS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 31 "Add", // ADD{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 32 // ADD{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; A1 33 "Adds", // ADDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 34 // ADDS{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; A1 35 "And", // AND{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 36 "Ands", // ANDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 37 "Bic", // BIC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 38 "Bics", // BICS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 [all …]
|
D | cond-rd-rn-operand-rm-shift-amount-1to32-a32.json | 29 "Adc", // ADC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 30 "Adcs", // ADCS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 31 "Add", // ADD{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 32 // ADD{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; A1 33 "Adds", // ADDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 34 // ADDS{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; A1 35 "And", // AND{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 36 "Ands", // ANDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 37 "Bic", // BIC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 38 "Bics", // BICS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1 [all …]
|
D | cond-rd-rn-operand-rm-shift-amount-1to32-t32.json | 28 // MNEMONIC{<c>}.W <Rd>, <Rn>, <Rm>, ASR|LSR #<amount> 29 // MNEMONIC{<c>}.W <Rd>, SP, <Rm>, ASR|LSR #<amount> 33 "Adc", // ADC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T2 34 "Adcs", // ADCS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T2 35 "Add", // ADD{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T3 36 // ADD{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; T3 37 "Adds", // ADDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T3 38 // ADDS{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; T3 39 "And", // AND{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T2 40 "Ands", // ANDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T2 [all …]
|
D | cond-rd-rn-operand-rm-shift-amount-1to31-t32.json | 28 // MNEMONIC{<c>}.W <Rd>, <Rn>, <Rm>, LSL|ROR #<amount> 29 // MNEMONIC{<c>}.W <Rd>, SP, <Rm>, LSL|ROR #<amount> 33 "Adc", // ADC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T2 34 "Adcs", // ADCS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T2 35 "Add", // ADD{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T3 36 // ADD{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; T3 37 "Adds", // ADDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T3 38 // ADDS{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; T3 39 "And", // AND{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T2 40 "Ands", // ANDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T2 [all …]
|
D | cond-rd-operand-rn-a32.json | 28 // MNEMONIC{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } 29 // MNEMONIC{<c>}{<q>} {<Rd>}, <Rm> {, ROR #<amount> } 37 "Cmn", // CMN{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; A1 38 "Cmp", // CMP{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; A1 39 "Mov", // MOV{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; A1 40 "Movs", // MOVS{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; A1 41 "Mvn", // MVN{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; A1 42 "Mvns", // MVNS{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; A1 43 "Teq", // TEQ{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; A1 44 "Tst", // TST{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; A1 [all …]
|
D | cond-rd-rn-operand-rm-t32.json | 30 // MNEMONIC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } 31 // MNEMONIC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, ROR #<amount> } 46 // ADC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T2 49 // ADCS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T2 56 // ADD{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T3 57 // ADD{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; T3 60 // ADDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T3 61 // ADDS{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; T3 64 // AND{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T2 67 // ANDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; T2 [all …]
|
D | cond-rd-operand-rn-shift-amount-1to32-t32.json | 28 // MNEMONIC{<c>}.W <Rn>, <Rm>, LSL|ROR #<amount> 29 // MNEMONIC{<c>}.N <Rn>, <Rm>, LSL|ROR #<amount> ; Special case for MOV and MOVS 33 "Cmn", // CMN{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; T2 34 "Cmp", // CMP{<c>}{<q>} <Rn>, <Rm>, <shift> #<amount> ; T3 35 "Mov", // MOV<c>{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T2 36 // MOV{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T3 37 "Movs", // MOVS{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T2 38 // MOVS{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T3 39 "Mvn", // MVN{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T2 40 "Mvns", // MVNS{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T2 [all …]
|
D | cond-rd-operand-rn-t32.json | 29 // MNEMONIC{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } 30 // MNEMONIC{<c>}{<q>} {<Rd>}, <Rm> {, ROR #<amount> } 39 // CMN{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; T2 43 // MOV<c>{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T2 44 // MOV{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T3 45 "Movs", // MOVS{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T2 46 // MOVS{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T3 48 // MVN{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T2 50 // MVNS{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T2 51 "Teq", // TEQ{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; T1 [all …]
|
D | cond-rd-operand-rn-shift-amount-1to31-t32.json | 28 // MNEMONIC{<c>}.W <Rn>, <Rm>, LSL|ROR #<amount> 32 "Cmn", // CMN{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; T2 33 "Cmp", // CMP{<c>}{<q>} <Rn>, <Rm>, <shift> #<amount> ; T3 34 "Mov", // MOV<c>{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T2 35 // MOV{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T3 36 "Movs", // MOVS{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T2 37 // MOVS{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T3 38 "Mvn", // MVN{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T2 39 "Mvns", // MVNS{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; T2 40 "Teq", // TEQ{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; T1 [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | int128.h | 232 inline uint128 operator<<(const uint128& val, int amount) { 234 if (amount < 64) { 235 if (amount == 0) { 238 uint64 new_hi = (Uint128High64(val) << amount) | 239 (Uint128Low64(val) >> (64 - amount)); 240 uint64 new_lo = Uint128Low64(val) << amount; 242 } else if (amount < 128) { 243 return uint128(Uint128Low64(val) << (amount - 64), 0); 249 inline uint128 operator>>(const uint128& val, int amount) { 251 if (amount < 64) { [all …]
|
/external/tensorflow/tensorflow/compiler/xla/pjrt/ |
D | semaphore.cc | 27 return args->semaphore->value_ >= args->amount; in CanAcquire() 30 void Semaphore::Acquire(int64 amount) { in Acquire() argument 31 CHECK_GE(amount, 0); in Acquire() 35 args.amount = amount; in Acquire() 38 value_ -= amount; in Acquire() 42 void Semaphore::Release(int64 amount) { in Release() argument 43 CHECK_GE(amount, 0); in Release() 45 value_ += amount; in Release() 69 Semaphore::ScopedReservation Semaphore::ScopedAcquire(int64 amount) { in ScopedAcquire() argument 70 Acquire(amount); in ScopedAcquire() [all …]
|
D | semaphore.h | 30 void Acquire(int64 amount); 33 void Release(int64 amount); 37 ScopedReservation(Semaphore* semaphore, int64 amount) in ScopedReservation() argument 38 : semaphore_(semaphore), amount_(amount) {} in ScopedReservation() 52 ScopedReservation ScopedAcquire(int64 amount); 57 int64 amount; member
|
/external/dagger2/java/dagger/example/atm/ |
D | InMemoryDatabase.java | 52 public void deposit(BigDecimal amount) { in deposit() argument 53 checkNonNegative(amount, "deposit"); in deposit() 54 balance = balance.add(amount); in deposit() 58 public void withdraw(BigDecimal amount) { in withdraw() argument 59 checkNonNegative(amount, "withdraw"); in withdraw() 60 balance = balance.subtract(amount); in withdraw() 63 private void checkNonNegative(BigDecimal amount, String action) { in checkNonNegative() argument 64 if (amount.signum() == -1) { in checkNonNegative() 66 String.format("Cannot %s negative amounts: %s", action, amount)); in checkNonNegative()
|
D | WithdrawCommand.java | 44 protected void handleAmount(BigDecimal amount) { in handleAmount() argument 46 if (amount.compareTo(remainingWithdrawalLimit) > 0) { in handleAmount() 50 amount, remainingWithdrawalLimit)); in handleAmount() 54 BigDecimal newBalance = account.balance().subtract(amount); in handleAmount() 60 amount, account.balance(), minimumBalance)); in handleAmount() 62 account.withdraw(amount); in handleAmount() 63 withdrawalLimiter.recordWithdrawal(amount); in handleAmount()
|
/external/snakeyaml/src/test/java/examples/ |
D | SelectiveConstructorTest.java | 69 private int amount; field in MyPersistentObject 73 this.amount = 222; in MyPersistentObject() 76 public MyPersistentObject(String id, int amount) { in MyPersistentObject() argument 78 this.amount = amount; in MyPersistentObject() 90 return amount; in getAmount() 93 public void setAmount(int amount) { in setAmount() argument 94 this.amount = amount; in setAmount() 99 return "MyPersistentObject [id=" + id + ", amount=" + amount + "]"; in toString()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/testsupport/ |
D | AsyncReaderWrapperForByteArray.java | 42 int amount = Math.min(_bytesPerFeed, _end - _offset); in nextToken() local 43 if (amount < 1) { // end-of-input? in nextToken() 48 feeder.feedInput(_doc, _offset, _offset+amount); in nextToken() 50 byte[] tmp = new byte[amount + _padding + _padding]; in nextToken() 51 System.arraycopy(_doc, _offset, tmp, _padding, amount); in nextToken() 52 feeder.feedInput(tmp, _padding, _padding+amount); in nextToken() 54 _offset += amount; in nextToken()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
D | BigDecimalJavaBean.java | 22 private float amount; field in BigDecimalJavaBean 33 return amount; in getAmount() 36 public void setAmount(float amount) { in setAmount() argument 37 this.amount = amount; in setAmount()
|
D | AtomicJavaBean.java | 21 private float amount; field in AtomicJavaBean 25 return amount; in getAmount() 28 public void setAmount(float amount) { in setAmount() argument 29 this.amount = amount; in setAmount()
|
/external/rust/crates/crc32fast/src/ |
D | lib.rs | 55 amount: u64, field 82 amount: 0, in internal_new_baseline() 93 amount: 0, in internal_new_specialized() 103 self.amount += buf.len() as u64; in update() 120 self.amount = 0; in reset() 129 self.amount += other.amount; in combine() 132 State::Baseline(ref mut state) => state.combine(other_crc, other.amount), in combine() 133 State::Specialized(ref mut state) => state.combine(other_crc, other.amount), in combine()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-vfs.h | 113 int (*LWS_FOP_READ)(lws_fop_fd_t fop_fd, lws_filepos_t *amount, 116 int (*LWS_FOP_WRITE)(lws_fop_fd_t fop_fd, lws_filepos_t *amount, 232 lws_vfs_file_read(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in lws_vfs_file_read() argument 235 return fop_fd->fops->LWS_FOP_READ(fop_fd, amount, buf, len); in lws_vfs_file_read() 246 lws_vfs_file_write(lws_fop_fd_t fop_fd, lws_filepos_t *amount, in lws_vfs_file_write() argument 249 return fop_fd->fops->LWS_FOP_WRITE(fop_fd, amount, buf, len); in lws_vfs_file_write() 264 _lws_plat_file_read(lws_fop_fd_t fop_fd, lws_filepos_t *amount, 267 _lws_plat_file_write(lws_fop_fd_t fop_fd, lws_filepos_t *amount, 272 uint8_t **buf, lws_filepos_t *amount);
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/Platform/src/ |
D | Entropy.c | 76 uint32_t amount // amount requested in _plat__GetEntropy() argument 81 if(amount == 0) in _plat__GetEntropy() 92 for(uint32_t n = 0; n < amount; n += sizeof(random32bit)) in _plat__GetEntropy() 99 memcpy(&entropy[n], &random32bit, MIN(sizeof(random32bit), amount - n)); in _plat__GetEntropy() 103 return (int32_t)amount; in _plat__GetEntropy()
|