/external/chromium/base/i18n/ |
break_iterator_unittest.cc | 14 base::BreakIterator iter(&empty, base::BreakIterator::BREAK_WORD); 15 ASSERT_TRUE(iter.Init()); 16 EXPECT_FALSE(iter.Advance()); 17 EXPECT_FALSE(iter.IsWord()); 18 EXPECT_FALSE(iter.Advance()); // Test unexpected advance after end. 19 EXPECT_FALSE(iter.IsWord()); 25 base::BreakIterator iter(&str, base::BreakIterator::BREAK_WORD); 26 ASSERT_TRUE(iter.Init()); 27 EXPECT_TRUE(iter.Advance()); 28 EXPECT_FALSE(iter.IsWord()) [all...] |
char_iterator_unittest.cc | 22 UTF8CharIterator iter(&str); 23 ASSERT_FALSE(iter.end()); 24 ASSERT_EQ(0, iter.array_pos()); 25 ASSERT_EQ(0, iter.char_pos()); 26 ASSERT_EQ('s', iter.get()); 27 ASSERT_TRUE(iter.Advance()); 29 ASSERT_FALSE(iter.end()); 30 ASSERT_EQ(1, iter.array_pos()); 31 ASSERT_EQ(1, iter.char_pos()); 32 ASSERT_EQ(251, iter.get()) [all...] |
/external/chromium/chrome/browser/notifications/ |
balloon_collection_base.cc | 26 Balloons::iterator iter; local 27 for (iter = balloons_.begin(); iter != balloons_.end(); ++iter) { 28 if ((*iter) == balloon) { 29 balloons_.erase(iter); 39 Balloons::iterator iter; local 40 for (iter = balloons_.begin(); iter != balloons_.end(); ++iter) { 55 Balloons::iterator iter; local 77 Balloons::iterator iter; local [all...] |
/external/icu4c/samples/uciter8/ |
uit_len8.c | 110 lenient8IteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { 116 if(iter->index<0) { 122 s=(const uint8_t *)iter->context; 124 limit=iter->start; /* count up to the UTF-8 index */ 134 iter->start=i; /* just in case setState() did not get us to a code point boundary */ 135 if(i==iter->limit) { 136 iter->length=index; /* in case it was <0 or wrong */ 138 if(iter->reservedField!=0) { 141 iter->index=index; 143 return iter->index [all...] |
uit_len8.h | 27 uiter_setLenient8(UCharIterator *iter, const char *s, int32_t length);
|
/external/icu4c/common/ |
uiter.cpp | 34 noopGetIndex(UCharIterator * /*iter*/, UCharIteratorOrigin /*origin*/) { 39 noopMove(UCharIterator * /*iter*/, int32_t /*delta*/, UCharIteratorOrigin /*origin*/) { 44 noopHasNext(UCharIterator * /*iter*/) { 49 noopCurrent(UCharIterator * /*iter*/) { 54 noopGetState(const UCharIterator * /*iter*/) { 59 noopSetState(UCharIterator * /*iter*/, uint32_t /*state*/, UErrorCode *pErrorCode) { 87 stringIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { 92 return iter->start; 94 return iter->index; 96 return iter->limit [all...] |
/external/skia/src/utils/ |
SkNWayCanvas.cpp | 32 class SkNWayCanvas::Iter { 34 Iter(const SkTDArray<SkCanvas*>& list) : fList(list) { 53 Iter iter(fList); 54 while (iter.next()) { 55 iter->save(flags); 62 Iter iter(fList); 63 while (iter.next()) { 64 iter->saveLayer(bounds, paint, flags) [all...] |
/external/webkit/Source/WebCore/platform/network/ |
BlobRegistryImpl.cpp | 87 for (BlobDataItemList::const_iterator iter = items.begin(); iter != items.end(); ++iter) { 88 if (iter->type == BlobDataItem::Data) 89 blobStorageData->m_data.appendData(iter->data, iter->offset, iter->length); 91 ASSERT(iter->type == BlobDataItem::File); 92 blobStorageData->m_data.appendFile(iter->path, iter->offset, iter->length, iter->expectedModificationTime) 101 BlobDataItemList::const_iterator iter = items.begin(); local [all...] |
/external/e2fsprogs/lib/blkid/ |
dev.c | 115 blkid_dev_iterate iter; local 117 iter = malloc(sizeof(struct blkid_struct_dev_iterate)); 118 if (iter) { 119 iter->magic = DEV_ITERATE_MAGIC; 120 iter->cache = cache; 121 iter->p = cache->bic_devs.next; 122 iter->search_type = 0; 123 iter->search_value = 0; 125 return (iter); 128 extern int blkid_dev_set_search(blkid_dev_iterate iter, 201 blkid_dev_iterate iter; local [all...] |
/external/chromium/chrome/common/extensions/ |
extension_icon_set.cc | 30 for (IconMap::const_reverse_iterator iter = map_.rbegin(); 31 iter != map_.rend(); ++iter) { 32 if (iter->first <= size) { 33 result = iter; 41 for (IconMap::const_iterator iter = map_.begin(); iter != map_.end(); 42 ++iter) { 43 if (iter->first >= size) { 44 result = iter; [all...] |
/external/llvm/utils/ |
plotNLT.pl | 23 for ($iter = 0; $iter < $count; $iter++) { 24 if ($iter) 31 for ($iter = 0; $iter < $count; $iter++) {
|
cgiplotNLT.pl | 37 for ($iter = 0; $iter < $count; $iter++) { 38 if ($iter) 40 print CMDSTREAM " '-' using 1:2 title \"" . $q->param('t' . $iter) . "," . $q->param('n' . $iter) . "\"with lines"; 45 for ($iter = 0; $iter < $count; $iter++) { 47 $prog = $q->param('n' . $iter); [all...] |
/external/clang/test/SemaCXX/ |
for-range-no-std.cpp | 17 struct iter { struct in namespace:NS 19 bool operator!=(iter); 22 iter begin(ADL); // expected-note {{not viable}} 23 iter end(ADL); 27 NS::iter begin(NS::NoADL); // expected-note {{not viable}} 28 NS::iter end(NS::NoADL);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/ |
unique_copy.h | 98 for (InputIterator iter = first + begin; iter < first + end; ++iter) 100 if (!binary_pred(*iter, *(iter-1))) 103 *out++ = *iter; 112 for (InputIterator iter = first + begin; iter < first + end; ++iter) 114 if (!binary_pred(*iter, *(iter - 1)) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_info_map.cc | 28 Map::iterator iter = disabled_extension_info_.find(extension->id()); local 29 if (iter != disabled_extension_info_.end()) 30 disabled_extension_info_.erase(iter); 36 Map::iterator iter = extension_info_.find(id); local 37 if (iter != extension_info_.end()) { 39 disabled_extension_info_[id] = (*iter).second; 40 extension_info_.erase(iter); 56 Map::const_iterator iter = extension_info_.find(id); local 57 if (iter != extension_info_.end()) 58 return iter->second->name() 64 Map::const_iterator iter = extension_info_.find(id); local 73 Map::const_iterator iter = disabled_extension_info_.find(id); local 81 Map::const_iterator iter = extension_info_.find(id); local 88 Map::const_iterator iter = extension_info_.find(id); local 95 Map::const_iterator iter = extension_info_.find(id); local 105 Map::const_iterator iter = extension_info_.find(id); local 139 Map::const_iterator iter = extension_info_.find(url.host()); local [all...] |
/external/skia/gpu/include/ |
GrClipIterator.h | 71 * Call to move to the next element in the list, previous path iter can be 78 * Call to rewind iter, first checking to see if iter is NULL 80 static inline void GrSafeRewind(GrClipIterator* iter) { 81 if (iter) { 82 iter->rewind();
|
/external/javassist/src/main/javassist/bytecode/analysis/ |
SubroutineScanner.java | 43 CodeIterator iter = code.iterator(); local 49 scan(0, iter, null); 56 scan(handler, iter, subroutines[exceptions.startPc(i)]); 62 private void scan(int pos, CodeIterator iter, Subroutine sub) throws BadBytecode { 69 int old = iter.lookAhead(); 70 iter.move(pos); 74 pos = iter.next(); 75 next = scanOp(pos, iter, sub) && iter.hasNext(); 78 iter.move(old) [all...] |
/external/chromium/base/ |
pickle.cc | 99 bool Pickle::ReadBool(void** iter, bool* result) const { 100 DCHECK(iter); 103 if (!ReadInt(iter, &tmp)) 110 bool Pickle::ReadInt(void** iter, int* result) const { 111 DCHECK(iter); 112 if (!*iter) 113 *iter = const_cast<char*>(payload()); 115 if (!IteratorHasRoomFor(*iter, sizeof(*result))) 120 // Next line is otherwise the same as: memcpy(result, *iter, sizeof(*result)); 121 *result = *reinterpret_cast<int*>(*iter); [all...] |
/external/chromium/net/spdy/ |
spdy_frame_builder.cc | 35 bool SpdyFrameBuilder::ReadUInt16(void** iter, uint16* result) const { 36 DCHECK(iter); 37 if (!*iter) 38 *iter = const_cast<char*>(buffer_); 40 if (!IteratorHasRoomFor(*iter, sizeof(*result))) 43 *result = ntohs(*(reinterpret_cast<uint16*>(*iter))); 45 UpdateIter(iter, sizeof(*result)); 49 bool SpdyFrameBuilder::ReadUInt32(void** iter, uint32* result) const { 50 DCHECK(iter); 51 if (!*iter) [all...] |
/external/chromium/chrome/browser/autofill/ |
form_group.cc | 32 for (FieldTypeSet::const_iterator iter = types.begin(); iter != types.end(); 33 ++iter) { 34 if (StringToLowerASCII(GetInfo(*iter)) != 35 StringToLowerASCII(form_group.GetInfo(*iter))) 55 for (FieldTypeSet::const_iterator iter = intersection.begin(); 56 iter != intersection.end(); ++iter) { 57 if (StringToLowerASCII(GetInfo(*iter)) != 58 StringToLowerASCII(form_group.GetInfo(*iter))) [all...] |
/external/chromium/chrome/browser/net/ |
quoted_printable.cc | 26 for (std::string::const_iterator iter = input.begin(); 27 iter != input.end(); ++iter) { 28 bool last_char = (iter + 1 == input.end()); 29 char c = *iter; 40 !IsEOL(iter + 1, input)) { 46 int eol_len = IsEOL(iter, input); 50 iter += (eol_len - 1); // -1 because we'll ++ in the for() above. 78 for (std::string::const_iterator iter = input.begin(); 79 iter!= input.end(); ++iter) [all...] |
/external/icu4c/common/unicode/ |
uiter.h | 96 * @param iter the UCharIterator structure ("this pointer") 105 UCharIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin); 110 * Use iter->move(iter, index, UITER_ZERO) like CharacterIterator::setIndex(index). 130 * @param iter the UCharIterator structure ("this pointer") 142 UCharIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin); 150 * @param iter the UCharIterator structure ("this pointer") 157 UCharIteratorHasNext(UCharIterator *iter); 164 * @param iter the UCharIterator structure ("this pointer") 171 UCharIteratorHasPrevious(UCharIterator *iter); [all...] |
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
uiter.h | 96 * @param iter the UCharIterator structure ("this pointer") 105 UCharIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin); 110 * Use iter->move(iter, index, UITER_ZERO) like CharacterIterator::setIndex(index). 130 * @param iter the UCharIterator structure ("this pointer") 142 UCharIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin); 150 * @param iter the UCharIterator structure ("this pointer") 157 UCharIteratorHasNext(UCharIterator *iter); 164 * @param iter the UCharIterator structure ("this pointer") 171 UCharIteratorHasPrevious(UCharIterator *iter); [all...] |
/external/webkit/Source/JavaScriptGlue/icu/unicode/ |
uiter.h | 96 * @param iter the UCharIterator structure ("this pointer") 105 UCharIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin); 110 * Use iter->move(iter, index, UITER_ZERO) like CharacterIterator::setIndex(index). 130 * @param iter the UCharIterator structure ("this pointer") 142 UCharIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin); 150 * @param iter the UCharIterator structure ("this pointer") 157 UCharIteratorHasNext(UCharIterator *iter); 164 * @param iter the UCharIterator structure ("this pointer") 171 UCharIteratorHasPrevious(UCharIterator *iter); [all...] |
/external/webkit/Source/WebCore/icu/unicode/ |
uiter.h | 96 * @param iter the UCharIterator structure ("this pointer") 105 UCharIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin); 110 * Use iter->move(iter, index, UITER_ZERO) like CharacterIterator::setIndex(index). 130 * @param iter the UCharIterator structure ("this pointer") 142 UCharIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin); 150 * @param iter the UCharIterator structure ("this pointer") 157 UCharIteratorHasNext(UCharIterator *iter); 164 * @param iter the UCharIterator structure ("this pointer") 171 UCharIteratorHasPrevious(UCharIterator *iter); [all...] |