/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/ |
SourceRevealer.java | 152 Object element = match.getElement(); local 153 if (element instanceof IMethod && !mFoundMatch) { 158 IMethod method = (IMethod) element;
|
/system/core/logd/ |
LogBuffer.cpp | 147 // NB: if end is region locked, place element at end of list 446 bool (*filter)(const LogBufferElement *element, void *arg), void *arg) { 453 LogBufferElement *element = *it; local 455 if (!privileged && (element->getUid() != uid)) { 459 if (element->getMonotonicTime() <= start) { 464 if (filter && !(*filter)(element, arg)) { 471 max = element->flushTo(reader); 473 if (max == element->FLUSH_ERROR) { 489 // Find oldest element in the log(s) 492 LogBufferElement *element = *it local [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
NewHdfParser.java | 254 // Re-use a single element to avoid repeated allocations/trashing (serious 256 HdfNameAttrs element = state.hdfNameAttrs; local 257 if (!parseHdfNameAttrs(element, seq, 0, state)) { 260 int index = skipLeadingWhitespace(seq, element.endOfSequence); 268 handleDescend(state, element); 274 handleAssign(state, element, value); 289 handleCopy(state, element, src); 302 handleLink(state, element, src); 316 handleAssign(state, element, multilineValue); 325 * This method parses out an HDF element name and any optional attributes into a caller-supplie [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
NodeImpl.java | 28 import org.w3c.dom.Element; 198 * Validates the element or attribute namespace prefix on this node. 224 * @param node an element or attribute node. 259 ElementImpl element = (ElementImpl) node; local 260 element.namespaceAware = true; 261 element.namespaceURI = namespaceURI; 262 element.prefix = prefix; 263 element.localName = qualifiedName; 275 * @param node an element or attribute node. 297 ElementImpl element = (ElementImpl) node local 314 Element element = (Element) this; local 623 Element element = (Element) node; local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/lib/html/parser/ |
HtmlDocument.java | 97 * @see HtmlDocument#createTag(HTML.Element, List, String, String) 99 public static Tag createTag(HTML.Element element, List<TagAttribute> attributes) { 100 return createTag(element, attributes, null, null); 105 * @see HtmlDocument.Tag#Tag(HTML.Element, List, boolean, String, String) 107 public static Tag createTag(HTML.Element element, 110 return new Tag(element, attributes, false, originalHtmlBeforeAttributes, 116 * @see HtmlDocument#createSelfTerminatingTag(HTML.Element, List, String, String) 118 public static Tag createSelfTerminatingTag(HTML.Element element 504 private final HTML.Element element; field in class:HtmlDocument.Tag 698 private final HTML.Element element; field in class:HtmlDocument.EndTag [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
HtmlDocument.java | 98 * @see HtmlDocument#createTag(HTML.Element, List, String, String) 100 public static Tag createTag(HTML.Element element, List<TagAttribute> attributes) { 101 return createTag(element, attributes, null, null); 106 * @see HtmlDocument.Tag#Tag(HTML.Element, List, boolean, String, String) 108 public static Tag createTag(HTML.Element element, 111 return new Tag(element, attributes, false, originalHtmlBeforeAttributes, 117 * @see HtmlDocument#createSelfTerminatingTag(HTML.Element, List, String, String) 119 public static Tag createSelfTerminatingTag(HTML.Element element 505 private final HTML.Element element; field in class:HtmlDocument.Tag 699 private final HTML.Element element; field in class:HtmlDocument.EndTag [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PreviewIconFactory.java | 54 import org.w3c.dom.Element; 115 * Returns an image descriptor for the given element descriptor, or null if no image 119 * @param desc the element descriptor to get an image for 147 private List<List<Element>> partitionRenderElements(Document document) { 148 List<List<Element>> elements = new ArrayList<List<Element>>(); 150 List<Element> shared = new ArrayList<Element>(); 151 Element root = document.getDocumentElement(); 160 Element element = (Element) node local [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestSemanticPredicates.java | 927 int element = elements[i]; local 928 buf.append(element);
|
/external/chromium_org/chrome/browser/notifications/ |
desktop_notification_service.cc | 707 std::string element; local 708 if (pref_list->GetString(i, &element) && !element.empty()) 709 ids_field->insert(element); 711 LOG(WARNING) << i << "-th element is not a string for " << pref_name;
|
/external/chromium_org/chrome/browser/notifications/sync_notifier/ |
chrome_notifier_service.cc | 686 std::string element = pref_list[i]; local 687 if (!element.empty()) 688 ids_field->insert(element); 690 LOG(WARNING) << i << "-th element is not a string " 701 std::string element = pref_list[i]; local 702 if (!element.empty()) 703 ids_field->insert(element); 705 LOG(WARNING) << i << "-th element is not a string for " [all...] |
/external/chromium_org/chrome/browser/password_manager/ |
native_backend_gnome_x_unittest.cc | 249 GList* element = g_list_first(results); local 250 while (element) { 251 GnomeKeyringFound* found = static_cast<GnomeKeyringFound*>(element->data); 256 element = g_list_next(element); [all...] |
/external/chromium_org/chrome/renderer/autofill/ |
form_autofill_browsertest.cc | 53 // the element. 168 const WebFormControlElement& element); 170 typedef WebString (*GetValueFunction)(WebFormControlElement element); 188 // Get the input element we want to find. 189 WebElement element = web_frame->document().getElementById("firstname"); local 190 WebInputElement input_element = element.to<WebInputElement>(); 192 // Find the form that contains the input element. 241 WebFormControlElement element = GetMainFrame()->document().getElementById( local 243 if ((element.formControlType() == "select-one") || 244 (element.formControlType() == "textarea")) 304 WebFormControlElement element = web_element.to<WebFormControlElement>(); local 333 WebFormControlElement element = web_element.to<WebFormControlElement>(); local 355 WebFormControlElement element = web_element.to<WebFormControlElement>(); local 375 WebInputElement element = web_element.to<WebInputElement>(); local 399 WebInputElement element = web_element.to<WebInputElement>(); local 437 WebFormControlElement element = web_element.to<WebFormControlElement>(); local 487 WebFormControlElement element = web_element.to<WebFormControlElement>(); local 506 WebFormControlElement element = web_element.to<WebFormControlElement>(); local 533 WebFormControlElement element = web_element.to<WebFormControlElement>(); local 562 WebFormControlElement element = web_element.to<WebFormControlElement>(); local 591 WebFormControlElement element = web_element.to<WebFormControlElement>(); local 666 WebFormControlElement element = web_element.to<WebFormControlElement>(); local 717 WebElement element = frame->document().getElementById("firstname"); local 796 WebElement element = frame->document().getElementById("firstname"); local 1155 WebElement element = web_frame->document().getElementById("firstname"); local 1249 WebElement element = web_frame->document().getElementById("street-address"); local 2355 WebElement element = web_frame->document().getElementById("firstname"); local 2455 WebElement element = web_frame->document().getElementById("firstname"); local 2536 WebElement element = web_frame->document().getElementById("firstname"); local 2626 WebElement element = web_frame->document().getElementById("apple"); local 2849 WebElement element = web_frame->document().getElementById("firstname"); local [all...] |
password_autofill_agent_browsertest.cc | 40 // The name of the username/password element in the form. 159 // Sets the "readonly" attribute of |element| to the value given by |read_only|. 160 void SetElementReadOnly(WebInputElement& element, bool read_only) { 161 element.setAttribute(WebString::fromUTF8("readonly"), 248 WebElement element = local 250 ASSERT_FALSE(element.isNull()); 251 username_element_ = element.to<blink::WebInputElement>(); 252 element = document.getElementById(WebString::fromUTF8(kPasswordName)); 253 ASSERT_FALSE(element.isNull()); 254 password_element_ = element.to<blink::WebInputElement>() 446 WebElement element = local 546 WebElement element = local 574 WebElement element = local [all...] |
/external/chromium_org/components/autofill/content/renderer/ |
autofill_agent.cc | 71 // element. 72 void GetDataListSuggestions(const WebInputElement& element, 76 WebElementCollection options = element.dataListOptions(); 82 prefix = element.editingValue(); 83 if (element.isMultiple() && 84 element.formControlType() == WebString::fromUTF8("email")) { 97 !element.isValidValue(option.value())) 243 const WebInputElement* element = toWebInputElement(&web_element); local 245 if (!element || !element->isEnabled() || element->isReadOnly() | [all...] |
/external/chromium_org/content/browser/android/java/ |
java_bound_object.cc | 526 // Sets the specified element of the supplied array to the value of the 652 // If this fails, for example due to a missing element, we simply treat the 656 jvalue element = CoerceJavaScriptValueToJavaValue(value_variant, local 659 SetArrayElement(result, target_inner_type, i, element); 666 ReleaseJavaValueIfRequired(env, &element, target_inner_type); 794 // or not the coercion in question is for an array element. [all...] |
/external/chromium_org/content/renderer/accessibility/ |
blink_ax_tree_source.cc | 131 WebElement element = node.to<WebElement>(); local 132 is_iframe = (element.tagName() == ASCIIToUTF16("IFRAME")); 143 // As an exception, include children of an iframe element. 155 // element. 294 WebElement element = node.to<WebElement>(); local 295 is_iframe = (element.tagName() == ASCIIToUTF16("IFRAME")); 297 if (LowerCaseEqualsASCII(element.getAttribute("aria-expanded"), "true")) 305 StringToLowerASCII(UTF16ToUTF8(element.tagName()))); 306 for (unsigned i = 0; i < element.attributeCount(); ++i) { 308 element.attributeLocalName(i))) [all...] |
/external/chromium_org/net/cert/ |
cert_verify_proc_win.cc | 281 PCERT_CHAIN_ELEMENT* element = first_chain->rgpElement; 282 PCCERT_CONTEXT cert = element[num_elements - 1]->pCertContext; 299 PCERT_CHAIN_ELEMENT* element = first_chain->rgpElement; local 320 PCCERT_CONTEXT cert = element[i]->pCertContext; 343 verified_chain.push_back(element[num_elements]->pCertContext); 385 // CheckRevocationWithCRLSet attempts to check each element of |chain| 387 // kCRLSetRevoked: if any element of the chain is known to have been revoked. 388 // kCRLSetUnknown: if there is no fresh information about some element in 390 // kCRLSetOk: if every element in the chain is covered by a fresh CRLSet and 398 const PCERT_CHAIN_ELEMENT* element = first_chain->rgpElement local 466 PCERT_CHAIN_ELEMENT* const element = first_chain->rgpElement; local [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
V8NPObject.cpp | 76 HTMLPlugInElement* element = V8HTMLAppletElement::toNativeWithTypeCheck(isolate, info.Holder()); local 77 if (!element) { 78 element = V8HTMLEmbedElement::toNativeWithTypeCheck(isolate, info.Holder()); 79 if (!element) { 80 element = V8HTMLObjectElement::toNativeWithTypeCheck(isolate, info.Holder()); 83 if (element) { 84 if (RefPtr<SharedPersistent<v8::Object> > wrapper = element->pluginWrapper()) {
|
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
AXObjectCache.cpp | 186 // the HTML element, for example, is focusable but has an AX object that is ignored 272 // FIXME: How could renderer->node() ever not be an Element? 379 // Or if it's a hidden element, but we still want to expose it because of other ARIA attributes. 799 // postToElement is false so that you can pass in any child of an element and it will go up the parent tree 806 // postToElement is false so that you can pass in any child of an element and it will go up the parent tree 858 void AXObjectCache::handleAttributeChanged(const QualifiedName& attrName, Element* element) 861 handleAriaRoleChanged(element); 863 textChanged(element); 864 else if (attrName == forAttr && isHTMLLabelElement(*element)) 919 const Element* element = node->isElementNode() ? toElement(node) : node->parentElement(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
SelectorChecker.cpp | 68 static bool matchesCustomPseudoElement(const Element* element, const CSSSelector& selector) 70 ShadowRoot* root = element->containingShadowRoot(); 74 if (element->shadowPseudoId() != selector.value()) 80 Element* SelectorChecker::parentElement(const SelectorCheckingContext& context, bool allowToCrossBoundary) const 84 return context.element->parentOrShadowHostElement(); 87 if ((context.behaviorAtBoundary & SelectorChecker::ScopeIsShadowRoot) && context.scope == context.element->containingShadowRoot()) 88 return context.element->parentOrShadowHostElement(); 91 return context.element->parentElement(); 93 // If context.scope is some element in some shadow tree and querySelector initialized the context 524 Element& element = *context.element; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
TreeScope.cpp | 33 #include "core/dom/Element.h" 148 Element* TreeScope::getElementById(const AtomicString& elementId) const 157 const Vector<Element*>& TreeScope::getAllElementsById(const AtomicString& elementId) const 159 DEFINE_STATIC_LOCAL(Vector<Element*>, emptyVector, ()); 167 void TreeScope::addElementById(const AtomicString& elementId, Element* element) 171 m_elementsById->add(elementId.impl(), element); 175 void TreeScope::removeElementById(const AtomicString& elementId, Element* element) 179 m_elementsById->remove(elementId.impl(), element); 363 Element* element = document.focusedElement(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
RangeInputType.cpp | 76 PassRefPtrWillBeRawPtr<InputType> RangeInputType::create(HTMLInputElement& element) 78 return adoptRefWillBeNoop(new RangeInputType(element)); 81 RangeInputType::RangeInputType(HTMLInputElement& element) 82 : InputType(element) 104 return parseToDoubleForNumberType(element().value()); 127 const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), rangeDefaultMinimum); 128 const Decimal maximum = ensureMaximum(parseToNumber(element().fastGetAttribute(maxAttr), rangeDefaultMaximum), minimum, rangeDefaultMaximum); 130 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr)); 141 if (element().isDisabledOrReadOnly()) 147 ASSERT(element().shadow()) 352 Element* element = options->item(i); local [all...] |
TextFieldInputType.cpp | 103 RefPtrWillBeRawPtr<DataListIndicatorElement> element = adoptRefWillBeNoop(new DataListIndicatorElement(document)); local 104 element->setShadowPseudoId(AtomicString("-webkit-calendar-picker-indicator", AtomicString::ConstructFromLiteral)); 105 element->setAttribute(idAttr, ShadowElementNames::pickerIndicator()); 106 return element.release(); 111 TextFieldInputType::TextFieldInputType(HTMLInputElement& element) 112 : InputType(element) 126 return toSpinButtonElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::spinButton())); 141 return element().isRequired() && value.isEmpty(); 151 // Grab this input element to keep reference even if JS event handler 153 RefPtrWillBeRawPtr<HTMLInputElement> input(element()); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
SliderThumbElement.cpp | 53 inline static Decimal sliderPosition(HTMLInputElement* element) 55 const StepRange stepRange(element->createStepRange(RejectAny)); 56 const Decimal oldValue = parseToDecimalForNumberType(element->value(), stepRange.defaultValue()); 70 RenderSliderThumb::RenderSliderThumb(SliderThumbElement* element) 71 : RenderBlockFlow(element) 102 RenderSliderContainer(SliderContainerElement* element) 103 : RenderFlexibleBox(element) { } 157 Element* thumbElement = input->userAgentShadowRoot()->getElementById(ShadowElementNames::sliderThumb()); 158 Element* trackElement = input->userAgentShadowRoot()->getElementById(ShadowElementNames::sliderTrack()); 197 // We need one-off invalidation code here because painting of the timeline element does not go through style 213 RefPtrWillBeRawPtr<SliderThumbElement> element = adoptRefWillBeNoop(new SliderThumbElement(document)); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
DOMPatchSupport.cpp | 125 // Use the document BODY as the context element when editing immediate shadow root children, 129 Element* targetElement = toElement(targetNode); 186 Element* oldElement = toElement(oldNode); 187 Element* newElement = toElement(newNode); 189 // FIXME: Create a function in Element for removing all properties. Take in account whether did/willModifyAttribute are important. 198 // FIXME: Create a function in Element for copying properties. cloneDataFromElement() is close but not enough for this case. 422 Element& element = toElement(*node); local 423 Node* child = element.firstChild(); 431 if (element.hasAttributesWithoutUpdate()) [all...] |