Searched refs:target (Results 1 - 25 of 143) sorted by relevance

123456

/dalvik/libcore/luni/src/main/java/java/lang/reflect/
H A DInvocationTargetException.java31 private Throwable target; field in class:InvocationTargetException
35 * {@code null} cause / target exception.
43 * cause / target exception filled in.
51 target = exception;
56 * cause / target exception and message filled in.
66 target = exception;
70 * Returns the target exception, which may be {@code null}.
72 * @return the target exception
75 return target;
85 return target;
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DTargetInsn.java23 * Instruction which has a single branch target.
26 /** {@code non-null;} the branch target */
27 private CodeAddress target; field in class:TargetInsn
31 * unknown ({@code -1}), and the target is initially
39 * @param target {@code non-null;} the branch target
42 RegisterSpecList registers, CodeAddress target) {
45 if (target == null) {
46 throw new NullPointerException("target == null");
49 this.target
41 TargetInsn(Dop opcode, SourcePosition position, RegisterSpecList registers, CodeAddress target) argument
74 withNewTargetAndReversed(CodeAddress target) argument
[all...]
/dalvik/libcore/luni/src/test/java/java/text/
H A DNormalizerTest.java52 String target;
54 target = new String(new char[] {0x03D3, 0x03D4, 0x1E9B});
55 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFC));
56 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFD));
57 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKC));
58 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKD));
60 target = new String(new char[] {0x03D2, 0x0301, 0x03D2, 0x0308, 0x017F, 0x0307});
61 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFC));
62 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFD));
63 assertFalse(Normalizer.isNormalized(target, Normalize
[all...]
/dalvik/libcore/sql/src/test/java/tests/sql/
H A DResultSetTest.java39 ResultSet target = null; field in class:ResultSetTest
59 target = stForward.getResultSet();
60 assertNotNull(target);
80 target.close();
99 assertTrue(target.isBeforeFirst());
100 assertFalse(target.absolute(0));
101 assertTrue(target.absolute(1));
102 assertTrue(target.isFirst());
103 assertTrue(target.absolute(-1));
104 assertTrue(target
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/
H A DProcessingInstructionImpl.java36 private String target; field in class:ProcessingInstructionImpl
40 ProcessingInstructionImpl(DocumentImpl document, String target, String data) { argument
42 this.target = target; // TODO: validate that target is well-formed
52 return target;
66 return target;
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/
H A DCollationKey.java25 * @param target CollationKey to be compared
30 public int compareTo(CollationKey target) argument
32 byte tgtbytes[] = target.m_bytes_;
66 if (m_bytes_.length < target.m_bytes_.length) {
70 if (m_bytes_.length > target.m_bytes_.length) {
80 * @param target CollationKey to be compared
85 public int compareTo(Object target) argument
87 return compareTo((CollationKey)target);
91 * Checks if target object is equal to this object.
93 * @param target compariso
97 equals(Object target) argument
[all...]
H A DCollator.java241 * @param target string
242 * @return true if source is equivalent to target, false otherwise
245 public boolean equals(String source, String target) argument
247 return (compare(source, target) == RESULT_EQUAL);
252 * @param target object
253 * @return true if source is equivalent to target, false otherwise
256 public abstract boolean equals(Object target); argument
283 * @param target target string.
288 public abstract int compare(String source, String target); argument
[all...]
H A DRuleBasedCollator.java379 * @param target The target string.
384 public int compare(String source, String target) argument
386 return NativeCollation.compare(m_collator_, source, target);
621 * @param target object
622 * @return true if source is equivalent to target, false otherwise
625 public boolean equals(Object target) argument
627 if (this == target)
629 if (target == null)
631 if (getClass() != target
[all...]
/dalvik/tests/057-iteration-performance/src/
H A DMain.java150 static public void combineTimings(double[][] target, double[][] newTimes, argument
152 for (int i = 0; i < target.length; i++) {
153 for (int j = 0; j < target[i].length; j++) {
154 target[i][j] =
155 ((target[i][j] * oldWeight) + newTimes[i][j])
517 Target target = TARGET;
520 for (int i = 0; i < target.size; i++) {
527 Target target = TARGET;
530 for (int i = 0; i < target.size(); i++) {
547 Target target
[all...]
/dalvik/libcore/regex/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
H A DReplaceTest.java46 String target, pattern, repl;
48 target = "foobarfobarfoofo1barfort";
53 Matcher m = p.matcher(target);
74 String target, pattern, repl, s;
78 target = "[31]foo;bar[42];[99]xyz";
83 m = p.matcher(target);
89 target = "[31]foo(42)bar{63}zoo;[12]abc(34)def{56}ghi;{99}xyz[88]xyz(77)xyz;";
93 m = p.matcher(target);
111 String target, pattern, repl, s;
113 target
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DSwitchList.java23 * List of (value, target) mappings representing the choices of a
25 * also holds the default target for the switch.
33 * is always one extra element in the target list, to hold the
34 * default target
81 * Gets the indicated target. Asking for the target at {@code size()}
82 * returns the default target.
85 * @return {@code >= 0;} the target
92 * Gets the default target. This is just a shorthand for
95 * @return {@code >= 0;} the default target
127 setDefaultTarget(int target) argument
147 add(int value, int target) argument
[all...]
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DSecurityChecker.java39 public SecurityChecker(Permission target, boolean enable) { argument
41 checkTarget = target;
/dalvik/libcore/logging/src/main/java/java/util/logging/
H A DMemoryHandler.java33 * Every {@code MemoryHandler} has a target handler, and push action can be
34 * triggered so that all buffered records will be output to the target handler
55 * <li>java.util.logging.MemoryHandler.target specifies the class of the target
65 // target handler
66 private Handler target; field in class:MemoryHandler
94 // init target
95 final String targetName = manager.getProperty(className + ".target"); //$NON-NLS-1$
108 target = (Handler) targetClass.newInstance();
110 // logging.10=Cannot load target handle
158 MemoryHandler(Handler target, int size, Level pushLevel) argument
[all...]
/dalvik/libcore/security/src/test/java/tests/security/permissions/
H A DJavaSecuritySecurityTest.java63 String target = null;
66 target = null;
72 target = permission.getName();
73 if (target.equals("getProperty.key")) {
86 assertEquals("Argument of checkSecurityAccess is not correct", "getProperty.key", s.target);
98 String target = null;
101 target = null;
107 target = permission.getName();
108 if (target.equals("setProperty.key")) {
120 assertEquals("Argument of checkSecurityAccess is not correct", "setProperty.key", s.target);
[all...]
/dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/
H A Dprocessinginstructiongettarget.java31 * The "getTarget()" method returns the target of the
39 * return the target of the ProcessingInstruction.
69 String target;
73 target = piNode.getTarget();
74 assertEquals("processinginstructionGetTargetAssert", "TEST-STYLE", target);
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
H A DBinarySearch.java37 char target = data.charAt(mid);
38 if (value == target)
40 else if (value < target)
/dalvik/libcore/xml/src/main/java/org/apache/xalan/transformer/
H A DCountersTable.java136 int target = numberElem.getTargetNode(support, node);
138 if (DTM.NULL != target)
144 count = counter.getPreviouslyCounted(support, target);
160 for (; DTM.NULL != target;
161 target = numberElem.getPreviousNode(support, target))
165 // since the original target node was already checked in the
176 - 1) == target))
190 m_newFound.addElement(target);
/dalvik/vm/
H A DSignalCatcher.c75 static void printProcessName(const DebugOutputTarget* target) argument
91 dvmPrintDebugMessage(target, "Cmd line: %s\n", tmpBuf);
104 DebugOutputTarget target; local
106 dvmCreateFileOutputTarget(&target, fp);
117 dvmPrintDebugMessage(&target,
121 printProcessName(&target);
122 dvmPrintDebugMessage(&target, "\n");
123 dvmDumpAllThreadsEx(&target, true);
152 DebugOutputTarget target; local
153 dvmCreateLogOutputTarget(&target, ANDROID_LOG_INF
[all...]
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/
H A DDatagramChannelImpl.java214 public SocketAddress receive(ByteBuffer target) throws IOException { argument
216 checkWritable(target);
231 if (!target.isDirect()) {
232 retAddr = receiveImpl(target, loop);
234 retAddr = receiveDirectImpl(target, loop);
246 private SocketAddress receiveImpl(ByteBuffer target, boolean loop) argument
250 int oldposition = target.position();
252 if (target.hasArray()) {
253 receivePacket = new DatagramPacket(target.array(), target
301 receiveDirectImpl(ByteBuffer target, boolean loop) argument
421 read(ByteBuffer target) argument
694 checkWritable(ByteBuffer target) argument
[all...]
/dalvik/libcore/luni/src/main/java/java/io/
H A DReader.java252 * Reads characters and puts them into the {@code target} character buffer.
254 * @param target
256 * @return the number of characters put into {@code target} or -1 if the end
261 * if {@code target} is {@code null}.
263 * if {@code target} is read-only.
265 public int read(CharBuffer target) throws IOException { argument
266 if (null == target) {
269 int length = target.length();
273 target.put(buf, 0, length);
/dalvik/tests/046-reflect/src/
H A DMain.java42 Class target = Target.class;
46 field = target.getField("string1");
49 field = target.getField("string2");
52 field = target.getField("string3");
59 Class target = Target.class;
65 meth = target.getMethod("myMethod", new Class[] { int.class });
67 if (meth.getDeclaringClass() != target)
71 meth = target.getMethod("myMethod", new Class[] { float.class });
74 meth = target.getMethod("myNoargMethod", (Class[]) null);
77 meth = target
[all...]
/dalvik/dx/
H A DAndroid.mk5 # We use copy-file-to-new-target so that the installed
21 $(copy-file-to-new-target)
38 $(copy-file-to-new-target)
54 $(copy-file-to-target)
/dalvik/libcore/xml/src/main/java/org/xml/sax/
H A DDocumentHandler.java221 * @param target The processing instruction target.
227 public abstract void processingInstruction (String target, String data) argument
/dalvik/vm/compiler/codegen/arm/
H A DGlobalOptimizations.c41 * Is the branch target the next instruction?
43 if (nextLIR == (ArmLIR *) thisLIR->generic.target) {
49 * Found real useful stuff between the branch and the target
/dalvik/libcore/dom/src/test/java/org/w3c/domts/level2/core/
H A DimportNode14.java38 * Create a processing instruction with target as "target1" and data as "data1"
40 * Method should return a processing instruction whose target and data match the given
76 String target;
89 target = aNode.getTarget();
90 assertEquals("piTarget", "target1", target);

Completed in 545 milliseconds

123456