/external/llvm/test/Transforms/ConstProp/ |
D | convert-from-fp16.ll | 4 ; a call to intrinsic 'convert.from.fp16' if the return type is not 'float'. 10 %0 = call float @llvm.convert.from.fp16.f32(i16 0) 18 %0 = call double @llvm.convert.from.fp16.f64(i16 0) 26 %0 = call x86_fp80 @llvm.convert.from.fp16.f80(i16 0) 34 %0 = call fp128 @llvm.convert.from.fp16.f128(i16 0) 42 %0 = call ppc_fp128 @llvm.convert.from.fp16.ppcf128(i16 0) 50 %0 = call i16 @llvm.convert.to.fp16.f64(double 4.0) 51 %1 = call float @llvm.convert.from.fp16.f32(i16 %0) 59 %0 = call i16 @llvm.convert.to.fp16.f64(double 4.0) 60 %1 = call double @llvm.convert.from.fp16.f64(i16 %0) [all …]
|
/external/toybox/toys/other/ |
D | free.c | 29 static char *convert(unsigned long d) 53 "Swap:%16s%12s%12s\n", convert(in.totalram), in free_main() 54 convert(in.totalram-in.freeram), convert(in.freeram), convert(in.sharedram), in free_main() 55 convert(in.bufferram), convert(in.totalram - in.freeram - in.bufferram), in free_main() 56 convert(in.freeram + in.bufferram), convert(in.totalswap), in free_main() 57 convert(in.totalswap - in.freeswap), convert(in.freeswap)); in free_main()
|
/external/caliper/examples/src/main/java/examples/ |
D | DoubleToStringBenchmark.java | 30 @Override String convert(double d) { in convert() method 33 @Override String convert(Double d) { in convert() method 38 @Override String convert(double d) { in convert() method 41 @Override String convert(Double d) { in convert() method 46 @Override String convert(double d) { in convert() method 49 @Override String convert(Double d) { in convert() method 54 @Override String convert(double d) { in convert() method 57 @Override String convert(Double d) { in convert() method 63 abstract String convert(double d); in convert() method in DoubleToStringBenchmark.Method 64 abstract String convert(Double d); in convert() method in DoubleToStringBenchmark.Method [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | ConverterTest.java | 61 assertEquals(LONG_VAL, STR_TO_LONG.convert(STR_VAL)); in testConverter() 62 assertEquals(STR_VAL, STR_TO_LONG.reverse().convert(LONG_VAL)); in testConverter() 82 assertEquals(STR_VAL, reverseConverter.convert(LONG_VAL)); in testReverse() 83 assertEquals(LONG_VAL, reverseConverter.reverse().convert(STR_VAL)); in testReverse() 132 assertEquals(LONG_VAL, converter.convert(new StringWrapper(STR_VAL))); in testAndThen() 133 assertEquals(STR_VAL, converter.reverse().convert(LONG_VAL).value); in testAndThen() 146 assertSame(STR_VAL, stringIdentityConverter.convert(STR_VAL)); in testIdentityConverter() 147 assertSame(STR_VAL, stringIdentityConverter.reverse().convert(STR_VAL)); in testIdentityConverter() 164 assertNull(converter.convert(null)); in testFrom() 165 assertNull(converter.reverse().convert(null)); in testFrom() [all …]
|
D | EnumsTest.java | 109 assertEquals(TestEnum.CHEETO, converter.convert("CHEETO")); in testStringConverter_convert() 110 assertEquals(TestEnum.HONDA, converter.convert("HONDA")); in testStringConverter_convert() 111 assertEquals(TestEnum.POODLE, converter.convert("POODLE")); in testStringConverter_convert() 112 assertNull(converter.convert(null)); in testStringConverter_convert() 113 assertNull(converter.reverse().convert(null)); in testStringConverter_convert() 119 converter.convert("xxx"); in testStringConverter_convertError() 127 assertEquals("CHEETO", converter.reverse().convert(TestEnum.CHEETO)); in testStringConverter_reverse() 128 assertEquals("HONDA", converter.reverse().convert(TestEnum.HONDA)); in testStringConverter_reverse() 129 assertEquals("POODLE", converter.reverse().convert(TestEnum.POODLE)); in testStringConverter_reverse() 141 assertNull(converter.convert(null)); in testStringConverter_nullConversions() [all …]
|
D | CaseFormatTest.java | 192 assertEquals("FooBar", UPPER_UNDERSCORE.converterTo(UPPER_CAMEL).convert("FOO_BAR")); in testConverterToForward() 193 assertEquals("fooBar", UPPER_UNDERSCORE.converterTo(LOWER_CAMEL).convert("FOO_BAR")); in testConverterToForward() 194 assertEquals("FOO_BAR", UPPER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("FooBar")); in testConverterToForward() 195 assertEquals("FOO_BAR", LOWER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("fooBar")); in testConverterToForward() 199 assertEquals("FOO_BAR", UPPER_UNDERSCORE.converterTo(UPPER_CAMEL).reverse().convert("FooBar")); in testConverterToBackward() 200 assertEquals("FOO_BAR", UPPER_UNDERSCORE.converterTo(LOWER_CAMEL).reverse().convert("fooBar")); in testConverterToBackward() 201 assertEquals("FooBar", UPPER_CAMEL.converterTo(UPPER_UNDERSCORE).reverse().convert("FOO_BAR")); in testConverterToBackward() 202 assertEquals("fooBar", LOWER_CAMEL.converterTo(UPPER_UNDERSCORE).reverse().convert("FOO_BAR")); in testConverterToBackward() 208 assertNull(outer.converterTo(inner).convert(null)); in testConverter_nullConversions() 209 assertNull(outer.converterTo(inner).reverse().convert(null)); in testConverter_nullConversions()
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | EnumsTest.java | 75 assertEquals(TestEnum.CHEETO, converter.convert("CHEETO")); in testStringConverter_convert() 76 assertEquals(TestEnum.HONDA, converter.convert("HONDA")); in testStringConverter_convert() 77 assertEquals(TestEnum.POODLE, converter.convert("POODLE")); in testStringConverter_convert() 78 assertNull(converter.convert(null)); in testStringConverter_convert() 79 assertNull(converter.reverse().convert(null)); in testStringConverter_convert() 85 converter.convert("xxx"); in testStringConverter_convertError() 93 assertEquals("CHEETO", converter.reverse().convert(TestEnum.CHEETO)); in testStringConverter_reverse() 94 assertEquals("HONDA", converter.reverse().convert(TestEnum.HONDA)); in testStringConverter_reverse() 95 assertEquals("POODLE", converter.reverse().convert(TestEnum.POODLE)); in testStringConverter_reverse() 100 assertNull(converter.convert(null)); in testStringConverter_nullConversions() [all …]
|
D | CaseFormatTest.java | 181 assertEquals("FooBar", UPPER_UNDERSCORE.converterTo(UPPER_CAMEL).convert("FOO_BAR")); in testConverterToForward() 182 assertEquals("fooBar", UPPER_UNDERSCORE.converterTo(LOWER_CAMEL).convert("FOO_BAR")); in testConverterToForward() 183 assertEquals("FOO_BAR", UPPER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("FooBar")); in testConverterToForward() 184 assertEquals("FOO_BAR", LOWER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("fooBar")); in testConverterToForward() 188 assertEquals("FOO_BAR", UPPER_UNDERSCORE.converterTo(UPPER_CAMEL).reverse().convert("FooBar")); in testConverterToBackward() 189 assertEquals("FOO_BAR", UPPER_UNDERSCORE.converterTo(LOWER_CAMEL).reverse().convert("fooBar")); in testConverterToBackward() 190 assertEquals("FooBar", UPPER_CAMEL.converterTo(UPPER_UNDERSCORE).reverse().convert("FOO_BAR")); in testConverterToBackward() 191 assertEquals("fooBar", LOWER_CAMEL.converterTo(UPPER_UNDERSCORE).reverse().convert("FOO_BAR")); in testConverterToBackward() 197 assertNull(outer.converterTo(inner).convert(null)); in testConverter_nullConversions() 198 assertNull(outer.converterTo(inner).reverse().convert(null)); in testConverter_nullConversions()
|
/external/netperf/src/ |
D | netsh.c | 637 local_send_align = convert(arg1); in scan_cmd_line() 640 local_recv_align = convert(arg2); in scan_cmd_line() 646 remote_send_align = convert(arg1); in scan_cmd_line() 649 remote_recv_align = convert(arg2); in scan_cmd_line() 685 demo_units = convert(arg2); in scan_cmd_line() 724 iteration_max = convert(arg1); in scan_cmd_line() 727 iteration_min = convert(arg2); in scan_cmd_line() 745 confidence_level = convert(arg1); in scan_cmd_line() 775 loc_dirty_count = convert(arg1); in scan_cmd_line() 778 loc_clean_count = convert(arg2); in scan_cmd_line() [all …]
|
/external/v8/src/ |
D | key-accumulator.cc | 25 Handle<FixedArray> KeyAccumulator::GetKeys(GetKeysConversion convert) { in GetKeys() argument 57 if (convert == KEEP_NUMBERS) { in GetKeys() 95 bool KeyAccumulator::AddKey(Object* key, AddKeyConversion convert) { in AddKey() argument 96 return AddKey(handle(key, isolate_), convert); in AddKey() 100 bool KeyAccumulator::AddKey(Handle<Object> key, AddKeyConversion convert) { in AddKey() argument 113 if (convert == CONVERT_TO_ARRAY_INDEX || convert == PROXY_MAGIC) { in AddKey() 120 if (convert == CONVERT_TO_ARRAY_INDEX) return key_was_added; in AddKey() 121 if (convert == PROXY_MAGIC) { in AddKey() 133 return AddStringKey(key, convert); in AddKey() 156 AddKeyConversion convert) { in AddStringKey() argument [all …]
|
D | key-accumulator.h | 39 bool AddKey(Object* key, AddKeyConversion convert = DO_NOT_CONVERT); 40 bool AddKey(Handle<Object> key, AddKeyConversion convert = DO_NOT_CONVERT); 42 AddKeyConversion convert = DO_NOT_CONVERT); 44 AddKeyConversion convert = DO_NOT_CONVERT); 53 Handle<FixedArray> GetKeys(GetKeysConversion convert = KEEP_NUMBERS); 59 bool AddStringKey(Handle<Object> key, AddKeyConversion convert);
|
/external/llvm/test/CodeGen/AArch64/ |
D | f16-convert.ll | 10 %tmp1 = tail call float @llvm.convert.from.fp16.f32(i16 %tmp) 21 %conv = tail call double @llvm.convert.from.fp16.f64(i16 %tmp) 34 %tmp1 = tail call float @llvm.convert.from.fp16.f32(i16 %tmp) 47 %conv = tail call double @llvm.convert.from.fp16.f64(i16 %tmp) 59 %tmp1 = tail call float @llvm.convert.from.fp16.f32(i16 %tmp) 71 %conv = tail call double @llvm.convert.from.fp16.f64(i16 %tmp) 83 %tmp1 = tail call float @llvm.convert.from.fp16.f32(i16 %tmp) 95 %conv = tail call double @llvm.convert.from.fp16.f64(i16 %tmp) 107 %tmp1 = tail call float @llvm.convert.from.fp16.f32(i16 %tmp) 119 %conv = tail call double @llvm.convert.from.fp16.f64(i16 %tmp) [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | Stopwatch.java | 208 return desiredUnit.convert(elapsedNanos(), NANOSECONDS); in elapsed() 219 double value = (double) nanos / NANOSECONDS.convert(1, unit); in toString() 226 if (DAYS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 229 if (HOURS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 232 if (MINUTES.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 235 if (SECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 238 if (MILLISECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 241 if (MICROSECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | ShortsTest.java | 368 assertEquals((Short) (short) 1, converter.convert("1")); in testStringConverter_convert() 369 assertEquals((Short) (short) 0, converter.convert("0")); in testStringConverter_convert() 370 assertEquals((Short) (short) (-1), converter.convert("-1")); in testStringConverter_convert() 371 assertEquals((Short) (short) 255, converter.convert("0xff")); in testStringConverter_convert() 372 assertEquals((Short) (short) 255, converter.convert("0xFF")); in testStringConverter_convert() 373 assertEquals((Short) (short) (-255), converter.convert("-0xFF")); in testStringConverter_convert() 374 assertEquals((Short) (short) 255, converter.convert("#0000FF")); in testStringConverter_convert() 375 assertEquals((Short) (short) 438, converter.convert("0666")); in testStringConverter_convert() 380 Shorts.stringConverter().convert("notanumber"); in testStringConverter_convertError() 387 assertNull(Shorts.stringConverter().convert(null)); in testStringConverter_nullConversions() [all …]
|
D | LongsTest.java | 382 assertEquals((Long) 1L, converter.convert("1")); in testStringConverter_convert() 383 assertEquals((Long) 0L, converter.convert("0")); in testStringConverter_convert() 384 assertEquals((Long) (-1L), converter.convert("-1")); in testStringConverter_convert() 385 assertEquals((Long) 255L, converter.convert("0xff")); in testStringConverter_convert() 386 assertEquals((Long) 255L, converter.convert("0xFF")); in testStringConverter_convert() 387 assertEquals((Long) (-255L), converter.convert("-0xFF")); in testStringConverter_convert() 388 assertEquals((Long) 255L, converter.convert("#0000FF")); in testStringConverter_convert() 389 assertEquals((Long) 438L, converter.convert("0666")); in testStringConverter_convert() 394 Longs.stringConverter().convert("notanumber"); in testStringConverter_convertError() 401 assertNull(Longs.stringConverter().convert(null)); in testStringConverter_nullConversions() [all …]
|
D | IntsTest.java | 360 assertEquals((Integer) 1, converter.convert("1")); in testStringConverter_convert() 361 assertEquals((Integer) 0, converter.convert("0")); in testStringConverter_convert() 362 assertEquals((Integer) (-1), converter.convert("-1")); in testStringConverter_convert() 363 assertEquals((Integer) 255, converter.convert("0xff")); in testStringConverter_convert() 364 assertEquals((Integer) 255, converter.convert("0xFF")); in testStringConverter_convert() 365 assertEquals((Integer) (-255), converter.convert("-0xFF")); in testStringConverter_convert() 366 assertEquals((Integer) 255, converter.convert("#0000FF")); in testStringConverter_convert() 367 assertEquals((Integer) 438, converter.convert("0666")); in testStringConverter_convert() 372 Ints.stringConverter().convert("notanumber"); in testStringConverter_convertError() 379 assertNull(Ints.stringConverter().convert(null)); in testStringConverter_nullConversions() [all …]
|
/external/llvm/test/CodeGen/NVPTX/ |
D | fp16.ll | 3 declare float @llvm.convert.from.fp16.f32(i16) nounwind readnone 4 declare double @llvm.convert.from.fp16.f64(i16) nounwind readnone 5 declare i16 @llvm.convert.to.fp16.f32(float) nounwind readnone 6 declare i16 @llvm.convert.to.fp16.f64(double) nounwind readnone 12 %cvt = call float @llvm.convert.from.fp16.f32(i16 %val) nounwind readnone 22 %cvt = call double @llvm.convert.from.fp16.f64(i16 %val) nounwind readnone 32 %cvt = call i16 @llvm.convert.to.fp16.f32(float %val) nounwind readnone 42 %cvt = call i16 @llvm.convert.to.fp16.f64(double %val) nounwind readnone
|
/external/iputils/ |
D | tftpsubs.c | 100 int readit(FILE * file, struct tftphdr **dpp, int convert) in readit() argument 109 read_ahead(file, convert); /* fill it */ in readit() 121 void read_ahead(FILE *file, int convert) in read_ahead() argument 136 if (convert == 0) { in read_ahead() 167 int writeit(FILE *file, struct tftphdr **dpp, int ct, int convert) in writeit() argument 172 write_behind(file, convert); /* flush it */ in writeit() 184 int write_behind(FILE *file, int convert) in write_behind() argument 206 if (convert == 0) in write_behind()
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Stopwatch.java | 207 return desiredUnit.convert(elapsedNanos(), NANOSECONDS); in elapsed() 211 if (DAYS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 214 if (HOURS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 217 if (MINUTES.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 220 if (SECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 223 if (MILLISECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 226 if (MICROSECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | LongsTest.java | 409 assertEquals((Long) 1L, converter.convert("1")); in testStringConverter_convert() 410 assertEquals((Long) 0L, converter.convert("0")); in testStringConverter_convert() 411 assertEquals((Long) (-1L), converter.convert("-1")); in testStringConverter_convert() 412 assertEquals((Long) 255L, converter.convert("0xff")); in testStringConverter_convert() 413 assertEquals((Long) 255L, converter.convert("0xFF")); in testStringConverter_convert() 414 assertEquals((Long) (-255L), converter.convert("-0xFF")); in testStringConverter_convert() 415 assertEquals((Long) 255L, converter.convert("#0000FF")); in testStringConverter_convert() 416 assertEquals((Long) 438L, converter.convert("0666")); in testStringConverter_convert() 421 Longs.stringConverter().convert("notanumber"); in testStringConverter_convertError() 428 assertNull(Longs.stringConverter().convert(null)); in testStringConverter_nullConversions() [all …]
|
D | ShortsTest.java | 433 assertEquals((Short) (short) 1, converter.convert("1")); in testStringConverter_convert() 434 assertEquals((Short) (short) 0, converter.convert("0")); in testStringConverter_convert() 435 assertEquals((Short) (short) (-1), converter.convert("-1")); in testStringConverter_convert() 436 assertEquals((Short) (short) 255, converter.convert("0xff")); in testStringConverter_convert() 437 assertEquals((Short) (short) 255, converter.convert("0xFF")); in testStringConverter_convert() 438 assertEquals((Short) (short) (-255), converter.convert("-0xFF")); in testStringConverter_convert() 439 assertEquals((Short) (short) 255, converter.convert("#0000FF")); in testStringConverter_convert() 440 assertEquals((Short) (short) 438, converter.convert("0666")); in testStringConverter_convert() 445 Shorts.stringConverter().convert("notanumber"); in testStringConverter_convertError() 452 assertNull(Shorts.stringConverter().convert(null)); in testStringConverter_nullConversions() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | cvt16.ll | 24 %1 = tail call i16 @llvm.convert.to.fp16.f32(float %src) 37 %2 = tail call float @llvm.convert.from.fp16.f32(i16 %1) 48 %1 = tail call i16 @llvm.convert.to.fp16.f32(float %src) 49 %2 = tail call float @llvm.convert.from.fp16.f32(i16 %1) 64 %2 = tail call double @llvm.convert.from.fp16.f64(i16 %1) 78 %val = tail call i16 @llvm.convert.to.fp16.f64(double %src) 86 declare float @llvm.convert.from.fp16.f32(i16) nounwind readnone 87 declare i16 @llvm.convert.to.fp16.f32(float) nounwind readnone 88 declare double @llvm.convert.from.fp16.f64(i16) nounwind readnone 89 declare i16 @llvm.convert.to.fp16.f64(double) nounwind readnone
|
/external/libyuv/files/ |
D | linux.mk | 20 source/convert.o \ 63 all: libyuv.a convert cpuid psnr 69 convert: util/convert.cc libyuv.a 70 $(CXX) $(CXXFLAGS) -Iutil/ -o $@ util/convert.cc libyuv.a 81 /bin/rm -f source/*.o *.ii *.s libyuv.a convert cpuid psnr
|
/external/clang/test/SemaObjCXX/ |
D | objcbridge-attribute.mm | 32 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 58 // expected-note {{__bridge to convert directly (no change in ownership)}} \ 61 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 64 // expected-note {{__bridge to convert directly (no change in ownership)}} \ 68 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 71 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 75 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 79 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 83 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 90 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ [all …]
|
D | objcbridge-attribute-arc.mm | 32 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 58 // expected-note {{__bridge to convert directly (no change in ownership)}} \ 61 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 64 // expected-note {{__bridge to convert directly (no change in ownership)}} \ 68 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 71 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 75 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 79 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 83 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 90 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ [all …]
|