/dalvik/libcore/luni/src/main/java/java/net/ |
H A D | URL.java | 164 * relative to the given {@code context}. If the protocol of the parsed URL 165 * does not match with the protocol of the context URL, then the newly 167 * {@code spec}. Otherwise the protocol is defined by the context URL. 169 * @param context 170 * the URL which is used as the context. 177 public URL(URL context, String spec) throws MalformedURLException { argument 178 this(context, spec, (URLStreamHandler) null); 183 * relative to the given {@code context}. The {@code handler} will be used 186 * parsed URL does not match with the protocol of the context URL, then the 188 * by {@code spec}. Otherwise the protocol is defined by the context UR 200 URL(URL context, String spec, URLStreamHandler handler) argument [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
H A D | AttributeListParser.java | 33 /** attribute parsing context */ 34 private final int context; field in class:AttributeListParser 56 * @param context attribute parsing context (see {@link AttributeFactory}) 60 public AttributeListParser(DirectClassFile cf, int context, int offset, argument 73 this.context = context; 142 attributeFactory.parse(cf, context, at, observer);
|
/dalvik/libcore/xml/src/main/java/org/apache/xpath/patterns/ |
H A D | ContextMatchStepPattern.java | 31 * Special context node pattern matcher. 50 * @param xctxt XPath runtime context. 74 * @param xctxt The XPath runtime context. 91 int context = xctxt.getCurrentNode(); 92 DTM dtm = xctxt.getDTM(context); 112 for (int relative = traverser.first(context); DTM.NULL != relative; 113 relative = traverser.next(context, relative)) 125 if (executePredicates(xctxt, dtm, context))
|
H A D | NodeTest.java | 514 * @param xctxt XPath runtime context. 515 * @param context The node being tested. 525 public XObject execute(XPathContext xctxt, int context) argument 529 DTM dtm = xctxt.getDTM(context); 530 short nodeType = dtm.getNodeType(context); 548 // return (!xctxt.getDOMHelper().shouldStripSourceNode(context)) 552 return subPartMatch(dtm.getNodeName(context), m_name) 560 // context node, and attribute::* will select all attributes of 561 // the context node." 563 // is expanded in the same way as with a QName using the context 599 execute(XPathContext xctxt, int context, DTM dtm, int expType) argument [all...] |
H A D | StepPattern.java | 236 * @return true if traversal outside the context node's subtree can occur. 319 * @param xctxt XPath runtime context. 320 * @param currentNode The current node context. 350 * @param xctxt XPath runtime context. 367 * Execute an expression in the XPath runtime context, and return the 371 * @param xctxt The XPath runtime context. 419 * @param xctxt The XPath runtime context. 422 * @param context The currentNode. 426 * @return true of the position of the context matches pos, false otherwise. 429 int predPos, DTM dtm, int context, in 428 checkProximityPosition(XPathContext xctxt, int predPos, DTM dtm, int context, int pos) argument 892 getMatchScore(XPathContext xctxt, int context) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xpath/axes/ |
H A D | FilterExprIterator.java | 62 * Initialize the context values for this expression 65 * @param context The XPath runtime context for this 68 public void setRoot(int context, Object environment) argument 70 super.setRoot(context, environment); 72 m_exprObj = FilterExprIteratorSimple.executeFilterExpr(context,
|
H A D | ChildTestIterator.java | 118 * Initialize the context values for this expression 121 * @param context The XPath runtime context for this 124 public void setRoot(int context, Object environment) argument 126 super.setRoot(context, environment);
|
H A D | OneStepIteratorForward.java | 82 * Initialize the context values for this expression 85 * @param context The XPath runtime context for this 88 public void setRoot(int context, Object environment) argument 90 super.setRoot(context, environment); 100 // * @param xctxt The XPath runtime context.
|
H A D | FilterExprIteratorSimple.java | 35 * doesn't need to set the context. 70 * Initialize the context values for this expression 73 * @param context The XPath runtime context for this 76 public void setRoot(int context, Object environment) argument 78 super.setRoot(context, environment); 79 m_exprObj = executeFilterExpr(context, m_execContext, getPrefixResolver(), 87 public static XNodeSet executeFilterExpr(int context, XPathContext xctxt, argument 99 xctxt.pushCurrentNode(context); 103 // and so we may not be in the context o [all...] |
H A D | WalkingIterator.java | 72 * @param nscontext The namespace context for this iterator, 144 * Initialize the context values for this expression 147 * @param context The XPath runtime context for this 150 public void setRoot(int context, Object environment) argument 153 super.setRoot(context, environment); 157 m_firstWalker.setRoot(context);
|
/dalvik/libcore/security/src/test/java/tests/api/java/security/ |
H A D | AccessControlContextTest.java | 130 AccessControlContext context = AccessController.getContext(); 132 new AccessControlContext(context, null); 138 new AccessControlContext(context, new SubjectDomainCombiner( 159 AccessControlContext context = AccessController.getContext(); 161 new AccessControlContext(context, null); 283 AccessControlContext context = AccessController.getContext(); 285 AccessControlContext acc4 = new AccessControlContext(context, null); 286 AccessControlContext acc5 = new AccessControlContext(context, 289 AccessControlContext acc6 = new AccessControlContext(context, null); 310 AccessControlContext context [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xalan/templates/ |
H A D | AVTPart.java | 51 * @param xctxt The XPath context to use to evaluate this AVT. 53 * @param context The current source tree context. 54 * @param nsNode The current namespace context (stylesheet tree context). 59 XPathContext xctxt, FastStringBuffer buf, int context, 74 * @return true if traversal outside the context node's subtree can occur. 58 evaluate( XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode) argument
|
H A D | AVTPartSimple.java | 83 * @param context The current source tree context. 84 * @param nsNode The current namespace context (stylesheet tree context). 87 int context, 86 evaluate(XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode) argument
|
H A D | AVTPartXPath.java | 63 * @return true if traversal outside the context node's subtree can occur. 86 * Usually this is based on the context where the XPath was specified, 125 * @param context The current source tree context. 126 * @param nsNode The current namespace context (stylesheet tree context). 131 XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode) 135 XObject xobj = m_xpath.execute(xctxt, context, nsNode); 130 evaluate( XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode) argument
|
H A D | FuncKey.java | 51 * @param xctxt The current execution context. 62 int context = xctxt.getCurrentNode(); 63 DTM dtm = xctxt.getDTM(context); 64 int docContext = dtm.getDocumentRoot(context); 69 // path.error(context, XPATHErrorResources.ER_CONTEXT_HAS_NO_OWNERDOC); //"context does not have an owner document!");
|
H A D | ElemNumber.java | 112 public String getNamespaceForPrefix(String prefix, Node context) { argument 596 * and a context, find the first ancestor that matches the 597 * pattern (including the context handed in). 602 * @param context The node that "." expresses. 603 * @param namespaceContext The context in which namespaces in the 612 int context, ElemNumber namespaceContext) 615 DTM dtm = xctxt.getDTM(context); 616 while (DTM.NULL != context) 620 if (fromMatchPattern.getMatchScore(xctxt, context) 624 //context 610 findAncestor( XPathContext xctxt, XPath fromMatchPattern, XPath countMatchPattern, int context, ElemNumber namespaceContext) argument 660 findPrecedingOrAncestorOrSelf( XPathContext xctxt, XPath fromMatchPattern, XPath countMatchPattern, int context, ElemNumber namespaceContext) argument [all...] |
/dalvik/libcore/xml/src/main/native/ |
H A D | org_apache_harmony_xml_ExpatParser.cpp | 322 * Allocates a new parsing context. 425 * @param data parsing context 546 char* context = NULL; local 547 char* a = strtok_r(mCopy, "|", &context); 548 char* b = strtok_r(NULL, "|", &context); 549 char* c = strtok_r(NULL, "|", &context); 607 * @param data parsing context 650 * @param data parsing context 674 * @param data parsing context 686 * @param data parsing context 864 const char* context = env->GetStringUTFChars(javaContext, NULL); local 887 handleExternalEntity(XML_Parser parser, const char* context, const char* ignored, const char* systemId, const char* publicId) argument 983 releaseParsingContext(JNIEnv* env, ParsingContext* context) argument 1023 ParsingContext* context = newParsingContext(env, object); local 1078 ParsingContext* context = (ParsingContext*) XML_GetUserData(parser); local 1108 ParsingContext* context = (ParsingContext*) XML_GetUserData(parser); local 1137 ParsingContext* context = (ParsingContext*) XML_GetUserData(parser); local 1174 ParsingContext* context = (ParsingContext*) XML_GetUserData(parser); local 1216 ParsingContext* context = (ParsingContext*) XML_GetUserData(parser); local 1232 ParsingContext* context = (ParsingContext*) XML_GetUserData(parser); local 1248 ParsingContext* context = (ParsingContext*) XML_GetUserData(parser); local [all...] |
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
H A D | MutableSecurityManager.java | 81 public void checkPermission(Permission permission, Object context) argument 94 super.checkPermission(permission, context);
|
/dalvik/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DOMTestCase.java | 346 String context, 356 // if the context is attribute, then use case-insentive comparison 358 if ("attribute".equals(context)) { 398 String context, 404 if ("attribute".equals(context)) { 429 String context, 435 if ("attribute".equals(context)) { 576 String context, 582 if ("attribute".equals(context)) { 830 public boolean equalsAutoCase(String context, Strin argument 345 assertEqualsAutoCase( String context, String assertID, String expected, String actual) argument 397 assertEqualAutoCase( String context, String assertID, Collection expected, Collection actual) argument 428 assertEqualsAutoCase( String context, String assertID, List expected, List actual) argument 575 assertNotEqualsAutoCase( String context, String assertID, String expected, String actual) argument 851 equalsAutoCase(String context, Collection expected, Collection actual) argument 873 equalsAutoCase(String context, List expected, List actual) argument [all...] |
/dalvik/libcore/auth/src/main/java/javax/security/auth/ |
H A D | Subject.java | 154 * specific context. 160 * @param context 161 * the specific context in which the {@code action} is invoked. 168 AccessControlContext context) { 172 if (context == null) { 176 return doAs_PrivilegedAction(subject, action, context); 179 // instantiates a new context and passes it to AccessController 182 final AccessControlContext context) { 198 return new AccessControlContext(context, combiner); 231 * specific context 167 doAsPrivileged(Subject subject, PrivilegedAction action, AccessControlContext context) argument 181 doAs_PrivilegedAction(Subject subject, PrivilegedAction action, final AccessControlContext context) argument 246 doAsPrivileged(Subject subject, PrivilegedExceptionAction action, AccessControlContext context) argument 261 doAs_PrivilegedExceptionAction(Subject subject, PrivilegedExceptionAction action, final AccessControlContext context) argument 487 getSubject(final AccessControlContext context) argument [all...] |
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | MockSecurityManager.java | 33 public void checkPermission(Permission perm, Object context) { argument
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
H A D | SecurityManager.java | 178 * Checks whether the specified security context is allowed to establish 186 * @param context 187 * the security context to use for the check. 191 * if {@code context} is not allowed to connect to {@code host} 194 public void checkConnect(String host, int port, Object context) { argument 202 context); 204 checkPermission(new SocketPermission(host, "resolve"), context); //$NON-NLS-1$ 497 * Checks whether the given security context is allowed to read from the 502 * @param context 503 * the security context t 507 checkRead(String file, Object context) argument 895 checkPermission(Permission permission, Object context) argument [all...] |
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | SSLSessionImpl.java | 124 SSLSessionContext context; field in class:SSLSessionImpl 286 return context; 313 if (isValid && context != null && context.getSessionTimeout() != 0 314 && lastAccessedTime + context.getSessionTimeout() > System.currentTimeMillis()) {
|
/dalvik/libcore/xml/src/main/java/org/apache/xpath/functions/ |
H A D | FuncId.java | 46 * @param xctxt The runtime XPath context. 101 * @param xctxt The current execution context. 109 int context = xctxt.getCurrentNode(); 110 DTM dtm = xctxt.getDTM(context);
|
/dalvik/libcore/luni/src/main/native/ |
H A D | org_apache_harmony_luni_platform_OSNetworkSystem.cpp | 950 * @param[in,out] pointer to context pointer. Filled in on first call and then 961 selectFDSet* context = reinterpret_cast<selectFDSet*>(ctxt); local 964 context->sock = handle; 965 context->nfds = handle + 1; 1012 FD_ZERO(&(context->exceptionSet)); 1013 FD_ZERO(&(context->writeSet)); 1014 FD_ZERO(&(context->readSet)); 1015 FD_SET(context->sock, &(context->writeSet)); 1016 FD_SET(context 1595 jbyte* context = env->GetByteArrayElements(passContext, NULL); local 1636 jbyte *context = NULL; local [all...] |