Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 798) sorted by relevance

12345678910>>...32

/external/astl/include/
Dalgorithm69 // fill the range [begin, end) with copies of value, return nothing.
70 // fill_n the range [begin, begin + n) with copies of value, return
71 // the pointer at begin + n.
74 // begin and end params. Fix this when iterator are defined.
79 template<typename _T> static void fill(_T *begin, const _T *end,
82 for (; begin < end; ++begin)
83 *begin = value;
89 template<typename _T> static void fill(_T *begin, const _T *end,
94 for (; begin < end; ++begin)
95 *begin = tmp;
[all …]
Dmemory54 static _ForwardIterator *uninitialized_copy(const _InputIterator *begin,
59 for (; begin < end; ++begin, ++dest)
60 new (static_cast<void*>(dest)) _ForwardIterator(*begin);
68 static _ForwardIterator *uninitialized_copy(const _InputIterator *begin,
72 const ptrdiff_t len = end - begin;
79 static_cast<const void*>(begin), kSize * len);
87 inline _ForwardIterator* uninitialized_copy(const _InputIterator *begin,
93 return __uninitialized_copy<both_pod>::uninitialized_copy(begin, end, dest);
104 static void uninitialized_fill(_ForwardIterator *begin,
108 for (; begin < end; ++begin)
[all …]
/external/icu4c/common/
Dchariter.cpp22 : textLength(0), pos(0), begin(0), end(0) { in CharacterIterator()
26 : textLength(length), pos(0), begin(0), end(length) { in CharacterIterator()
33 : textLength(length), pos(position), begin(0), end(length) { in CharacterIterator()
45 : textLength(length), pos(position), begin(textBegin), end(textEnd) { in CharacterIterator()
49 if(begin < 0) { in CharacterIterator()
50 begin = 0; in CharacterIterator()
51 } else if(begin > textLength) { in CharacterIterator()
52 begin = textLength; in CharacterIterator()
54 if(end < begin) { in CharacterIterator()
55 end = begin; in CharacterIterator()
[all …]
Duchriter.cpp79 && begin == realThat.begin in operator ==()
85 return uhash_hashUCharsN(text, textLength) ^ pos ^ begin ^ end; in hashCode()
95 pos = begin; in first()
105 pos = begin; in firstPostInc()
116 if(pos > begin) { in last()
125 if(position < begin) { in setIndex()
126 pos = begin; in setIndex()
141 if (pos >= begin && pos < end) { in current()
175 if (pos > begin) { in previous()
184 return (UBool)(pos > begin ? TRUE : FALSE); in hasPrevious()
[all …]
/external/bison/data/
Dlocation.cc103 operator+ (const position& begin, const int width)
105 position res = begin;
118 operator- (const position& begin, const int width)
120 return begin + -width;
163 : begin (), end ()
171 begin.initialize (fn);
172 end = begin;
181 begin = end;
200 position begin;
206 inline const location operator+ (const location& begin, const location& end)
[all …]
/external/opencore/codecs_v2/omx/omx_proxy/src/
Domx_proxy_vector.h91 uninitialized_copy(x.begin(), x.end(), begin()); in Oscl_Vector_New()
98 destroy(begin(), end()); in ~Oscl_Vector_New()
110 T* tmp = defAlloc.ALLOCATE(x.end() - x.begin());
111 uninitialized_copy(x.begin(), x.end(), tmp);
112 destroy(begin(), end());
120 iterator i = copy(x.begin(), x.end(), begin());
125 copy(x.begin(), x.begin() + size(), begin());
126 uninitialized_copy(x.begin() + size(), x.end(), end());
184 erase(begin(), end()); in clear()
189 return (*(begin() + n));
[all …]
/external/webkit/JavaScriptCore/wtf/
DVector.h78 static void destruct(T* begin, T* end)
80 for (T* cur = begin; cur != end; ++cur)
97 static void initialize(T* begin, T* end)
99 for (T* cur = begin; cur != end; ++cur)
107 static void initialize(T* begin, T* end)
109 memset(begin, 0, reinterpret_cast<char*>(end) - reinterpret_cast<char*>(begin));
234 static void destruct(T* begin, T* end)
236 VectorDestructor<VectorTraits<T>::needsDestruction, T>::destruct(begin, end);
239 static void initialize(T* begin, T* end)
241 …aits<T>::needsInitialization, VectorTraits<T>::canInitializeWithMemset, T>::initialize(begin, end);
[all …]
/external/opencore/oscl/unit_test/src/
Dunit_test_vector.h130 uninitialized_copy(x.begin(), x.end(), begin()); in UnitTest_Vector()
140 destroy(begin(), end()); in ~UnitTest_Vector()
155 T* tmp = defAlloc.allocate(x.end() - x.begin());
156 uninitialized_copy(x.begin(), x.end(), tmp);
157 destroy(begin(), end());
164 iterator i = copy(x.begin(), x.end(), begin());
169 copy(x.begin(), x.begin() + size(), begin());
170 uninitialized_copy(x.begin() + size(), x.end(), end());
253 return (*(begin() + n));
262 return (*(begin() + n));
[all …]
/external/skia/src/animator/
DSkDrawGroup.cpp47 for (SkDrawable** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { in ~SkGroup()
73 for (SkDrawable** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { in contains()
94 for (SkDrawable** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { in deepCopy()
104 for (SkDrawable** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { in doEvent()
116 for (SkDrawable** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { in draw()
147 for (SkDrawable** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { in dumpDrawables()
165 for (SkDrawable** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { in dumpEvents()
174 for (SkDrawable** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { in enable()
186 for (SkDrawable** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { in findGroup()
196 return (int) (ptr - fChildren.begin()); in findGroup()
[all …]
/external/webkit/WebCore/page/animation/
DCompositeAnimation.cpp54 …for (CSSPropertyTransitionsMap::const_iterator it = m_transitions.begin(); it != transitionsEnd; +… in clearRenderer()
61 …for (AnimationNameMap::const_iterator it = m_keyframeAnimations.begin(); it != animationsEnd; ++it… in clearRenderer()
77 for (CSSPropertyTransitionsMap::const_iterator it = m_transitions.begin(); it != end; ++it) in updateTransitions()
172 for (CSSPropertyTransitionsMap::const_iterator it = m_transitions.begin(); it != end; ++it) { in updateTransitions()
194 … for (AnimationNameMap::const_iterator it = m_keyframeAnimations.begin(); it != kfend; ++it) { in updateKeyframeAnimations()
200 for (AnimationNameMap::const_iterator it = m_keyframeAnimations.begin(); it != kfend; ++it) in updateKeyframeAnimations()
247 for (AnimationNameMap::const_iterator it = m_keyframeAnimations.begin(); it != kfend; ++it) { in updateKeyframeAnimations()
271 … for (CSSPropertyTransitionsMap::const_iterator it = m_transitions.begin(); it != end; ++it) { in animate()
280 …for (Vector<AtomicStringImpl*>::const_iterator it = m_keyframeAnimationOrderMap.begin(); it != m_k… in animate()
293 for (CSSPropertyTransitionsMap::const_iterator it = m_transitions.begin(); it != end; ++it) { in getAnimatedStyle()
[all …]
/external/webkit/V8Binding/v8/src/
Ddisassembler.cc44 void Disassembler::Dump(FILE* f, byte* begin, byte* end) { in Dump() argument
45 for (byte* pc = begin; pc < end; pc++) { in Dump()
47 PrintF("%" V8PRIxPTR " %4" V8PRIdPTR " %02x\n", pc, pc - begin, *pc); in Dump()
50 reinterpret_cast<uintptr_t>(pc), pc - begin, *pc); in Dump()
109 byte* begin, in DecodeIt() argument
117 byte* pc = begin; in DecodeIt()
151 ptr - begin); in DecodeIt()
191 out.AddFormatted("%p %4d ", prev_pc, prev_pc - begin); in DecodeIt()
292 return pc - begin; in DecodeIt()
296 int Disassembler::Decode(FILE* f, byte* begin, byte* end) { in Decode() argument
[all …]
/external/opencore/oscl/oscl/osclbase/src/
Doscl_vector.cpp82 uninitialized_copy(x.begin(), x.end(), begin()); in construct()
116 pOpaqueType->construct(begin(), x); in push_front()
171 OsclAny* tmp = pOpaqueType->allocate((uint32)x.end() - (uint32)x.begin()); in assign_vector()
172 uninitialized_copy(x.begin(), x.end(), tmp); in assign_vector()
173 destroy(begin(), end()); in assign_vector()
181 OsclAny* i = copy(x.begin(), x.end(), begin()); in assign_vector()
186 copy(x.begin(), increment_T(x.begin(), size()), begin()); in assign_vector()
187 uninitialized_copy(increment_T(x.begin(), size()), x.end(), end()); in assign_vector()
196 destroy(begin(), end()); in destroy()
/external/skia/src/images/
DSkImageDecoder_libico.cpp41 #define readByte(buffer,begin) buffer[begin] argument
42 #define read2Bytes(buffer,begin) buffer[begin]+(buffer[begin+1]<<8) argument
43 #define read4Bytes(buffer,begin) buffer[begin]+(buffer[begin+1]<<8)+(buffer[begin+2]<<16)+(buffer[b… argument
111 chooser->begin(count); in onDecode()
206 int begin = offset + 40; in onDecode() local
217 blue = readByte(buf, begin + 4*j); in onDecode()
218 green = readByte(buf, begin + 4*j + 1); in onDecode()
219 red = readByte(buf, begin + 4*j + 2); in onDecode()
229 int xorOffset = begin + colorCount*4; //beginning of the color bitmap in onDecode()
/external/bluetooth/glib/glib/
Dgrand.c418 g_rand_int_range (GRand* rand, gint32 begin, gint32 end) in g_rand_int_range() argument
420 guint32 dist = end - begin; in g_rand_int_range()
423 g_return_val_if_fail (rand != NULL, begin); in g_rand_int_range()
424 g_return_val_if_fail (end > begin, begin); in g_rand_int_range()
484 return begin + random; in g_rand_int_range()
524 g_rand_double_range (GRand* rand, gdouble begin, gdouble end) in g_rand_double_range() argument
526 return g_rand_double (rand) * (end - begin) + begin; in g_rand_double_range()
561 g_random_int_range (gint32 begin, gint32 end) in g_random_int_range() argument
568 result = g_rand_int_range (global_random, begin, end); in g_random_int_range()
603 g_random_double_range (gdouble begin, gdouble end) in g_random_double_range() argument
[all …]
/external/srec/srec/ca/
Dann_api.c391 hAnnotation->data->tcp[ii].begin, in CA_SegmentUtterance()
392 hAnnotation->data->tcp[ii].begin in CA_SegmentUtterance()
430 if (hAnnotation->data->tcp[0].begin in CA_SegmentUtterance()
527 int* begin, int* end, char* buff, int buffLen) in CA_GetAnnotationData() argument
540 annotation_get_data(hAnnotation->data, id, begin, end, buff, buffLen); in CA_GetAnnotationData()
631 hAnnotation->data->tcp[0].begin = start; in CA_LocateBeepInUtterance()
637 hAnnotation->data->tcp[0].begin = beep_start_point; in CA_LocateBeepInUtterance()
679 beep_start = hBeepAnnotation->data->tcp[0].begin; in CA_CorrectAnnotationForBeep()
680 beep_end = hBeepAnnotation->data->tcp[hBeepAnnotation->data->numWords-1].begin in CA_CorrectAnnotationForBeep()
685 hAnnotation->data->tcp[0].begin, in CA_CorrectAnnotationForBeep()
[all …]
/external/icu4c/tools/tzcode/
Dtz2icu.cpp379 vector<Transition>::iterator itr = info.transitions.begin(); in readzoneinfo()
437 vector<Transition>::iterator itr = info.transitions.begin(); in readzoneinfo()
467 for (vector<ZoneType>::iterator it=info.types.begin(); in readzoneinfo()
471 find(abbroffset.begin(), abbroffset.end(), it->abbr); in readzoneinfo()
485 for (vector<int32_t>::const_iterator y=abbroffset.begin(); in readzoneinfo()
493 int32_t index = x - abbroffset.begin(); in readzoneinfo()
1005 if (count_if(finalRules.begin(), finalRules.end(), isNotSet) != 0) { in readFinalZonesAndRules()
1010 if (count_if(finalZones.begin(), finalZones.end(), mapsToUnknownRule) != 0) { in readFinalZonesAndRules()
1016 for_each(finalRules.begin(), finalRules.end(), insertRuleID); in readFinalZonesAndRules()
1017 for_each(finalZones.begin(), finalZones.end(), eraseRuleID); in readFinalZonesAndRules()
[all …]
/external/skia/src/core/
DSkDeque.cpp113 char* begin; in push_front() local
118 begin = first->fStop - fElemSize; in push_front()
120 begin = first->fBegin - fElemSize; in push_front()
121 if (begin < first->start()) { // no more room in this chunk in push_front()
134 first->fBegin = begin; in push_front()
135 return begin; in push_front()
190 char* begin = first->fBegin + fElemSize; in pop_front() local
191 SkASSERT(begin <= first->fEnd); in pop_front()
193 if (begin < fFront->fEnd) { in pop_front()
194 first->fBegin = begin; in pop_front()
/external/dropbear/libtommath/
Dbn.tex49 \begin{document}
60 \begin{flushright}Open Source. Open Academia. Open Minds.
101 \begin{alltt}
107 \begin{alltt}
116 \begin{alltt}
131 \begin{alltt}
139 \begin{alltt}
146 \begin{alltt}
183 \begin{small}
184 \begin{center}
[all …]
/external/tremor/Tremor/
Dbitwise.c50 b->headptr=b->head->buffer->data+b->head->begin-b->headend; in _span()
70 b->headptr=b->head->buffer->data+b->head->begin; in oggpack_readinit()
82 ptr=head->buffer->data + head->begin;\
219 if((position+or->begin)&1) in getbyte()
220 return (or->buffer->data[(position+or->begin)>>1])&0xff; in getbyte()
222 return (or->buffer->data[(position+or->begin)>>1]>>8)&0xff; in getbyte()
560 orl->begin=ibegin; in main()
575 int begin=0; //=(rand()%TESTWORDS); in main() local
576 int ilen=(rand()%(TESTWORDS-begin)); in main()
580 for(j=0;j<begin;j++) in main()
[all …]
/external/webkit/JavaScriptCore/wrec/
DCharacterClassConstructor.cpp72 if (hi < ranges[i].begin) { in addSortedRange()
74 if (hi == (ranges[i].begin - 1)) { in addSortedRange()
75 ranges[i].begin = lo; in addSortedRange()
87 ranges[i].begin = std::min(ranges[i].begin, lo); in addSortedRange()
94 if (ranges[next].begin <= (ranges[i].end + 1)) { in addSortedRange()
243 addSortedRange(m_ranges, other.ranges[i].begin, other.ranges[i].end); in append()
251 … addSortedRange(m_rangesUnicode, other.rangesUnicode[i].begin, other.rangesUnicode[i].end); in append()
/external/qemu/block/
Dvvfat.c277 uint16_t begin; member
285 uint32_t begin,end; member
439 entry->begin=0; in create_long_filename()
491 return le16_to_cpu(direntry->begin)|(le16_to_cpu(direntry->begin_hi)<<16); in begin_of_direntry()
499 static void set_begin_of_direntry(direntry_t* direntry, uint32_t begin) in set_begin_of_direntry() argument
501 direntry->begin = cpu_to_le16(begin & 0xffff); in set_begin_of_direntry()
502 direntry->begin_hi = cpu_to_le16((begin >> 16) & 0xffff); in set_begin_of_direntry()
699 int first_cluster = mapping->begin; in read_directory()
703 int first_cluster_of_parent = parent_mapping ? parent_mapping->begin : -1; in read_directory()
712 mapping->end = mapping->begin; in read_directory()
[all …]
/external/webkit/WebKitTools/wx/packaging/
DwxWebKitInstaller.iss.in41 begin
48 '', PythonDir) then begin
52 '', PythonDir) then begin
67 begin
74 begin
78 begin
/external/webkit/WebCore/bridge/
Druntime_object.cpp79 instance->begin(); in fallbackObjectGetter()
97 instance->begin(); in fieldGetter()
116 instance->begin(); in methodGetter()
134 instance->begin(); in getOwnPropertySlot()
178 instance->begin(); in put()
202 instance->begin(); in defaultValue()
211 instance->begin(); in callRuntimeObject()
228 instance->begin(); in callRuntimeConstructor()
251 instance->begin(); in getPropertyNames()
/external/gtest/include/gtest/internal/
Dgtest-param-util.h190 iterator begin() const { return iterator(impl_->Begin()); } in begin() function
204 RangeGenerator(T begin, T end, IncrementT step) in RangeGenerator() argument
205 : begin_(begin), end_(end), in RangeGenerator()
206 step_(step), end_index_(CalculateEndIndex(begin, end, step)) {} in RangeGenerator()
257 static int CalculateEndIndex(const T& begin, in CalculateEndIndex() argument
261 for (T i = begin; i < end; i = i + step) in CalculateEndIndex()
283 ValuesInIteratorRangeGenerator(ForwardIterator begin, ForwardIterator end) in ValuesInIteratorRangeGenerator() argument
284 : container_(begin, end) {} in ValuesInIteratorRangeGenerator()
288 return new Iterator(this, container_.begin()); in Begin()
497 for (typename TestInfoContainer::iterator test_it = tests_.begin(); in RegisterTests()
[all …]
/external/webkit/WebKit/android/jni/
DPictureSet.cpp87 for (Pictures* working = mPictures.begin(); working != last; working++) in add()
106 Pictures* first = mPictures.begin(); in build()
177 for (working = mPictures.begin(); working != last; working++) { in build()
181 DBG_SET_LOGD("[%d] new base", working - mPictures.begin()); in build()
212 for (Pictures* working = mPictures.begin(); working != last; working++) { in clear()
223 Pictures* first = mPictures.begin(); in draw()
244 DBG_SET_LOGD("%p first=%d last=%d", this, first - mPictures.begin(), in draw()
245 last - mPictures.begin()); in draw()
314 for (const Pictures* working = mPictures.begin(); working != last; working++) { in dump()
329 working - mPictures.begin(), in dump()
[all …]

12345678910>>...32