Home
last modified time | relevance | path

Searched refs:given (Results 1 - 25 of 115) sorted by relevance

12345

/third_party/python/Lib/test/
H A Dtest_urllib.py984 given = "a b cd e f"
985 expect = given.replace(' ', hexescape(' '))
986 result = urllib.parse.quote(given)
989 expect = given.replace(' ', '+')
990 result = urllib.parse.quote_plus(given)
1008 given = b"\xa2\xd8ab\xff"
1010 result = urllib.parse.quote(given)
1014 self.assertRaises(TypeError, urllib.parse.quote, given,
1017 result = urllib.parse.quote_from_bytes(given)
1024 given
[all...]
H A Dtest_baseexception.py86 for test_name, (given, expected) in zip(self.interface_tests, results):
87 self.assertEqual(given, expected, "%s: %s != %s" % (test_name,
88 given, expected))
91 # Make sure interface works properly when given a single argument
100 # Make sure interface correct when multiple arguments given
/third_party/ffmpeg/libavfilter/dnn/
H A Ddnn_backend_native_layer_pad.c52 static int before_get_buddy(int given, int paddings, LayerPadModeParam mode) in before_get_buddy() argument
55 return (2 * paddings - 1 - given); in before_get_buddy()
57 return (2 * paddings - given); in before_get_buddy()
64 static int after_get_buddy(int given, int border, LayerPadModeParam mode) in after_get_buddy() argument
67 int offset = given - border; in after_get_buddy()
70 int offset = given - border; in after_get_buddy()
156 int given = number + before_paddings + n; in ff_dnn_execute_layer_pad() local
157 float *dst = output + given * new_hwc_stride; in ff_dnn_execute_layer_pad()
163 int buddy = after_get_buddy(given, number + before_paddings, params->mode); in ff_dnn_execute_layer_pad()
187 int given in ff_dnn_execute_layer_pad() local
220 int given = width + before_paddings + w; ff_dnn_execute_layer_pad() local
253 int given = channel + before_paddings + c; ff_dnn_execute_layer_pad() local
[all...]
/third_party/rust/crates/codespan/codespan-lsp/src/
H A Dlib.rs21 let given = column; in location_to_position()
23 Err(Error::ColumnTooLarge { given, max }) in location_to_position()
25 let given = byte_index; in location_to_position()
27 Err(Error::InvalidCharBoundary { given }) in location_to_position()
54 given: if line_span.start >= source.len() { in byte_index_to_position()
101 given: character_offset as usize, in character_to_line_offset()
/kernel/linux/linux-5.10/drivers/pcmcia/
H A Dsa1111_badge4.c45 * given board is jumpered. This code assumes a default jumpering
61 int given, int wanted) in complain_about_jumpering()
69 given / 10, given % 10); in complain_about_jumpering()
59 complain_about_jumpering(const char *whom, const char *supply, int given, int wanted) complain_about_jumpering() argument
/third_party/python/Lib/test/test_json/
H A Dtest_scanstring.py90 def assertScan(given, expect):
91 self.assertEqual(scanstring(given, 1, True),
92 (expect, len(given)))
/third_party/curl/tests/libtest/
H A Dlib552.c136 size_t given = amount < available ? amount : available; /* What is given */ in read_callback() local
138 memcpy(ptr, databuf + current_offset, given); in read_callback()
139 current_offset += given; in read_callback()
140 return given; in read_callback()
/third_party/rust/crates/codespan/codespan-reporting/src/
H A Dfiles.rs35 IndexTooLarge { given: usize, max: usize },
37 LineTooLarge { given: usize, max: usize },
39 ColumnTooLarge { given: usize, max: usize },
40 /// The given index is contained in the file, but is not a boundary of a UTF-8 code point.
41 InvalidCharBoundary { given: usize },
56 Error::IndexTooLarge { given, max } => { in fmt()
57 write!(f, "invalid index {}, maximum index is {}", given, max) in fmt()
59 Error::LineTooLarge { given, max } => { in fmt()
60 write!(f, "invalid line {}, maximum line is {}", given, max) in fmt()
62 Error::ColumnTooLarge { given, ma in fmt()
[all...]
/third_party/rust/crates/regex/regex-syntax/src/hir/
H A Dprint.rs63 /// Print the given `Ast` to the given writer. The writer must implement
243 fn roundtrip(given: &str, expected: &str) { in roundtrip()
244 roundtrip_with(|b| b, given, expected); in roundtrip()
247 fn roundtrip_bytes(given: &str, expected: &str) { in roundtrip_bytes()
248 roundtrip_with(|b| b.allow_invalid_utf8(true), given, expected); in roundtrip_bytes()
251 fn roundtrip_with<F>(mut f: F, given: &str, expected: &str) in roundtrip_with()
257 let hir = builder.build().parse(given).unwrap(); in roundtrip_with()
/third_party/rust/crates/memchr/src/memmem/
H A Dtwoway.rs99 /// the given haystack. If one does not exist, then return None.
267 /// in the given haystack. If one does not exist, then return None.
404 /// bound given here is always the period of `v`, which is `<= period(x)`. The
430 /// Compute the shift for a given needle in the forward direction.
453 /// Compute the shift for a given needle in the reverse direction.
607 /// This occurs when the given candidate byte indicates that the candidate
612 /// This occurs when the given candidate byte excludes the candidate suffix
624 /// Returns true if and only if the given candidate byte indicates that
651 /// Create a new set from the given needle.
660 /// Return true if and only if the given byt
[all...]
/third_party/node/deps/openssl/openssl/apps/lib/
H A Dapp_provider.c70 const int given = provider_option_given; in opt_provider() local
85 provider_option_given = given; in opt_provider()
/third_party/openssl/apps/lib/
H A Dapp_provider.c70 const int given = provider_option_given; in opt_provider() local
85 provider_option_given = given; in opt_provider()
/third_party/libsnd/Octave/
H A Dsndfile_save.m19 ## Save the given @var{data} as audio data to the given at @var{fs}. Set
H A Dsndfile_load.m19 ## Load data from the file given by @var{filename}.
23 ## Description: Load the sound data from the given file name
/third_party/rust/crates/regex/regex-syntax/src/ast/
H A Dprint.rs55 /// Print the given `Ast` to the given writer. The writer must implement
401 fn roundtrip(given: &str) { in roundtrip()
402 roundtrip_with(|b| b, given); in roundtrip()
405 fn roundtrip_with<F>(mut f: F, given: &str) in roundtrip_with()
411 let ast = builder.build().parse(given).unwrap(); in roundtrip_with()
416 assert_eq!(given, dst); in roundtrip_with()
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
H A Dsmovecr.S5 | offset given in the instruction field.
H A Dsint.S34 | 3. Round the result in the mode given in USER_FPCR. For
40 | for the given sign and rounding mode.
/kernel/linux/linux-6.6/arch/m68k/fpsp040/
H A Dsmovecr.S5 | offset given in the instruction field.
H A Dsint.S34 | 3. Round the result in the mode given in USER_FPCR. For
40 | for the given sign and rounding mode.
/third_party/gn/src/gn/
H A Dfunction_get_path_info.cc164 The output file directory corresponding to the path of the given file,
169 The generated file directory corresponding to the path of the given file,
H A Dcommand_refs.cc86 // Prints refs of the given target (not the target itself). See
107 // Recursively finds all targets that reference the given one, and additionally
117 // Recursively finds all targets that reference the given one.
244 - Config label: The result will be which targets list the given config in
248 matching the given pattern. Patterns will not match configs. These are not
251 - File name: The result will be which targets list the given file in its
265 dependencies of the given targets. For example, if the input is a target,
288 Outputs a reverse dependency tree from the given target. Duplicates will
303 Find all targets depending on the given exact target name.
328 Display a reverse dependency tree to get to the given fil
[all...]
H A Dargs.cc56 This will overwrite the build directory with the given arguments. (Note
64 "How build arguments are set" section above apply to the given argument, but
/third_party/mbedtls/tests/scripts/
H A Drun-metatests.sh6 Run all the metatests whose platform matches any of the given PLATFORM.
/third_party/rust/crates/regex/regex-capi/ctest/
H A Dtest.c211 bool test_iter_capture_name(char *expect, char *given) { in test_iter_capture_name() argument
213 if (strcmp(expect, given)) { in test_iter_capture_name()
218 expect, given); in test_iter_capture_name()
/third_party/ltp/testcases/kernel/fs/racer/
H A Dfs_racer.sh73 echo usage: fs_racer.sh -t DURATION [Execute the testsuite for given DURATION seconds]

Completed in 12 milliseconds

12345