/cts/tests/tests/uirendering/src/android/uirendering/cts/differencevisualizers/ |
DifferenceVisualizer.java | 22 public abstract int[] getDifferences(int[] ideal, int[] given);
|
PassFailVisualizer.java | 27 * @param given the produced result 30 public int[] getDifferences(int[] ideal, int[] given) { 33 if (ideal[y] == given[y]) {
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
Person.java | 19 public String given; field in class:Person
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
PassComparer.java | 23 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width,
|
PSNRComparer.java | 40 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 60 if (ideal[index] == given[index]) { 63 MSE += (Color.red(ideal[index]) - Color.red(given[index])) * 64 (Color.red(ideal[index]) - Color.red(given[index])); 65 MSE += (Color.blue(ideal[index]) - Color.blue(given[index])) * 66 (Color.blue(ideal[index]) - Color.blue(given[index])); 67 MSE += (Color.green(ideal[index]) - Color.green(given[index])) * 68 (Color.green(ideal[index]) - Color.green(given[index]));
|
NearPixelComparer.java | 22 * Checks to see that a pixel at a given location is the same as the corresponding pixel. If the 31 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 45 if (!pixelsAreSame(ideal[index], given[index])) { 60 private boolean pixelsAreSame(int ideal, int given) { 61 int error = Math.abs(Color.red(ideal) - Color.red(given)); 62 error += Math.abs(Color.green(ideal) - Color.green(given)); 63 error += Math.abs(Color.blue(ideal) - Color.blue(given));
|
ExactComparer.java | 36 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 43 if (ideal[index] != given[index]) { 47 " given color : " + Integer.toHexString(given[index])); 60 Allocation given, int offset, int stride, int width, int height, 70 mScript.set_given(given);
|
BitmapComparer.java | 27 * Compares the two bitmaps given using Java. 34 public abstract boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 43 Allocation given, int offset, int stride, int width, int height, 49 * This calculates the position in an array that would represent a bitmap given the parameters.
|
ThresholdDifferenceComparer.java | 46 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 52 int error = Math.abs(Color.red(ideal[index]) - Color.red(given[index])); 53 error += Math.abs(Color.blue(ideal[index]) - Color.blue(given[index])); 54 error += Math.abs(Color.green(ideal[index]) - Color.green(given[index])); 58 " given color " + Integer.toHexString(given[index])); 69 Allocation given, int offset, int stride, int width, int height, 80 mScript.set_given(given);
|
MeanSquaredComparer.java | 44 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 46 float totalError = getMSE(ideal, given, offset, stride, width, height); 53 Allocation given, int offset, int stride, int width, int height, 62 mScript.set_given(given); 78 public static float getMSE(int[] ideal, int[] given, int offset, int stride, int width, 86 float givenSum = getColorSum(given[index]);
|
BaseRenderScriptComparer.java | 16 public abstract boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 24 Allocation given, int offset, int stride, int width, int height, 28 Allocation given, int offset, int stride, int width, int height, 35 return verifySameRowsRS(resources, ideal, given, offset, stride, width, height, 67 //Create the allocation from that given array
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/hppa/parse/ |
align1.s | 5 ; "8" assumed if no alignment given.
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
PhonebookEntry.java | 30 public String given; field in class:PhonebookEntry.Name 45 (given == n.given || given != null && given.equals(n.given)) && 54 result = 23 * result + (given == null ? 0 : given.hashCode()); 66 sb.append(" given: "); 67 sb.append(given); [all...] |
/toolchain/binutils/binutils-2.25/opcodes/ |
score7-dis.c | 546 print_insn_score32 (bfd_vma pc, struct disassemble_info *info, long given) 554 if ((insn->mask & 0xffff0000) && (given & insn->mask) == insn->value) 570 target = (pc & 0xfe000000) | (given & 0x01fffffe); 578 int disp = ((given & 0x01ff8000) >> 5) | (given & 0x3fe); 617 reg = given >> bitstart; 627 reg = given >> bitstart; 637 reg = given >> bitstart; 642 if (((given & insn->mask) == 0x0c00000a) /* ldc1 */ 643 || ((given & insn->mask) == 0x0c000012) /* ldc2 * 873 long given; local [all...] |
arm-dis.c | 4831 long given; local [all...] |
score-dis.c | 515 print_insn_score48 (struct disassemble_info *info, bfd_vma given) 524 if (((insn->mask & 0xff0000000000LL)!=0) && (given & insn->mask) == insn->value) 570 reg = given >> bitstart; 580 reg = given >> bitstart; 589 reg = given >> bitstart; 597 if (((given & insn->mask) == 0x0c00000a) /* ldc1 */ 598 || ((given & insn->mask) == 0x0c000012) /* ldc2 */ 599 || ((given & insn->mask) == 0x0c00001c) /* ldc3 */ 600 || ((given & insn->mask) == 0x0c00000b) /* stc1 */ 601 || ((given & insn->mask) == 0x0c000013) /* stc2 * 1044 bfd_vma given,given_h , given_l, given_16, given_32, given_48; local [all...] |
/external/vboot_reference/scripts/keygeneration/ |
make_keyblock.sh | 6 # Generates a keyblock containing a public key and signed using the given 17 <in_signing_key>.vbprivk with the given keyblock <flags>.
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-cris/ |
def2.d | 8 # Just checking that undef2 links correctly when given a symbol.
|
def3.d | 8 # Just checking that undef3 links correctly when given a symbol.
|
/external/compiler-rt/make/ |
util.mk | 33 # Set the given make variable to the given value. 38 # Append the given value to the given make variable. 43 # Check whether the given variable is defined. 48 # Check whether the given variable is undefined. 53 # Get the value of the given make variable, or the default-value if the variable 80 # Check that a value is true, or give an error including the given message 93 # Check that all command line variables are in the given list. This routine is
|
/build/tools/releasetools/ |
edify_generator.py | 51 to a given line length, replacing nulls with spaces and/or newlines 126 the given timestamp.""" 134 """Assert that the device identifier is the given string.""" 162 """Check that the given file (or MTD reference) has one of the 163 given *sha1 hashes, checking the version saved in cache if the 172 """Check that the given file (or MTD reference) has one of the 173 given hashes (encoded in the filename).""" 181 """Check that the given file (or MTD reference) has one of the 182 given *sha1 hashes.""" 197 """Mount the partition with the given mount_point [all...] |
/external/tlsdate/dbus/ |
org.torproject.tlsdate.conf | 11 <!-- Allow anyone in the given group to invoke methods -->
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
NameConverter.java | 51 * Converts the given structured name (provided as a map from {@link StructuredName} fields to 73 * Converts the given structured name (provided as ContentValues) into a display name string. 89 * Helper method for fetching the display name via the given URI. 110 * Converts the given display name string into a structured name (as a map from 143 * Converts the given display name string into a structured name (inserting the structured 174 * Parses phonetic name and returns parsed data (family, middle, given) as ContentValues. 178 * If this method cannot parse given phoneticName, null values will be stored. 189 String given = null; local 199 given = strings[1]; 204 given = strings[2] [all...] |
/external/markdown/markdown/ |
inlinepatterns.py | 141 """Return a ElementTree element from the given match. 224 """ Return a link element from the given match. """ 276 """ Return a img element from the given match. """ 338 """ Return a link Element given an autolink (`<http://example/com>`). """ 347 Return a mailto link Element given an automail link (`<foo@example.com>`).
|
/external/curl/tests/libtest/ |
lib552.c | 132 size_t given = amount < available ? amount : available; /* What is given */ local 134 memcpy(ptr, databuf + current_offset, given); 135 current_offset += given; 136 return given;
|