/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/protobuf/src/google/protobuf/stubs/ |
D | int128.h | 230 inline uint128 operator<<(const uint128& val, int amount) { 232 if (amount < 64) { 233 if (amount == 0) { 236 uint64 new_hi = (Uint128High64(val) << amount) | 237 (Uint128Low64(val) >> (64 - amount)); 238 uint64 new_lo = Uint128Low64(val) << amount; 240 } else if (amount < 128) { 241 return uint128(Uint128Low64(val) << (amount - 64), 0); 247 inline uint128 operator>>(const uint128& val, int amount) { 249 if (amount < 64) { [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-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-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-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-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-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-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 …]
|
D | cond-rd-operand-rn-shift-amount-1to32-a32.json | 29 "Cmn", // CMN{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; A1 30 "Cmp", // CMP{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; A1 31 "Mov", // MOV{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; A1 32 "Movs", // MOVS{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; A1 33 "Mvn", // MVN{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; A1 34 "Mvns", // MVNS{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; A1 35 "Teq", // TEQ{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; A1 36 "Tst" // TST{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; A1
|
D | cond-rd-operand-rn-shift-amount-1to31-a32.json | 29 "Cmn", // CMN{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; A1 30 "Cmp", // CMP{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; A1 31 "Mov", // MOV{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; A1 32 "Movs", // MOVS{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; A1 33 "Mvn", // MVN{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; A1 34 "Mvns", // MVNS{<c>}{<q>} <Rd>, <Rm> {, <shift> #<amount> } ; A1 35 "Teq", // TEQ{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; A1 36 "Tst" // TST{<c>}{<q>} <Rn>, <Rm> {, <shift> #<amount> } ; A1
|
/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/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/skia/src/core/ |
D | SkFontStream.cpp | 40 static bool read(SkStream* stream, void* buffer, size_t amount) { in read() argument 41 return stream->read(buffer, amount) == amount; in read() 44 static bool skip(SkStream* stream, size_t amount) { in skip() argument 45 return stream->skip(amount) == amount; in skip() 78 size_t amount = sizeof(SkSharedTTHeader) + ttcIndex * sizeof(uint32_t); in count_tables() local 79 header = (SkSharedTTHeader*)storage.reset(amount); in count_tables() 80 if (!read(stream, header, amount)) { in count_tables()
|
/external/skqp/src/core/ |
D | SkFontStream.cpp | 40 static bool read(SkStream* stream, void* buffer, size_t amount) { in read() argument 41 return stream->read(buffer, amount) == amount; in read() 44 static bool skip(SkStream* stream, size_t amount) { in skip() argument 45 return stream->skip(amount) == amount; in skip() 78 size_t amount = sizeof(SkSharedTTHeader) + ttcIndex * sizeof(uint32_t); in count_tables() local 79 header = (SkSharedTTHeader*)storage.reset(amount); in count_tables() 80 if (!read(stream, header, amount)) { in count_tables()
|
/external/sonivox/arm-wt-22k/host_src/ |
D | eas_hostmm.c | 185 void *EAS_HWMemCpy (void *dest, const void *src, EAS_I32 amount) in EAS_HWMemCpy() argument 187 if (amount < 0) { in EAS_HWMemCpy() 188 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x1a54b6e8, 0x00000004 , amount); in EAS_HWMemCpy() 191 return memcpy(dest, src, (size_t) amount); in EAS_HWMemCpy() 202 void *EAS_HWMemSet (void *dest, int val, EAS_I32 amount) in EAS_HWMemSet() argument 204 if (amount < 0) { in EAS_HWMemSet() 205 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x1a54b6e8, 0x00000005 , amount); in EAS_HWMemSet() 208 return memset(dest, val, (size_t) amount); in EAS_HWMemSet() 219 EAS_I32 EAS_HWMemCmp (const void *s1, const void *s2, EAS_I32 amount) in EAS_HWMemCmp() argument 221 if (amount < 0) { in EAS_HWMemCmp() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | hebrwcal.cpp | 214 void HebrewCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) in add() argument 230 if (amount > 0) { in add() 232 month += amount; in add() 246 month += amount; in add() 266 Calendar::add(field, amount, status); in add() 274 void HebrewCalendar::add(EDateFields field, int32_t amount, UErrorCode& status) in add() argument 276 add((UCalendarDateFields)field, amount, status); in add() 311 void HebrewCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) in roll() argument 324 int32_t newMonth = month + (amount % yearLength); in roll() 330 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll() [all …]
|
/external/curl/tests/libtest/ |
D | lib1591.c | 37 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback() local 43 if(amount > strlen(data)-consumed) { in read_callback() 44 amount = strlen(data); in read_callback() 47 consumed += amount; in read_callback() 49 memcpy(ptr, data, amount); in read_callback() 50 return amount; in read_callback()
|
/external/autotest/client/site_tests/hardware_TPMTakeOwnership/ |
D | hardware_TPMTakeOwnership.py | 59 def _sleep(self, amount): argument 65 time.sleep(amount) 66 if amount >= 1: 67 logging.debug('Slept for %0.2f second', amount) 68 elif amount >= 0.001: 69 logging.debug('Slept for %0.2f millisecond', (amount * 1000)) 71 logging.debug('Slept for %0.2f microsecond', (amount * 1000000))
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | HebrewCalendar.java | 425 public void add(int field, int amount) in add() argument 438 if (amount > 0) { in add() 440 month += amount; in add() 454 month += amount; in add() 474 super.add(field, amount); in add() 510 public void roll(int field, int amount) in roll() argument 520 int newMonth = month + (amount % yearLength); in roll() 526 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll() 528 } else if (amount < 0 && month > ADAR_1 && newMonth <= ADAR_1) { in roll() 537 super.roll(field, amount); in roll()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | HebrewCalendar.java | 448 public void add(int field, int amount) in add() argument 461 if (amount > 0) { in add() 463 month += amount; in add() 477 month += amount; in add() 497 super.add(field, amount); in add() 534 public void roll(int field, int amount) in roll() argument 544 int newMonth = month + (amount % yearLength); in roll() 550 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll() 552 } else if (amount < 0 && month > ADAR_1 && newMonth <= ADAR_1) { in roll() 561 super.roll(field, amount); in roll()
|