/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.fill/ |
fill_n.pass.cpp | 12 // template<class Iter, IntegralLike Size, class T> 13 // requires OutputIterator<Iter, const T&> 15 // fill_n(Iter first, Size n, const T& value); 22 template <class Iter> 28 assert(std::fill_n(Iter(ca), n, char(1)) == std::next(Iter(ca), n)); 35 template <class Iter> 41 assert(std::fill_n(Iter(ia), n, 1) == std::next(Iter(ia), n));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/iterator.primitives/iterator.operations/ |
advance.pass.cpp | 12 // template <InputIterator Iter> 13 // void advance(Iter& i, Iter::difference_type n); 15 // template <BidirectionalIterator Iter> 16 // void advance(Iter& i, Iter::difference_type n); 18 // template <RandomAccessIterator Iter> 19 // void advance(Iter& i, Iter::difference_type n);
|
/external/chromium/chrome/browser/automation/ |
automation_provider_list.cc | 18 iterator iter = automation_providers_.begin(); local 19 while (iter != automation_providers_.end()) { 20 (*iter)->Release(); 21 iter = automation_providers_.erase(iter);
|
/external/chromium/chrome/browser/notifications/ |
notification_ui_manager.cc | 108 NotificationDeque::iterator iter; local 109 for (iter = show_queue_.begin(); iter != show_queue_.end(); ++iter) { 110 if ((*iter)->notification().notification_id() == id) { 111 show_queue_.erase(iter); 123 NotificationDeque::iterator iter; local 124 for (iter = show_queue_.begin(); iter != show_queue_.end();) { 125 if ((*iter)->notification().origin_url() == source) [all...] |
/external/chromium/chrome/browser/ui/webui/options/ |
font_settings_utils_gtk.cc | 29 for (std::set<std::string>::const_iterator iter = sorted_families.begin(); 30 iter != sorted_families.end(); ++iter) { 32 font_item->Append(Value::CreateStringValue(*iter)); 33 font_item->Append(Value::CreateStringValue(*iter)); // localized name.
|
/external/chromium_org/chrome/browser/ui/gtk/extensions/ |
media_galleries_dialog_gtk.cc | 100 for (GalleryPermissionsVector::const_iterator iter = permissions.begin(); 101 iter != permissions.end(); ++iter) { 102 UpdateGalleryInContainer(iter->pref_info, iter->allowed, 123 for (GalleryPermissionsVector::const_iterator iter = 125 iter != unattached_permissions.end(); ++iter) { 126 UpdateGalleryInContainer(iter->pref_info, iter->allowed [all...] |
/external/chromium_org/chrome/common/extensions/features/ |
base_feature_provider.cc | 100 for (base::DictionaryValue::Iterator iter(root); !iter.IsAtEnd(); 101 iter.Advance()) { 102 if (iter.value().GetType() == base::Value::TYPE_DICTIONARY) { 106 base::SplitString(iter.key(), '.', &split); 144 features_[iter.key()] = feature; 145 } else if (iter.value().GetType() == base::Value::TYPE_LIST) { 148 static_cast<const base::ListValue*>(&iter.value()); 158 LOG(ERROR) << iter.key() << ": Feature rules must be dictionaries."; 164 iter.key() 202 FeatureMap::iterator iter = features_.find(name); local [all...] |
/external/chromium_org/components/nacl/browser/ |
nacl_validation_cache.h | 46 ValidationCacheType::const_iterator iter = validation_cache_.begin(); local 47 for (iter = validation_cache_.begin(); 48 iter != validation_cache_.end(); 49 iter++) { 50 contents.push_back(iter->first);
|
/external/chromium_org/content/common/ |
font_list_pango.cc | 31 for (std::set<std::string>::const_iterator iter = sorted_families.begin(); 32 iter != sorted_families.end(); ++iter) { 34 font_item->Append(new base::StringValue(*iter)); 35 font_item->Append(new base::StringValue(*iter)); // localized name.
|
/external/chromium_org/ipc/ |
ipc_message_utils.cc | 53 bool ReadValue(const Message* m, PickleIterator* iter, base::Value** value, 129 bool ReadDictionaryValue(const Message* m, PickleIterator* iter, 132 if (!ReadParam(m, iter, &size)) 138 if (!ReadParam(m, iter, &key) || 139 !ReadValue(m, iter, &subval, recursion + 1)) 149 bool ReadListValue(const Message* m, PickleIterator* iter, 152 if (!ReadParam(m, iter, &size)) 157 if (!ReadValue(m, iter, &subval, recursion + 1)) 165 bool ReadValue(const Message* m, PickleIterator* iter, base::Value** value, 173 if (!ReadParam(m, iter, &type) [all...] |
param_traits_read_macros.h | 27 Read(const Message* m, PickleIterator* iter, param_type* p) { \ 29 #define IPC_STRUCT_TRAITS_MEMBER(name) ReadParam(m, iter, &p->name) && 30 #define IPC_STRUCT_TRAITS_PARENT(type) ParamTraits<type>::Read(m, iter, p) && 36 Read(const Message* m, PickleIterator* iter, param_type* p) { \ 38 if (!m->ReadInt(iter, &value)) \
|
/external/chromium_org/ppapi/proxy/ |
ppapi_message_utils.h | 74 PickleIterator iter(msg); 75 return IPC::ReadParam(&msg, &iter, a); 84 PickleIterator iter(msg); 85 return IPC::ReadParam(&msg, &iter, a) && IPC::ReadParam(&msg, &iter, b); 94 PickleIterator iter(msg); 95 return IPC::ReadParam(&msg, &iter, a) && 96 IPC::ReadParam(&msg, &iter, b) && 97 IPC::ReadParam(&msg, &iter, c); 106 PickleIterator iter(msg) [all...] |
/external/chromium_org/ppapi/shared_impl/ |
ppb_resource_array_shared.cc | 32 for (std::vector<PP_Resource>::iterator iter = resources_.begin(); 33 iter != resources_.end(); ++iter) { 34 if (*iter) 35 PpapiGlobals::Get()->GetResourceTracker()->ReleaseResource(*iter);
|
/external/e2fsprogs/lib/ext2fs/ |
badblocks.c | 239 ext2_u32_iterate iter; local 244 retval = ext2fs_get_mem(sizeof(struct ext2_struct_u32_iterate), &iter); 248 iter->magic = EXT2_ET_MAGIC_BADBLOCKS_ITERATE; 249 iter->bb = bb; 250 iter->ptr = 0; 251 *ret = iter; 263 int ext2fs_u32_list_iterate(ext2_u32_iterate iter, __u32 *blk) 267 if (iter->magic != EXT2_ET_MAGIC_BADBLOCKS_ITERATE) 270 bb = iter->bb; 275 if (iter->ptr < bb->num) [all...] |
/external/libvpx/libvpx/vpx_mem/memory_manager/include/ |
cavl_impl.h | 910 L_SC void L_(init_iter)(L_(iter) *iter) { 911 iter->depth = ~0; 919 { if (AVL_READ_ERROR) { iter->depth = ~0; return; } } 930 L_(avl) *l_tree, L_(iter) *iter, AVL_KEY k, avl_search_type st) { 937 iter->tree_ = l_tree; 939 iter->depth = ~0; 961 iter->depth = d; 969 iter->depth = d [all...] |
/external/chromium_org/v8/test/mjsunit/harmony/ |
iteration-semantics.js | 75 function fold(cons, seed, iter) { 76 for (var x of iter) { 82 function* take(iter, n) { 84 for (let x of iter) { 90 function nth(iter, n) { 91 for (let x of iter) { 97 function* skip_every(iter, n) { 99 for (let x of iter) { 105 function* iter_map(iter, f) { 106 for (var x of iter) { [all...] |
/external/protobuf/src/google/protobuf/ |
repeated_field_unittest.cc | 565 RepeatedField<int>::iterator iter = proto_array_.begin(); local 566 RepeatedField<int>::const_iterator c_iter = iter; 571 RepeatedField<int>::iterator iter = proto_array_.begin(); local 572 EXPECT_EQ(0, *iter); 573 ++iter; 574 EXPECT_EQ(1, *iter++); 575 EXPECT_EQ(2, *iter); 576 ++iter; 577 EXPECT_TRUE(proto_array_.end() == iter); 584 RepeatedField<int>::const_iterator iter = const_proto_array.begin() local 595 RepeatedField<int>::iterator iter = proto_array_.begin(); local 614 RepeatedPtrField<string>::iterator iter = proto_array_.begin(); local 619 RepeatedPtrField<string>::iterator iter = proto_array_.begin(); local 631 RepeatedPtrField<string>::const_iterator iter = const_proto_array.begin(); local 642 RepeatedPtrField<string>::iterator iter = proto_array_.begin(); local 654 RepeatedPtrField<string>::const_iterator iter = proto_array_.begin(); local 668 RepeatedPtrField<string>::iterator iter; local 695 RepeatedPtrField<string>::iterator iter = proto_array_.begin(); local 714 RepeatedPtrField<string>::pointer_iterator iter = local 719 RepeatedPtrField<string>::pointer_iterator iter = local 731 RepeatedPtrField<string>::pointer_iterator iter = local 744 RepeatedPtrField<string>::pointer_iterator iter = local 760 RepeatedPtrField<string>::pointer_iterator iter; local 792 RepeatedPtrField<string>::pointer_iterator iter = local 806 RepeatedPtrField<string>::pointer_iterator iter = local [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
citrtest.cpp | 382 StringCharacterIterator iter(text, 5); 385 iter.getText(iterText); 387 errln("iter.getText() failed"); 389 if (iter.current() != text[(int32_t)5]) 392 c = iter.first(); 395 if (iter.startIndex() != 0 || iter.endIndex() != text.length()) 407 if (iter.current() != c) 409 if (iter.getIndex() != i) 413 c = iter.next() [all...] |
/external/icu4c/test/intltest/ |
citrtest.cpp | 383 StringCharacterIterator iter(text, 5); 386 iter.getText(iterText); 388 errln("iter.getText() failed"); 390 if (iter.current() != text[(int32_t)5]) 393 c = iter.first(); 396 if (iter.startIndex() != 0 || iter.endIndex() != text.length()) 408 if (iter.current() != c) 410 if (iter.getIndex() != i) 414 c = iter.next() [all...] |
/external/chromium_org/chrome/common/extensions/ |
extension_messages.cc | 68 static bool Read(const Message* m, PickleIterator* iter, param_type* p) { 70 if (!ReadParam(m, iter, &val) || 87 bool ParamTraits<URLPattern>::Read(const Message* m, PickleIterator* iter, 91 if (!ReadParam(m, iter, &valid_schemes) || 92 !ReadParam(m, iter, &spec)) 114 bool ParamTraits<URLPatternSet>::Read(const Message* m, PickleIterator* iter, 117 if (!ReadParam(m, iter, &patterns)) 136 const Message* m, PickleIterator* iter, param_type* p) { 138 if (!ReadParam(m, iter, &api_id)) 167 const Message* m, PickleIterator* iter, param_type* r) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_keymap.c | 75 hash_table_item(struct cso_hash_iter iter) 77 return (struct keymap_item *) cso_hash_iter_data(iter); 150 struct cso_hash_iter iter; local 153 iter = cso_hash_find(map->cso, key_hash); 154 while (!cso_hash_iter_is_null(iter)) { 155 item = (struct keymap_item *) cso_hash_iter_data(iter); 158 iter = cso_hash_iter_next(iter); 161 return iter; 169 struct cso_hash_iter iter = hash_table_find_iter(map, key, key_hash) local 193 struct cso_hash_iter iter; local 260 struct cso_hash_iter iter; local 294 struct cso_hash_iter iter; local [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkTDArray.h | 225 const T* iter = fArray; 228 for (; iter < stop; iter++) { 229 if (*iter == elem) { 230 return (int) (iter - fArray); 237 const T* iter = fArray + fCount; 240 while (iter > stop) { 241 if (*--iter == elem) { 242 return iter - stop; 283 T* iter = fArray local 293 T* iter = fArray; local 303 T* iter = fArray; local 313 T* iter = fArray; local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_keymap.c | 75 hash_table_item(struct cso_hash_iter iter) 77 return (struct keymap_item *) cso_hash_iter_data(iter); 150 struct cso_hash_iter iter; local 153 iter = cso_hash_find(map->cso, key_hash); 154 while (!cso_hash_iter_is_null(iter)) { 155 item = (struct keymap_item *) cso_hash_iter_data(iter); 158 iter = cso_hash_iter_next(iter); 161 return iter; 169 struct cso_hash_iter iter = hash_table_find_iter(map, key, key_hash) local 193 struct cso_hash_iter iter; local 260 struct cso_hash_iter iter; local 294 struct cso_hash_iter iter; local [all...] |
/external/openfst/src/include/fst/ |
string-weight.h | 77 template <typename Iter> 78 StringWeight(const Iter &begin, const Iter &end) { 80 for (Iter iter = begin; iter != end; ++iter) 81 PushBack(*iter); 250 for (StringWeightIterator<L, S> iter(*this); !iter.Done(); iter.Next()) [all...] |
/external/pixman/pixman/ |
pixman-linear-gradient.c | 92 linear_get_scanline_narrow (pixman_iter_t *iter, 95 pixman_image_t *image = iter->image; 96 int x = iter->x; 97 int y = iter->y; 98 int width = iter->width; 99 uint32_t * buffer = iter->buffer; 119 return iter->buffer; 220 iter->y++; 222 return iter->buffer; 226 linear_get_scanline_wide (pixman_iter_t *iter, const uint32_t *mask [all...] |