/external/python/cpython2/Lib/test/ |
test_htmlparser.py | 362 for element in elements: 363 element_lower = element.lower() 364 s = u'<{element}>{content}</{element}>'.format(element=element, 382 for element in [' script', 'script ', ' script ', 384 s = u'<script>{content}</{element}>'.format(element=element, [all...] |
/external/webrtc/webrtc/modules/audio_processing/intelligibility/ |
intelligibility_enhancer.cc | 300 float step, element; local 303 element = 0.0f; 305 filter_bank_[i - 1][j] = element; 306 element += step; 309 element = 1.0f; 311 filter_bank_[i - 1][j] = element; 312 element -= step;
|
/external/antlr/runtime/C/src/ |
antlr3rewritestreams.c | 49 static pANTLR3_BASE_TREE toTree (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * element); 50 static pANTLR3_BASE_TREE toTreeNode (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void * element); 128 tree = (pANTLR3_BASE_TREE)(stream->elements->elements[i-1].element); 270 // Stream seems good so we need to add the supplied element 527 // we have either zero or just one element in the rewrite stream 531 // We already have >1 entries in the stream. So we can just add this new element to the existing 543 // If we got here then we had only the one element so far 562 /// Return the next element in the stream. If out of elements, throw 565 /// size==1. If we've already used the element, dup (dirty bit set). 589 /// Return the next element for a caller that wants just the toke [all...] |
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
ComponentDescriptor.java | 42 import javax.lang.model.element.AnnotationMirror; 43 import javax.lang.model.element.ExecutableElement; 44 import javax.lang.model.element.TypeElement; 84 * Returns the kind of an annotated element if it is annotated with one of the 87 * @throws IllegalArgumentException if the element is annotated with more than one of the 90 static Optional<Kind> forAnnotatedElement(TypeElement element) { 93 if (MoreElements.isAnnotationPresent(element, kind.annotationType())) { 98 kinds.size() <= 1, "%s cannot be annotated with more than one of %s", element, kinds); local 129 * The type (interface or abstract class) that defines the component. This is the element to which 185 * The element representing {@link Executor}, if it should be a dependency of this component [all...] |
/external/dagger2/lib/ |
auto-common-1.0-20151022.071545-39.jar | |
/external/guava/guava/src/com/google/common/collect/ |
Iterables.java | 114 * Returns {@code true} if {@code iterable} contains any object for which {@code equals(element)} 117 public static boolean contains(Iterable<?> iterable, @Nullable Object element) { 120 return Collections2.safeContains(collection, element); 122 return Iterators.contains(iterable.iterator(), element); 126 * Removes, from an iterable, every element that belongs to the provided 134 * @return {@code true} if any element was removed from {@code iterable} 144 * Removes, from an iterable, every element that does not belong to the 152 * @return {@code true} if any element was removed from {@code iterable} 162 * Removes, from an iterable, every element that satisfies the provided 166 * @param predicate a predicate that determines whether an element shoul 191 T element = list.get(from); local [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Iterables.java | 112 * Returns {@code true} if {@code iterable} contains any object for which {@code equals(element)} 115 public static boolean contains(Iterable<?> iterable, @Nullable Object element) { 118 return Collections2.safeContains(collection, element); 120 return Iterators.contains(iterable.iterator(), element); 124 * Removes, from an iterable, every element that belongs to the provided 132 * @return {@code true} if any element was removed from {@code iterable} 142 * Removes, from an iterable, every element that does not belong to the 150 * @return {@code true} if any element was removed from {@code iterable} 160 * Removes, from an iterable, every element that satisfies the provided 164 * @param predicate a predicate that determines whether an element shoul 189 T element = list.get(from); local [all...] |
Iterators.java | 197 * Returns {@code true} if {@code iterator} contains {@code element}. 199 public static boolean contains(Iterator<?> iterator, @Nullable Object element) { 200 return any(iterator, equalTo(element)); 204 * Traverses an iterator and removes every element that belongs to the 210 * @return {@code true} if any element was removed from {@code iterator} 218 * Removes every element that satisfies the provided predicate from the 223 * @param predicate a predicate that determines whether an element should 242 * Traverses an iterator and removes every element that does not belong to the 248 * @return {@code true} if any element was removed from {@code iterator} 258 * and {@code iterator2} contain the same number of elements and every element [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
LexicalPreservingPrinter.java | 385 for (CsmElement element : calculatedSyntaxModel.elements) { 386 if (pendingIndentation && !(element instanceof CsmToken && ((CsmToken) element).isNewLine())) { 390 if (element instanceof LexicalDifferenceCalculator.CsmChild) { 391 nodeText.addChild(((LexicalDifferenceCalculator.CsmChild) element).getChild()); 392 } else if (element instanceof CsmToken) { 393 CsmToken csmToken = (CsmToken) element; 398 } else if (element instanceof CsmMix) { 399 CsmMix csmMix = (CsmMix) element; 402 throw new UnsupportedOperationException(element.getClass().getSimpleName()) [all...] |
/external/libxaac/decoder/ |
ixheaacd_drc_freq_dec.c | 482 WORD32 i, element; local 499 for (element = 0; element < num_drc_elements; element++) { 500 ptr_bs_data = &pstr_drc_dec->str_drc_bs_data[element]; 510 for (element = 0; element < num_drc_elements; element++) { 511 ptr_bs_data = &pstr_drc_dec->str_drc_bs_data[element]; 519 &pstr_drc_dec->str_drc_bs_data[element], [all...] |
/external/sfntly/cpp/src/test/tinyxml/ |
tinyxml.cpp | 818 // 1) An element without children is printed as a <foo /> node 819 // 2) An element with only a text child is printed as <foo> text </foo> 820 // 3) An element with children is printed on multiple lines. 858 // Element class: [all...] |
/external/skia/tests/ |
ClipStackTest.cpp | 177 const SkClipStack::Element* element = nullptr; local 182 for (i = 0, element = iter.next(); element; ++i, element = iter.next()) { 183 REPORTER_ASSERT(reporter, SkClipStack::Element::DeviceSpaceType::kRect == 184 element->getDeviceSpaceType()); 185 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[i]); 193 const SkClipStack::Element* element = nullptr local 209 const SkClipStack::Element* element = nullptr; local 1481 const SkClipStack::Element* element = iter.next(); local [all...] |
/external/skqp/tests/ |
ClipStackTest.cpp | 177 const SkClipStack::Element* element = nullptr; local 182 for (i = 0, element = iter.next(); element; ++i, element = iter.next()) { 183 REPORTER_ASSERT(reporter, SkClipStack::Element::DeviceSpaceType::kRect == 184 element->getDeviceSpaceType()); 185 REPORTER_ASSERT(reporter, element->getDeviceSpaceRect() == gRects[i]); 193 const SkClipStack::Element* element = nullptr local 209 const SkClipStack::Element* element = nullptr; local 1446 const SkClipStack::Element* element = iter.next(); local [all...] |
/external/autotest/client/site_tests/files_CopyFileToGoogleDriveUI/ |
files_CopyFileToGoogleDriveUI.py | 149 for element in folder_webelements: 151 logging.debug("Found folder name: %s", element.text.strip()) 152 if folder == element.text.strip(): 153 element.click() 155 if self.check_folder_opened(driver, element.text.strip()):
|
/external/autotest/server/cros/ap_configurators/ |
web_driver_core_helpers.py | 98 @param element_ids: A list of all the element ids to find. 129 element = self.wait_for_object_by_xpath(xpath, 131 if element and element.is_displayed(): 169 @param element_xpath: The element that we search for to confirm that 190 """Waits for an element to become available; returns a reference to it. 192 @param element_id: the id of the element to wait for 195 @returns a reference to the element if found before a timeout. 238 @param element_id: the id of the element to find 240 @returns True if the element exists. False if the element does not [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ConstraintsTest.java | 55 public String checkElement(String element) { 56 if (TEST_ELEMENT.equals(element)) { 59 return element; 272 * @param element the element to be contained in the collection 274 static <E> Collection<E> onceIterableCollection(final E element) { 288 return Collections.singleton(element).iterator();
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
ServletScopesTest.java | 35 import com.google.inject.spi.Element; 89 List<Element> moduleBindings = Elements.getElements(requestScopedBindings); 155 List<Element> moduleBindings = Elements.getElements(requestScopedBindings); 189 private ImmutableMap<Key<?>, Binding<?>> indexBindings(Iterable<Element> elements) { 191 for (Element element : elements) { 192 if (element instanceof Binding) { 193 Binding<?> binding = (Binding<?>) element; 195 } else if (element instanceof PrivateElements) { 196 PrivateElements privateElements = (PrivateElements) element; [all...] |
/external/icu/icu4c/source/test/letest/ |
gendata.cpp | 199 const UXMLElement *element; local 232 while((element = testCase->nextChildElement(ec)) != NULL) { 233 UnicodeString tag = element->getTagName(); 235 // TODO: make sure that each element is only used once. 237 char *fontName = getCString(element->getAttribute(name_attr)); 286 text = element->getText(TRUE); 297 printf("Test %s: unknown element with tag \"%s\"\n", id, cTag);
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
sliding_window_dataset_op.cc | 161 std::vector<Tensor> element; variable 163 input_impl_->GetNext(ctx, &element, end_of_sequence)); 165 buffer_.push_back(std::move(element)); 185 std::vector<Tensor> element; variable 187 input_impl_->GetNext(ctx, &element, &end_of_input)); 211 // from each input element in the batch. 217 component_index, ". First element had shape ", 218 first_element.shape().DebugString(), " and element ", i,
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
FindDTDOrder.java | 144 for (String element : attributeToElements.getAll(attribute)) { 145 if (!isBlocked(element)) { 146 filtered.add(element); 160 private void showElementTree(String element, String indent, HashSet<String> seenSoFar) { 162 if (isBlocked(element)) { 165 Set<String> children = elementToChildren.getAll(element); 166 if (seenSoFar.contains(element)) { 167 System.out.println(indent + element 171 System.out.println(indent + element); 172 seenSoFar.add(element); [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
E_B_L_C_.py | 250 for element in content: 251 if not isinstance(element, tuple): 253 name, attrs, content = element 290 for element in content: 291 if not isinstance(element, tuple): 293 name, attrs, content = element 319 for element in content: 320 if not isinstance(element, tuple): 322 name, attrs, content = element 386 for element in content [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
tuple_points_to_analysis.cc | 99 const auto& pointed_to_buffers = element(index); 113 return tree_.element(index).tuple_sources; 200 // contains a single element LogicalBuffer(hlo_instruction, i). This indicates 221 // GetTupleElement forwards a pointer to a particular element of the tuple 237 for (auto element : target_index) { 238 src_index.push_back(element); 241 *points_to = operand_points_to_set.element(src_index); 288 // RecvDone aliases its input (Recv) tuple element {0} to element {0} of its 302 // element {0} [all...] |
/external/v8/src/compiler/ |
load-elimination.cc | 219 for (Element const element : elements_) { 220 if (element.object == nullptr) continue; 221 DCHECK_NOT_NULL(element.index); 222 DCHECK_NOT_NULL(element.value); 223 if (MustAlias(object, element.object) && MustAlias(index, element.index) && 224 IsCompatible(representation, element.representation)) { 225 return element.value; 234 for (Element const element : this->elements_) [all...] |
/external/v8/src/js/ |
array.js | 147 // Fast case for one-element arrays. 182 // Make sure to remove the last element of the visited array no 389 // Fast case for one-element arrays. 563 var element = a[i]; 566 var order = comparefn(tmp, element); 573 a[j + 1] = element; 608 // Find a pivot as the median of first, last and middle element. 648 var element = a[i]; 649 var order = comparefn(element, pivot); 652 a[low_end] = element; [all...] |
/external/python/cpython3/Lib/ |
plistlib.py | 263 def handle_begin_element(self, element, attrs): 265 handler = getattr(self, "begin_" + element, None) 269 def handle_end_element(self, element): 270 handler = getattr(self, "end_" + element, None) 280 raise ValueError("unexpected element at line %d" % 289 raise ValueError("unexpected element at line %d" % 298 # element handlers 358 def begin_element(self, element): 359 self.stack.append(element) 360 self.writeln("<%s>" % element) [all...] |