/external/guava/guava/src/com/google/common/collect/ |
ImmutableSortedMultiset.java | 47 * <p><b>Note on element equivalence:</b> The {@link #contains(Object)}, 49 * a provided object is equivalent to an element in the collection. Unlike most collections, an 66 * correctly if an element is modified after being placed in the multiset. For this reason, and to 100 * Returns an immutable sorted multiset containing a single element. 102 public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of(E element) { 104 (RegularImmutableSortedSet<E>) ImmutableSortedSet.of(element); 114 * @throws NullPointerException if any element is null 125 * @throws NullPointerException if any element is null 136 * @throws NullPointerException if any element is null 148 * @throws NullPointerException if any element is nul [all...] |
RegularImmutableSortedMultiset.java | 69 public int count(@Nullable Object element) { 70 int index = elementSet.indexOf(element);
|
/external/libchrome/mojo/public/cpp/bindings/ |
interface_ptr_set.h | 35 auto weak_interface_ptr = new Element(std::move(ptr)); 89 class Element { 91 explicit Element(Ptr<Interface> ptr) 96 ~Element() {} 110 base::WeakPtr<Element> GetWeakPtr() { 117 static void DeleteElement(Element* element) { delete element; } 120 base::WeakPtrFactory<Element> weak_ptr_factory_; 122 DISALLOW_COPY_AND_ASSIGN(Element); [all...] |
/external/libffi/src/ia64/ |
ffi.c | 164 all of the same fp type? If so, return the element type. Return 170 int element = FFI_TYPE_VOID; local 178 element = FFI_IA64_TYPE_HFA_FLOAT; 184 element = FFI_IA64_TYPE_HFA_DOUBLE; 192 element = FFI_IA64_TYPE_HFA_LDOUBLE; 205 if (element == FFI_TYPE_VOID) 206 element = sub_element; 207 else if (element != sub_element) 217 return element;
|
/external/libxcam/modules/ocl/ |
cv_image_process_helper.cpp | 36 cv::Mat element = cv::getStructuringElement (erosion_type, local 40 cv::erode (image, eroded, element);
|
/external/libxkbcommon/xkbcommon/src/xkbcomp/ |
ast-build.h | 56 ExprCreateFieldRef(xkb_atom_t element, xkb_atom_t field); 59 ExprCreateArrayRef(xkb_atom_t element, xkb_atom_t field, ExprDef *entry);
|
/external/markdown/markdown/extensions/ |
rss.py | 65 rss = etree.Element("rss") 74 element = etree.SubElement(channel, tag) 75 element.text = text
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
nv50_vbo.c | 78 so->element[i].pipe = elements[i]; 79 so->element[i].state = nv50_vertex_format[fmt].vtx; 81 if (!so->element[i].state) { 92 so->element[i].state = nv50_vertex_format[fmt].vtx; 95 "Converting vertex element %d, no hw format %s", 98 so->element[i].state |= i; 107 transkey.element[j].type = TRANSLATE_ELEMENT_NORMAL; 108 transkey.element[j].input_format = ve->src_format; 109 transkey.element[j].input_buffer = vbi; 110 transkey.element[j].input_offset = ve->src_offset [all...] |
/external/opencensus-java/api/src/main/java/io/opencensus/internal/ |
Utils.java | 128 for (T element : list) { 129 if (element == null) {
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ia64/ |
ffi.c | 164 all of the same fp type? If so, return the element type. Return 170 int element = FFI_TYPE_VOID; local 178 element = FFI_IA64_TYPE_HFA_FLOAT; 184 element = FFI_IA64_TYPE_HFA_DOUBLE; 192 element = FFI_IA64_TYPE_HFA_LDOUBLE; 205 if (element == FFI_TYPE_VOID) 206 element = sub_element; 207 else if (element != sub_element) 217 return element;
|
/external/python/cpython3/Lib/test/ |
test_htmlparser.py | 288 for element in elements: 289 element_lower = element.lower() 290 s = '<{element}>{content}</{element}>'.format(element=element, 308 for element in [' script', 'script ', ' script ', 310 element_lower = element.lower().strip() 311 s = '<script>{content}</{element}>'.format(element=element [all...] |
/external/swiftshader/src/Device/ |
Surface.cpp | 48 byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * sliceB; local 52 write(element, color); 53 element += sliceB; 62 byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB; local 66 write(element, color); 67 element += sliceB; 71 inline void Surface::Buffer::write(void *element, const Color<float> &color) 88 *(char*)element = snorm<8>(r); 91 *(unsigned char*)element = unorm<8>(r); 94 *(char*)element = scast<8>(r) 250 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * sliceB; local 260 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB; local 2964 unsigned char *element = row; local [all...] |
/external/tensorflow/tensorflow/compiler/xla/python/ |
xrt.cc | 119 for (auto* element : elements_) { 120 CHECK(element != nullptr); 125 for (XrtAllocation* element : elements_) { 126 if (element != nullptr) { 127 delete element; 133 XrtAllocation* element = elements_[i]; local 134 if (element == nullptr) { 135 return InvalidArgument("Attempted to release already-released element %d.", 139 return element;
|
/external/tensorflow/tensorflow/compiler/xla/python_api/ |
xla_literal.py | 76 for element in _np.nditer(ndarray): 78 type_record.literal_field_type(element))
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
graph_utils.h | 35 // Returns the index of the first element in collection that fulfills predicate. 36 // If no such element exists, returns -1. 41 for (auto&& element : collection) { 42 if (predicate(element)) {
|
/external/tensorflow/tensorflow/core/kernels/data/ |
window_dataset.cc | 46 for (auto& element : elements_) { 47 allocated_bytes += GetAllocatedBytes(element);
|
/external/tensorflow/tensorflow/python/saved_model/ |
nested_structure_coder.py | 126 for element in list_value: 127 encoded_list.list_value.values.add().CopyFrom(encode_fn(element)) 134 return [decode_fn(element) for element in value.list_value.values] 169 for element in tuple_value: 170 encoded_tuple.tuple_value.values.add().CopyFrom(encode_fn(element)) 177 return tuple(decode_fn(element) for element in value.tuple_value.values)
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_pwd_common.c | 447 struct crypto_ec_point *element; local 457 wpa_printf(MSG_INFO, "EAP-pwd: Invalid coordinate in element"); 461 element = crypto_ec_point_from_bin(group->group, buf); 462 if (!element) { 463 wpa_printf(MSG_INFO, "EAP-pwd: EC point from element failed"); 468 if (!crypto_ec_point_is_on_curve(group->group, element) || 469 crypto_ec_point_is_at_infinity(group->group, element)) { 470 wpa_printf(MSG_INFO, "EAP-pwd: Invalid element"); 475 return element; 477 crypto_ec_point_deinit(element, 0) [all...] |
/external/python/cpython2/Lib/idlelib/ |
configHandler.py | 282 def GetHighlight(self, theme, element, fgBg=None): 283 """Return individual theme element highlight color(s). 295 fore = themeDict[element + '-foreground'] 296 if element == 'cursor': # There is no config value for cursor bg 299 back = themeDict[element + '-background'] 326 # element (other than cursor) even though some values are not 359 for element in theme: 360 if not cfgParser.has_option(themeName, element): 363 ' -\n problem retrieving theme element %r' 366 (element, themeName, theme[element]) [all...] |
/external/skia/modules/pathkit/ |
pathkit_wasm_bindings.cpp | 615 .element(&SimpleMatrix::scaleX) 616 .element(&SimpleMatrix::skewX) 617 .element(&SimpleMatrix::transX) 619 .element(&SimpleMatrix::skewY) 620 .element(&SimpleMatrix::scaleY) 621 .element(&SimpleMatrix::transY) 623 .element(&SimpleMatrix::pers0) 624 .element(&SimpleMatrix::pers1) 625 .element(&SimpleMatrix::pers2); 628 .element(&SkPoint::fX [all...] |
/external/skqp/modules/pathkit/ |
pathkit_wasm_bindings.cpp | 615 .element(&SimpleMatrix::scaleX) 616 .element(&SimpleMatrix::skewX) 617 .element(&SimpleMatrix::transX) 619 .element(&SimpleMatrix::skewY) 620 .element(&SimpleMatrix::scaleY) 621 .element(&SimpleMatrix::transY) 623 .element(&SimpleMatrix::pers0) 624 .element(&SimpleMatrix::pers1) 625 .element(&SimpleMatrix::pers2); 628 .element(&SkPoint::fX [all...] |
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
map_and_batch_test.py | 201 got = self.evaluate([element() for element in elements]) 208 self.evaluate([element() for element in elements]) 236 got = self.evaluate([element() for element in elements]) 243 self.evaluate([element() for element in elements]) 414 def testMapAndBatchTypes(self, element, dtype, numa_aware): 417 yield element [all...] |
/external/toolchain-utils/binary_search_tool/ |
binary_search_perforce.py | 198 element = q.pop(0) 199 if element[1] in self.skipped_indices: 201 to_add = (element[0], (element[0] + element[1]) / 2, element[1]) 204 to_add = (element[1], (element[1] + element[2]) / 2, element[2] [all...] |
/cts/tools/utils/cts/ |
tools.py | 236 element = self.doc.getElementsByTagName(tag)[0] 237 return element.getAttributeNS('http://schemas.android.com/apk/res/android', attr_name) 249 element = self.doc.getElementsByTagName(tag)[0] 250 return element.getAttribute(attr_name)
|
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ |
DefineGrammarItemsWalker.g | 370 : ^( ALT (element)+ EOA ) 386 element 387 : ^(ROOT element) 388 | ^(BANG element) 390 | ^(NOT element) 393 | ^( ASSIGN id=ID el=element) 413 | ^( PLUS_ASSIGN id2=ID a2=element 495 : ^(TREE_BEGIN element+) 592 // copy the element refs in this block to the surrounding block
|