/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.range/format.range.fmtset/ |
D | format.functions.tests.h | 29 std::set input{CharT('a'), CharT('c'), CharT('b')}; // input not sorted. in test_char_default() 32 check(SV("{'a', 'b', 'c'}"), SV("{}"), input); in test_char_default() 34 check(SV("{a, b, c}"), SV("{::}"), input); in test_char_default() 36 check(SV("{'a', 'b', 'c'}"), SV("{::?}"), input); in test_char_default() 41 check(SV("{'a', 'b', 'c'} "), SV("{:20}"), input); in test_char_default() 42 check(SV("{'a', 'b', 'c'}*****"), SV("{:*<20}"), input); in test_char_default() 43 check(SV("__{'a', 'b', 'c'}___"), SV("{:_^20}"), input); in test_char_default() 44 check(SV("#####{'a', 'b', 'c'}"), SV("{:#>20}"), input); in test_char_default() 46 check(SV("{'a', 'b', 'c'} "), SV("{:{}}"), input, 20); in test_char_default() 47 check(SV("{'a', 'b', 'c'}*****"), SV("{:*<{}}"), input, 20); in test_char_default() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/container.adaptors/container.adaptors.format/ |
D | format.functions.tests.h | 30 void test_char_default(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_char_default() argument 32 check(SV("['H', 'e', 'l', 'l', 'o']"), SV("{}"), input); in test_char_default() 35 check(SV("[H, e, l, l, o]"), SV("{::}"), input); in test_char_default() 37 check(SV("['H', 'e', 'l', 'l', 'o']"), SV("{::?}"), input); in test_char_default() 42 check(SV("['H', 'e', 'l', 'l', 'o'] "), SV("{:30}"), input); in test_char_default() 43 check(SV("['H', 'e', 'l', 'l', 'o']*****"), SV("{:*<30}"), input); in test_char_default() 44 check(SV("__['H', 'e', 'l', 'l', 'o']___"), SV("{:_^30}"), input); in test_char_default() 45 check(SV("#####['H', 'e', 'l', 'l', 'o']"), SV("{:#>30}"), input); in test_char_default() 47 check(SV("['H', 'e', 'l', 'l', 'o'] "), SV("{:{}}"), input, 30); in test_char_default() 48 check(SV("['H', 'e', 'l', 'l', 'o']*****"), SV("{:*<{}}"), input, 30); in test_char_default() [all …]
|
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/animation/ |
D | Easing.java | 18 float getInterpolation(float input); in getInterpolation() argument 25 public float getInterpolation(float input) { 26 return input; 32 public float getInterpolation(float input) { 33 return input * input; 39 public float getInterpolation(float input) { 40 return -input * (input - 2f); 46 public float getInterpolation(float input) { 47 input *= 2f; 49 if (input < 1f) { [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.range/format.range.formatter/ |
D | format.functions.tests.h | 34 void test_char_default(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_char_default() argument 36 check(SV("['H', 'e', 'l', 'l', 'o']"), SV("{}"), input); in test_char_default() 39 check(SV("[H, e, l, l, o]"), SV("{::}"), input); in test_char_default() 41 check(SV("['H', 'e', 'l', 'l', 'o']"), SV("{::?}"), input); in test_char_default() 46 check(SV("['H', 'e', 'l', 'l', 'o'] "), SV("{:30}"), input); in test_char_default() 47 check(SV("['H', 'e', 'l', 'l', 'o']*****"), SV("{:*<30}"), input); in test_char_default() 48 check(SV("__['H', 'e', 'l', 'l', 'o']___"), SV("{:_^30}"), input); in test_char_default() 49 check(SV("#####['H', 'e', 'l', 'l', 'o']"), SV("{:#>30}"), input); in test_char_default() 51 check(SV("['H', 'e', 'l', 'l', 'o'] "), SV("{:{}}"), input, 30); in test_char_default() 52 check(SV("['H', 'e', 'l', 'l', 'o']*****"), SV("{:*<{}}"), input, 30); in test_char_default() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.range/format.range.fmtmap/ |
D | format.functions.tests.h | 27 …std::map<CharT, CharT> input{{CharT('a'), CharT('A')}, {CharT('c'), CharT('C')}, {CharT('b'), Char… in test_char() 29 check(SV("{'a': 'A', 'b': 'B', 'c': 'C'}"), SV("{}"), input); in test_char() 34 check(SV("{'a': 'A', 'b': 'B', 'c': 'C'} "), SV("{:35}"), input); in test_char() 35 check(SV("{'a': 'A', 'b': 'B', 'c': 'C'}*****"), SV("{:*<35}"), input); in test_char() 36 check(SV("__{'a': 'A', 'b': 'B', 'c': 'C'}___"), SV("{:_^35}"), input); in test_char() 37 check(SV("#####{'a': 'A', 'b': 'B', 'c': 'C'}"), SV("{:#>35}"), input); in test_char() 39 check(SV("{'a': 'A', 'b': 'B', 'c': 'C'} "), SV("{:{}}"), input, 35); in test_char() 40 check(SV("{'a': 'A', 'b': 'B', 'c': 'C'}*****"), SV("{:*<{}}"), input, 35); in test_char() 41 check(SV("__{'a': 'A', 'b': 'B', 'c': 'C'}___"), SV("{:_^{}}"), input, 35); in test_char() 42 check(SV("#####{'a': 'A', 'b': 'B', 'c': 'C'}"), SV("{:#>{}}"), input, 35); in test_char() [all …]
|
/external/antlr/runtime/C/src/ |
D | antlr3inputstream.c | 55 static void antlr3InputClose (pANTLR3_INPUT_STREAM input); 56 static void antlr3InputReset (pANTLR3_INPUT_STREAM input); 57 static void antlr38BitReuse (pANTLR3_INPUT_STREAM input, pANTLR3_UINT8 i… 58 static void * antlr38BitLT (pANTLR3_INPUT_STREAM input, ANTLR3_INT32 lt); 59 static ANTLR3_UINT32 antlr38BitSize (pANTLR3_INPUT_STREAM input); 60 static pANTLR3_STRING antlr38BitSubstr (pANTLR3_INPUT_STREAM input, ANTLR3_MARKER start, ANTL… 61 static ANTLR3_UINT32 antlr38BitGetLine (pANTLR3_INPUT_STREAM input); 62 static void * antlr38BitGetLineBuf (pANTLR3_INPUT_STREAM input); 63 static ANTLR3_UINT32 antlr38BitGetCharPosition (pANTLR3_INPUT_STREAM input); 64 static void antlr38BitSetLine (pANTLR3_INPUT_STREAM input, ANTLR3_UINT32 line); [all …]
|
D | antlr3filestream.c | 49 static void setupInputStream (pANTLR3_INPUT_STREAM input); 56 pANTLR3_INPUT_STREAM input; in antlr3FileStreamNew() local 63 input = antlr3CreateFileStream(fileName); in antlr3FileStreamNew() 64 if (input == NULL) in antlr3FileStreamNew() 72 input->encoding = encoding; in antlr3FileStreamNew() 77 setupInputStream(input); in antlr3FileStreamNew() 81 input->istream->streamName = input->strFactory->newStr8(input->strFactory, fileName); in antlr3FileStreamNew() 82 input->fileName = input->istream->streamName; in antlr3FileStreamNew() 84 return input; in antlr3FileStreamNew() 91 pANTLR3_INPUT_STREAM input; in antlr3StringStreamNew() local [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.range/format.range.fmtstr/ |
D | format.functions.tests.h | 60 void test_string(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_string() argument 61 check(SV("hello"), SV("{}"), input); in test_string() 64 check(SV("hello "), SV("{:10}"), input); in test_string() 65 check(SV("hello*****"), SV("{:*<10}"), input); in test_string() 66 check(SV("__hello___"), SV("{:_^10}"), input); in test_string() 67 check(SV(":::::hello"), SV("{::>10}"), input); in test_string() 69 check(SV("hello "), SV("{:{}}"), input, 10); in test_string() 70 check(SV("hello*****"), SV("{:*<{}}"), input, 10); in test_string() 71 check(SV("__hello___"), SV("{:_^{}}"), input, 10); in test_string() 72 check(SV(":::::hello"), SV("{::>{}}"), input, 10); in test_string() [all …]
|
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/ |
D | JavadocFormattingTest.java | 35 String[] input = { in notJavadoc() local 43 doFormatTest(input, expected); in notJavadoc() 48 String[] input = { in empty() local 55 doFormatTest(input, expected); in empty() 60 String[] input = { in emptyMultipleLines() local 68 doFormatTest(input, expected); in emptyMultipleLines() 73 String[] input = { in simple() local 80 doFormatTest(input, expected); in simple() 86 String[] input = { in commentMostlyUntouched() local 110 doFormatTest(input, expected); in commentMostlyUntouched() [all …]
|
/external/angle/src/tests/preprocessor_tests/ |
D | define_test.cpp | 22 const char *input = in TEST_F() local 32 preprocess(input, expected); in TEST_F() 37 const char *input = in TEST_F() local 65 preprocess(input, expected); in TEST_F() 70 const char *input = in TEST_F() local 80 preprocess(input, expected); in TEST_F() 85 const char *input = in TEST_F() local 95 preprocess(input, expected); in TEST_F() 100 const char *input = in TEST_F() local 110 preprocess(input, expected); in TEST_F() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.tuple/ |
D | format.functions.tests.h | 31 …est_tuple_or_pair_int_int(TestFunction check, ExceptionTest check_exception, TupleOrPair&& input) { 32 check(SV("(42, 99)"), SV("{}"), input); 35 check(SV("(42, 99) "), SV("{:13}"), input); 36 check(SV("(42, 99)*****"), SV("{:*<13}"), input); 37 check(SV("__(42, 99)___"), SV("{:_^13}"), input); 38 check(SV("#####(42, 99)"), SV("{:#>13}"), input); 40 check(SV("(42, 99) "), SV("{:{}}"), input, 13); 41 check(SV("(42, 99)*****"), SV("{:*<{}}"), input, 13); 42 check(SV("__(42, 99)___"), SV("{:_^{}}"), input, 13); 43 check(SV("#####(42, 99)"), SV("{:#>{}}"), input, 13); [all …]
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | CodedInputStreamReader.java | 54 private final CodedInputStream input; field in CodedInputStreamReader 59 public static CodedInputStreamReader forCodedInput(CodedInputStream input) { in forCodedInput() argument 60 if (input.wrapper != null) { in forCodedInput() 61 return input.wrapper; in forCodedInput() 63 return new CodedInputStreamReader(input); in forCodedInput() 66 private CodedInputStreamReader(CodedInputStream input) { in CodedInputStreamReader() argument 67 this.input = Internal.checkNotNull(input, "input"); in CodedInputStreamReader() 68 this.input.wrapper = this; in CodedInputStreamReader() 73 return input.shouldDiscardUnknownFields(); in shouldDiscardUnknownFields() 82 tag = input.readTag(); in getFieldNumber() [all …]
|
/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | CodedInputStreamReader.java | 54 private final CodedInputStream input; field in CodedInputStreamReader 59 public static CodedInputStreamReader forCodedInput(CodedInputStream input) { in forCodedInput() argument 60 if (input.wrapper != null) { in forCodedInput() 61 return input.wrapper; in forCodedInput() 63 return new CodedInputStreamReader(input); in forCodedInput() 66 private CodedInputStreamReader(CodedInputStream input) { in CodedInputStreamReader() argument 67 this.input = Internal.checkNotNull(input, "input"); in CodedInputStreamReader() 68 this.input.wrapper = this; in CodedInputStreamReader() 73 return input.shouldDiscardUnknownFields(); in shouldDiscardUnknownFields() 82 tag = input.readTag(); in getFieldNumber() [all …]
|
/external/python/cryptography/vectors/cryptography_vectors/KDF/ |
D | ansx963_2001.txt | 15 Hash input 1 = 1c7d7b5f0597b03d06a018466ed1a93e30ed4b04dc64ccdd00000001 23 Hash input 1 = 5ed096510e3fcf782ceea98e9737993e2b21370f6cda2ab100000001 31 Hash input 1 = 9fb06aa8dd20e947c9216359630e588b6cd522dd71865ab000000001 39 Hash input 1 = 613411bedfba26cbddec4fd68c3ae2c40a2255ae0f5c46ee00000001 47 Hash input 1 = 445776ec51f2c9aae125dd6d6832210eee69249c4c7ad2db00000001 55 Hash input 1 = 1c3a4b420de31f5092e0568847d8ba9f84376ccfe5224c1900000001 63 Hash input 1 = 0147fee06dd9918cd1654132227313b104bf99b1ad1f1c4600000001 71 Hash input 1 = 50ee47d625dcb6a6196c148d452e99bb0a1cf1fa82cdc3a900000001 79 Hash input 1 = ea2c79dc2ef00afa448cb8d390998d5a18f27f5d888e472c00000001 87 Hash input 1 = 424d414d4b63c7cafe05d4d8bf8b6ce4438eb329a650354f00000001 [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/sequences/vector.bool/vector.bool.fmt/ |
D | format.functions.tests.h | 17 void format_test_vector_bool(TestFunction check, ExceptionTest check_exception, auto&& input) { in format_test_vector_bool() argument 18 check(SV("[true, true, false]"), SV("{}"), input); in format_test_vector_bool() 23 check(SV("[true, true, false] "), SV("{:24}"), input); in format_test_vector_bool() 24 check(SV("[true, true, false]*****"), SV("{:*<24}"), input); in format_test_vector_bool() 25 check(SV("__[true, true, false]___"), SV("{:_^24}"), input); in format_test_vector_bool() 26 check(SV("#####[true, true, false]"), SV("{:#>24}"), input); in format_test_vector_bool() 28 check(SV("[true, true, false] "), SV("{:{}}"), input, 24); in format_test_vector_bool() 29 check(SV("[true, true, false]*****"), SV("{:*<{}}"), input, 24); in format_test_vector_bool() 30 check(SV("__[true, true, false]___"), SV("{:_^{}}"), input, 24); in format_test_vector_bool() 31 check(SV("#####[true, true, false]"), SV("{:#>{}}"), input, 24); in format_test_vector_bool() [all …]
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ |
D | DefaultExtractorInputTest.java | 46 DefaultExtractorInput input = new DefaultExtractorInput(testDataSource, 123, C.LENGTH_UNSET); in initialPosition() local 47 assertThat(input.getPosition()).isEqualTo(123); in initialPosition() 52 DefaultExtractorInput input = createDefaultExtractorInput(); in readMultipleTimes() local 56 bytesRead += input.read(target, 0, TEST_DATA.length); in readMultipleTimes() 58 bytesRead += input.read(target, 3, TEST_DATA.length); in readMultipleTimes() 60 bytesRead += input.read(target, 6, TEST_DATA.length); in readMultipleTimes() 62 assertThat(input.getPosition()).isEqualTo(9); in readMultipleTimes() 68 DefaultExtractorInput input = createDefaultExtractorInput(); in readAlreadyPeeked() local 71 input.advancePeekPosition(TEST_DATA.length); in readAlreadyPeeked() 72 int bytesRead = input.read(target, 0, TEST_DATA.length - 1); in readAlreadyPeeked() [all …]
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ |
D | DefaultExtractorInputTest.java | 46 DefaultExtractorInput input = new DefaultExtractorInput(testDataSource, 123, C.LENGTH_UNSET); in initialPosition() local 47 assertThat(input.getPosition()).isEqualTo(123); in initialPosition() 52 DefaultExtractorInput input = createDefaultExtractorInput(); in readMultipleTimes() local 56 bytesRead += input.read(target, 0, TEST_DATA.length); in readMultipleTimes() 58 bytesRead += input.read(target, 3, TEST_DATA.length); in readMultipleTimes() 60 bytesRead += input.read(target, 6, TEST_DATA.length); in readMultipleTimes() 62 assertThat(input.getPosition()).isEqualTo(9); in readMultipleTimes() 68 DefaultExtractorInput input = createDefaultExtractorInput(); in readAlreadyPeeked() local 71 input.advancePeekPosition(TEST_DATA.length); in readAlreadyPeeked() 72 int bytesRead = input.read(target, 0, TEST_DATA.length - 1); in readAlreadyPeeked() [all …]
|
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_ENUMINPUT.c | 46 struct v4l2_input input; in test_VIDIOC_ENUMINPUT() local 52 memset(&input, 0xff, sizeof(input)); in test_VIDIOC_ENUMINPUT() 53 input.index = i; in test_VIDIOC_ENUMINPUT() 54 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMINPUT, &input); in test_VIDIOC_ENUMINPUT() 63 CU_ASSERT_EQUAL(input.index, i); in test_VIDIOC_ENUMINPUT() 65 CU_ASSERT(0 < strlen((char *)input.name)); in test_VIDIOC_ENUMINPUT() 67 ((char *)input.name, sizeof(input.name))); in test_VIDIOC_ENUMINPUT() 72 CU_ASSERT(valid_v4l2_std_id(input.std)); in test_VIDIOC_ENUMINPUT() 74 CU_ASSERT_EQUAL(input.reserved[0], 0); in test_VIDIOC_ENUMINPUT() 75 CU_ASSERT_EQUAL(input.reserved[1], 0); in test_VIDIOC_ENUMINPUT() [all …]
|
/external/rust/crates/proc-macro2/src/ |
D | parse.rs | 66 fn skip_whitespace(input: Cursor) -> Cursor { in skip_whitespace() 67 let mut s = input; in skip_whitespace() 114 fn block_comment(input: Cursor) -> PResult<&str> { in block_comment() 115 if !input.starts_with("/*") { in block_comment() 120 let bytes = input.as_bytes(); in block_comment() 131 return Ok((input.advance(i + 2), &input.rest[..i + 2])); in block_comment() 146 fn word_break(input: Cursor) -> Result<Cursor, Reject> { in word_break() 147 match input.chars().next() { in word_break() 149 Some(_) | None => Ok(input), in word_break() 153 pub(crate) fn token_stream(mut input: Cursor) -> Result<TokenStream, LexError> { in token_stream() [all …]
|
/external/desugar/java/com/google/devtools/common/options/ |
D | Converters.java | 35 public Boolean convert(String input) throws OptionsParsingException { in convert() argument 36 if (input == null) { in convert() 39 input = input.toLowerCase(); in convert() 40 if (input.equals("true") in convert() 41 || input.equals("1") in convert() 42 || input.equals("yes") in convert() 43 || input.equals("t") in convert() 44 || input.equals("y")) { in convert() 47 if (input.equals("false") in convert() 48 || input.equals("0") in convert() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/ |
D | operations.cc | 309 int32_t CalculateOutputSizeBeforeStrides(int32_t input, int32_t kernel, in CalculateOutputSizeBeforeStrides() argument 312 return input + padding - dilated_kernel + 1; in CalculateOutputSizeBeforeStrides() 316 int32_t CalculateOutputWithoutStrides(const BHWC& input, in CalculateOutputWithoutStrides() argument 319 input.get<T>(), attr.weights.shape.get<T>(), in CalculateOutputWithoutStrides() 325 int32_t CalculateOutputWithoutStrides(const BHWDC& input, in CalculateOutputWithoutStrides() argument 328 input.get<T>(), attr.weights.shape.get<T>(), in CalculateOutputWithoutStrides() 334 int32_t CalculateOutputWithoutStrides(const BHWC& input, in CalculateOutputWithoutStrides() argument 337 input.get<T>(), attr.kernel.get<T>(), in CalculateOutputWithoutStrides() 343 int32_t CalculateOutputWithoutStrides(const BHWDC& input, in CalculateOutputWithoutStrides() argument 346 input.get<T>(), attr.kernel.get<T>(), in CalculateOutputWithoutStrides() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-subset-input.cc | 43 hb_subset_input_t *input = hb_object_create<hb_subset_input_t>(); in hb_subset_input_create_or_fail() local 45 if (unlikely (!input)) in hb_subset_input_create_or_fail() 48 for (auto& set : input->sets_iter ()) in hb_subset_input_create_or_fail() 51 input->axes_location = hb_hashmap_create<hb_tag_t, float> (); in hb_subset_input_create_or_fail() 53 input->name_table_overrides = hb_hashmap_create<hb_ot_name_record_ids_t, hb_bytes_t> (); in hb_subset_input_create_or_fail() 56 if (!input->axes_location || in hb_subset_input_create_or_fail() 58 !input->name_table_overrides || in hb_subset_input_create_or_fail() 60 input->in_error ()) in hb_subset_input_create_or_fail() 62 hb_subset_input_destroy (input); in hb_subset_input_create_or_fail() 66 input->flags = HB_SUBSET_FLAGS_DEFAULT; in hb_subset_input_create_or_fail() [all …]
|
/external/rust/crates/syn/src/ |
D | stmt.rs | 110 pub fn parse_within(input: ParseStream) -> Result<Vec<Stmt>> { in parse_within() 113 while let Some(semi) = input.parse::<Option<Token![;]>>()? { in parse_within() 116 if input.is_empty() { in parse_within() 119 let s = parse_stmt(input, true)?; in parse_within() 126 if input.is_empty() { in parse_within() 129 return Err(input.error("unexpected token")); in parse_within() 138 fn parse(input: ParseStream) -> Result<Self> { in parse() 141 brace_token: braced!(content in input), in parse() 149 fn parse(input: ParseStream) -> Result<Self> { in parse() 150 parse_stmt(input, false) in parse() [all …]
|
/external/arm-trusted-firmware/drivers/nxp/ddr/phy-gen2/ |
D | phy.c | 588 const struct input *input, const void *msg) in prog_acsm_playback() argument 597 if (input->basic.dimm_type != RDIMM) { in prog_acsm_playback() 604 f0rc5x = (input->adv.phy_gen2_umctl_f0rc5x & U(0xff)) | U(0x500); in prog_acsm_playback() 621 const struct input *input) in prog_acsm_ctr() argument 623 if (input->basic.dimm_type != RDIMM) { in prog_acsm_ctr() 635 const struct input *input) in prog_cal_rate_run() argument 642 cal_interval = input->adv.cal_interval; in prog_cal_rate_run() 643 cal_once = input->adv.cal_once; in prog_cal_rate_run() 652 const struct input *input) in prog_seq0bdly0() argument 661 frq = input->basic.frequency >> 1; in prog_seq0bdly0() [all …]
|
/external/rust/crates/pest/src/ |
D | position.rs | 22 input: &'i str, field 35 pub(crate) unsafe fn new_unchecked(input: &str, pos: usize) -> Position<'_> { in new_unchecked() 36 debug_assert!(input.get(pos..).is_some()); in new_unchecked() 37 Position { input, pos } in new_unchecked() 52 pub fn new(input: &str, pos: usize) -> Option<Position<'_>> { in new() 53 input.get(pos..).map(|_| Position { input, pos }) in new() 66 pub fn from_start(input: &'i str) -> Position<'i> { in from_start() 68 Position { input, pos: 0 } in from_start() 106 if ptr::eq(self.input, other.input) in span() 110 unsafe { span::Span::new_unchecked(self.input, self.pos, other.pos) } in span() [all …]
|