/external/python/cpython3/Lib/test/test_json/ |
test_scanstring.py | 90 def assertScan(given, expect): 91 self.assertEqual(scanstring(given, 1, True), 92 (expect, len(given)))
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
MSSIMComparer.java | 55 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 66 && isWindowWhite(given, start, stride, windowWidth, windowHeight)) { 70 double[] means = getMeans(ideal, given, start, stride, windowWidth, windowHeight); 73 double[] variances = getVariances(ideal, given, meanX, meanY, start, stride, 163 * Gets the intensity of a given pixel in RGB using luminosity formula
|
/external/curl/tests/libtest/ |
lib552.c | 135 size_t given = amount < available ? amount : available; /* What is given */ local 137 memcpy(ptr, databuf + current_offset, given); 138 current_offset += given; 139 return given;
|
/external/llvm/utils/lit/lit/ |
TestingConfig.py | 79 Load the configuration module at the provided path into the given config 140 # Whether the suite should be tested early in a given run.
|
/external/mockito/src/test/java/org/mockito/internal/handler/ |
MockHandlerImplTest.java | 30 import static org.mockito.BDDMockito.given; 44 // given 70 // given 83 given(mockSettings.getDefaultAnswer()).willReturn(new Returns(AWrongType.WRONG_TYPE)); 104 given(handler.invocationContainer.findAnswerFor(any(Invocation.class))).willReturn(value); 112 given(handler.getMockSettings().getInvocationListeners()).willReturn(Arrays.asList(listener));
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
InfrastructureTests.java | 52 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 58 return !(new MSSIMComparer(threshold)).verifySame(ideal, given, offset, stride,
|
/external/curl/docs/cmdline-opts/ |
trace.d | 7 descriptive information, to the given output file. Use "-" as filename to have
|
max-filesize.d | 16 than this given limit. This concerns both FTP and HTTP transfers.
|
socks4.d | 3 Help: SOCKS4 proxy on given host + port
|
socks4a.d | 3 Help: SOCKS4a proxy on given host + port
|
trace-ascii.d | 7 descriptive information, to the given output file. Use "-" as filename to have
|
url.d | 8 If the given URL is missing a scheme name (such as "http://" or "ftp://" etc)
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/bitwriter/ |
llvm_bitwriter.ml | 16 (* Writes the bitcode for module the given path. Returns true if successful. *)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-dwarfdump/X86/ |
debug_addr_too_small_for_section.s | 10 # too small section to contain section of given length
|
/external/u-boot/drivers/memory/ |
Kconfig | 15 of 256M bytes of any of these memories can be accessed at a given
|
/external/autotest/site_utils/ |
server_manager_utils.py | 41 given role. 59 """Find servers with given role and status. 65 @return: A list of server objects with given role and status. 157 """Confirm server with given hostname is ready to be primary of given role. 165 @return: True if server can be verified for the given role, otherwise 180 """Decorator to check if server with given hostname exists in the database. 199 given hostname is not found in server database. 201 given hostname is found in server database. 259 given value [all...] |
/build/make/tools/releasetools/ |
edify_generator.py | 43 to a given line length, replacing nulls with spaces and/or newlines 131 the given timestamp.""" 139 """Assert that the device identifier is the given string.""" 167 """Checks that the given partition has the desired checksum. 181 """Checks whether updater can patch the given partitions. 183 It checks the checksums of the given partitions. If none of them matches the 203 """Mount the partition with the given mount_point. 249 """Format the given partition, specified by its mount point (eg, 269 """Apply binary patches (in *patchpairs) to the given srcfile to 308 """Write the given package file into the partition for the give [all...] |
/external/mockito/src/test/java/org/mockitousage/debugging/ |
InvocationListenerCallbackTest.java | 19 import static org.mockito.BDDMockito.given; 36 // given 39 willReturn("basil").given(foo).giveMeSomeString("herb"); 50 // given 66 // given 82 // given 86 given(foo.giveMeSomeString("herb")).willReturn("rosemary"); 98 // given
|
VerboseLoggingOfInvocationsOnMockTest.java | 20 import static org.mockito.BDDMockito.given; 54 // given 70 // given 86 // given 88 given(foo.giveMeSomeString("Klipsch")).willReturn("earbuds"); 104 // given 125 // given 143 // given 145 given(foo.giveMeSomeString("Apple")).willReturn(
|
/build/blueprint/proptools/ |
proptools.go | 40 // BoolPtr returns a pointer to a new bool containing the given value. 45 // Int64Ptr returns a pointer to a new int64 containing the given value. 51 // StringPtr returns a pointer to a new string containing the given value.
|
/external/protobuf/ |
configure.ac | 52 [use the given protoc command instead of building a new one when building tests (useful for cross-compiling)])], 120 AC_MSG_FAILURE([--with-zlib was given, but no working zlib library was found]) 127 AC_MSG_FAILURE([--with-zlib was given, but zlib headers were not present or were too old (requires 1.2.0.4)]) 136 # No argument given. Use system protoc. 144 # is a nested package and --with-protoc was actually given on the outer
|
/build/make/core/ |
dumpvar.mk | 3 # what to add to the path given the config we have chosen.
|
/development/tools/ |
make_key | 25 given <subject>. A keytype of "rsa" or "ec" is accepted.
|
/external/grpc-grpc/src/csharp/Grpc.Core/ |
RpcException.cs | 33 /// Creates a new <c>RpcException</c> associated with given status. 41 /// Creates a new <c>RpcException</c> associated with given status and message. 50 /// Creates a new <c>RpcException</c> associated with given status and trailing response metadata. 59 /// Creates a new <c>RpcException</c> associated with given status, message and trailing response metadata.
|
/external/javasqlite/src/main/java/SQLite/ |
StringEncoder.java | 24 * Encodes the given byte array into a string that can be used by 95 * Decodes the given string that is assumed to be a valid encoding 96 * of a byte array. Typically the given string is generated by 98 * @param s the given string encoding. 100 * @throws IllegalArgumentException when the string given is not 199 * index offset, to the given target. 222 * Encodes the given byte array into SQLite3 blob notation, ie X'..'
|