/external/chromium/base/i18n/ |
word_iterator_unittest.cc | 14 WordIterator iter(str, WordIterator::BREAK_WORD); 15 ASSERT_TRUE(iter.Init()); 16 EXPECT_TRUE(iter.Advance()); 17 EXPECT_FALSE(iter.IsWord()); 18 EXPECT_EQ(L" ", iter.GetWord()); 19 EXPECT_TRUE(iter.Advance()); 20 EXPECT_TRUE(iter.IsWord()); 21 EXPECT_EQ(L"foo", iter.GetWord()); 22 EXPECT_TRUE(iter.Advance()); 23 EXPECT_FALSE(iter.IsWord()) [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/chromium/third_party/icu/source/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/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/chromium/base/ |
pickle.cc | 89 bool Pickle::ReadBool(void** iter, bool* result) const { 90 DCHECK(iter); 93 if (!ReadInt(iter, &tmp)) 100 bool Pickle::ReadInt(void** iter, int* result) const { 101 DCHECK(iter); 102 if (!*iter) 103 *iter = const_cast<char*>(payload()); 105 if (!IteratorHasRoomFor(*iter, sizeof(*result))) 110 // Next line is otherwise the same as: memcpy(result, *iter, sizeof(*result)); 111 *result = *reinterpret_cast<int*>(*iter); [all...] |
/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/net/flip/ |
flip_frame_builder.cc | 35 bool FlipFrameBuilder::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 FlipFrameBuilder::ReadUInt32(void** iter, uint32* result) const { 50 DCHECK(iter); 51 if (!*iter) [all...] |
flip_frame_builder.h | 56 // start of the FlipFrameBuilder, initialize *iter to NULL. If successful, 59 bool ReadUInt16(void** iter, uint16* result) const; 60 bool ReadUInt32(void** iter, uint32* result) const; 61 bool ReadString(void** iter, std::string* result) const; 62 bool ReadBytes(void** iter, const char** data, uint16 length) const; 63 bool ReadData(void** iter, const char** data, uint16* length) const; 108 bool IteratorHasRoomFor(const void* iter, int len) const { 109 const char* end_of_region = reinterpret_cast<const char*>(iter) + len; 111 iter < buffer_ || 112 iter > end_of_payload() | [all...] |
/external/chromium/third_party/icu/public/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/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/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/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/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...] |
/external/webkit/WebKit/mac/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/WebKit/chromium/src/ |
WebEventListenerPrivate.cpp | 58 Vector<WebEventListenerPrivate::ListenerInfo>::const_iterator iter;
local 59 for (iter = m_listenerWrappers.begin(); iter != m_listenerWrappers.end(); ++iter) {
60 if (iter->node == node)
61 return iter->eventListenerWrapper;
71 Vector<WebEventListenerPrivate::ListenerInfo>::const_iterator iter;
local 72 for (iter = m_listenerWrappers.begin(); iter != m_listenerWrappers.end(); ++iter)
[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, 205 blkid_dev_iterate iter; local [all...] |
/external/dbus/dbus/ |
dbus-signature.h | 53 void dbus_signature_iter_init (DBusSignatureIter *iter, 56 int dbus_signature_iter_get_current_type (const DBusSignatureIter *iter); 58 char * dbus_signature_iter_get_signature (const DBusSignatureIter *iter); 60 int dbus_signature_iter_get_element_type (const DBusSignatureIter *iter); 62 dbus_bool_t dbus_signature_iter_next (DBusSignatureIter *iter); 64 void dbus_signature_iter_recurse (const DBusSignatureIter *iter,
|
dbus-message-factory.c | 45 iter_recurse (DBusMessageDataIter *iter) 47 iter->depth += 1; 48 _dbus_assert (iter->depth < _DBUS_MESSAGE_DATA_MAX_NESTING); 49 _dbus_assert (iter->sequence_nos[iter->depth] >= 0); 53 iter_get_sequence (DBusMessageDataIter *iter) 55 _dbus_assert (iter->sequence_nos[iter->depth] >= 0); 56 return iter->sequence_nos[iter->depth] 141 DBusMessageIter iter; local [all...] |
dbus-signature.c | 36 unsigned int finished : 1; /**< true if we are at the end iter */ 61 * @param iter pointer to an iterator to initialize 65 dbus_signature_iter_init (DBusSignatureIter *iter, 68 DBusSignatureRealIter *real_iter = (DBusSignatureRealIter *) iter; 86 * @param iter pointer to an iterator 90 dbus_signature_iter_get_current_type (const DBusSignatureIter *iter) 92 DBusSignatureRealIter *real_iter = (DBusSignatureRealIter *) iter; 106 * @param iter pointer to an iterator 110 dbus_signature_iter_get_signature (const DBusSignatureIter *iter) 112 DBusSignatureRealIter *real_iter = (DBusSignatureRealIter *) iter; 259 DBusSignatureIter iter; local 371 DBusSignatureIter iter; local [all...] |
/external/skia/src/views/ |
SkOSMenu.cpp | 31 const Item* iter = fItems.begin(); local 34 while (iter < stop) 36 if (iter->fOSCmd == os_cmd) 38 SkEvent* evt = new SkEvent(iter->fEventType); 39 evt->setFast32(iter->fEventData); 42 iter++;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
GLShape.java | 38 Iterator<GLFace> iter = mFaceList.iterator(); local 39 while (iter.hasNext()) { 40 GLFace face = iter.next(); 47 Iterator<GLFace> iter = mFaceList.iterator(); local 48 while (iter.hasNext()) { 49 GLFace face = iter.next(); 58 Iterator<GLVertex> iter = mVertexList.iterator(); local 59 while (iter.hasNext()) { 60 GLVertex vertex = iter.next(); 78 Iterator<GLVertex> iter = mVertexList.iterator() local [all...] |
/external/chromium/net/base/ |
ssl_client_auth_cache.cc | 10 AuthCacheMap::iterator iter = cache_.find(server); local 11 return (iter == cache_.end()) ? NULL : iter->second;
|
/external/webkit/WebCore/bindings/js/ |
JSConsoleCustom.cpp | 49 for (ProfilesArray::const_iterator iter = profiles.begin(); iter != end; ++iter) 50 list.append(toJS(exec, iter->get()));
|