Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 1664) sorted by relevance

12345678910>>...67

/external/apache-http/src/org/apache/commons/codec/language/
DDoubleMetaphone.java92 int index = isSilentStart(value) ? 1 : 0; in doubleMetaphone() local
96 while (!result.isComplete() && index <= value.length() - 1) { in doubleMetaphone()
97 switch (value.charAt(index)) { in doubleMetaphone()
104 index = handleAEIOUY(value, result, index); in doubleMetaphone()
108 index = charAt(value, index + 1) == 'B' ? index + 2 : index + 1; in doubleMetaphone()
113 index++; in doubleMetaphone()
116 index = handleC(value, result, index); in doubleMetaphone()
119 index = handleD(value, result, index); in doubleMetaphone()
123 index = charAt(value, index + 1) == 'F' ? index + 2 : index + 1; in doubleMetaphone()
126 index = handleG(value, result, index, slavoGermanic); in doubleMetaphone()
[all …]
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Regress/
Dregress-111557.js5153 var index = 0; variable
5229 levelParents[currentLevel + 1] = index;
5330 …","http://developer.novell.com/ndk/doc/ndslib/treetitl.html",currentLevel,index,levelIndexes[curre…
5331 navigationTree[index] = navElement;
5332 index++;
5337 …loper.novell.com/ndk/doc/ndslib/dsbk_enu/data/hevgtl7k.html",currentLevel,index,levelIndexes[curre…
5338 navigationTree[index] = navElement;
5339 index++;
5344 …loper.novell.com/ndk/doc/ndslib/dsbk_enu/data/h7qwv271.html",currentLevel,index,levelIndexes[curre…
5345 navigationTree[index] = navElement;
[all …]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DAttributesImpl.java113 public String getURI (int index) in getURI() argument
115 if (index >= 0 && index < length) { in getURI()
116 return data[index*5]; in getURI()
131 public String getLocalName (int index) in getLocalName() argument
133 if (index >= 0 && index < length) { in getLocalName()
134 return data[index*5+1]; in getLocalName()
149 public String getQName (int index) in getQName() argument
151 if (index >= 0 && index < length) { in getQName()
152 return data[index*5+2]; in getQName()
167 public String getType (int index) in getType() argument
[all …]
/external/skia/src/animator/
DSkAnimateActive.cpp40 int index; in init() local
41 for (index = 0; index < animators; index++) in init()
42 fInterpolators[index] = SkNEW(SkOperandInterpolator); in init()
50 int index; in ~SkActive() local
51 for (index = 0; index < fSaveRestore.count(); index++) in ~SkActive()
52 delete[] fSaveRestore[index]; in ~SkActive()
53 for (index = 0; index < fSaveInterpolators.count(); index++) in ~SkActive()
54 delete[] fSaveInterpolators[index]; in ~SkActive()
55 for (index = 0; index < fInterpolators.count(); index++) in ~SkActive()
56 delete fInterpolators[index]; in ~SkActive()
[all …]
DSkDisplayList.cpp49 for (int index = 0; index < fDrawList.count(); index++) { in draw() local
50 SkDrawable* draw = fDrawList[index]; in draw()
82 for (int index = 0; index < (*list)->count(); index++) { in SearchForMatch() local
83 SkDrawable* draw = (**list)[index]; in SearchForMatch()
85 return index; in SearchForMatch()
89 return index; in SearchForMatch()
90 …cope->isGroup() && SearchGroupForMatch(apply->scope, match, list, parent, found, grandList, index)) in SearchForMatch()
91 return index; in SearchForMatch()
96 return index; in SearchForMatch()
101 … if (draw->isGroup() && SearchGroupForMatch(draw, match, list, parent, found, grandList, index)) in SearchForMatch()
[all …]
DSkBuildCondensedInfo.cpp119 int index, infoCount; in BuildCondensedInfo() local
120 for (index = 0; index < kTypeNamesSize; index++) { in BuildCondensedInfo()
121 const SkMemberInfo* info = GetMembers(maker, gTypeNames[index].fType, &infoCount); in BuildCondensedInfo()
124 AddInfo(gTypeNames[index].fType, info, infoCount); in BuildCondensedInfo()
136 for (index = 0; index < oldRefs.count(); index++) { in BuildCondensedInfo()
137 const SkMemberInfo* info = oldRefs[index]; in BuildCondensedInfo()
147 AddInfo((SkDisplayTypes) typeIndex, info, oldRefCounts[index]); in BuildCondensedInfo()
169 for (index = 0; index < gInfos.count(); index++) { in BuildCondensedInfo()
170 const SkMemberInfo* info = gInfos[index]; in BuildCondensedInfo()
175 while (gTypeNames[typeNameIndex].fType < index) in BuildCondensedInfo()
[all …]
/external/skia/src/core/
DSkBitmapSampler.h99 static inline int do_clamp(int index, unsigned max) in do_clamp() argument
104 if (index > (int)max) in do_clamp()
105 index = max; in do_clamp()
106 if (index < 0) in do_clamp()
107 index = 0; in do_clamp()
109 if ((unsigned)index > max) in do_clamp()
111 if (index < 0) in do_clamp()
112 index = 0; in do_clamp()
114 index = max; in do_clamp()
117 return index; in do_clamp()
[all …]
DSkPictureRecord.cpp273 for (size_t index = 1; index < points; index++) { in drawPosText() local
274 if (pos[index].fY != firstY) { in drawPosText()
301 for (size_t index = 0; index < points; index++) in drawPosText() local
302 *xptr++ = pos[index].fX; in drawPosText()
443 int index = fPictureRefs.find(&picture); in addPicture() local
444 if (index < 0) { // not found in addPicture()
445 index = fPictureRefs.count(); in addPicture()
450 addInt(index + 1); in addPicture()
516 int index = SkTSearch<SkFlatData>((const SkFlatData**) bitmaps.begin(), in find() local
518 if (index >= 0) { in find()
[all …]
DSkPicturePlayback.h49 int index = getInt(); in getBitmap() local
50 SkASSERT(index > 0); in getBitmap()
51 return fBitmaps[index - 1]; in getBitmap()
58 int index = getInt(); in getMatrix() local
59 if (index == 0) { in getMatrix()
62 SkASSERT(index > 0 && index <= fMatrixCount); in getMatrix()
63 return &fMatrices[index - 1]; in getMatrix()
71 int index = getInt(); in getPicture() local
72 SkASSERT(index > 0 && index <= fPictureCount); in getPicture()
73 return *fPictureRefs[index - 1]; in getPicture()
[all …]
/external/icu4c/samples/uciter8/
Duit_len8.c116 if(iter->index<0) { in lenient8IteratorGetIndex()
120 int32_t i, limit, index; in lenient8IteratorGetIndex() local
123 i=index=0; in lenient8IteratorGetIndex()
128 ++index; in lenient8IteratorGetIndex()
130 index+=2; in lenient8IteratorGetIndex()
136 iter->length=index; /* in case it was <0 or wrong */ in lenient8IteratorGetIndex()
139 --index; /* we are in the middle of a supplementary code point */ in lenient8IteratorGetIndex()
141 iter->index=index; in lenient8IteratorGetIndex()
143 return iter->index; in lenient8IteratorGetIndex()
152 if(iter->index<0) { in lenient8IteratorGetIndex()
[all …]
/external/icu4c/layout/
DGlyphPositionAdjustments.h106 inline le_bool isCursiveGlyph(le_int32 index) const;
107 inline le_bool baselineIsLogicalEnd(le_int32 index) const;
109 const LEPoint *getEntryPoint(le_int32 index, LEPoint &entryPoint) const;
110 const LEPoint *getExitPoint(le_int32 index, LEPoint &exitPoint) const;
112 inline float getXPlacement(le_int32 index) const;
113 inline float getYPlacement(le_int32 index) const;
114 inline float getXAdvance(le_int32 index) const;
115 inline float getYAdvance(le_int32 index) const;
117 inline le_int32 getBaseOffset(le_int32 index) const;
119 inline void setXPlacement(le_int32 index, float newXPlacement);
[all …]
/external/opencore/codecs_v2/audio/gsm_amr/amr_wb/dec/src/
Ddec_alg_codebook.cpp118 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]) in dec_1p_N1() argument
127 pos1 = ((index & mask) + offset); in dec_1p_N1()
129 i = ((index >> N) & 1L); /* i = ((index >> N) & 1); */ in dec_1p_N1()
145 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]) in dec_2p_2N1() argument
155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset))); in dec_2p_2N1()
157 i = (index >> tmp) & 1L; /* i = (index >> (2*N)) & 1; */ in dec_2p_2N1()
158 pos2 = add_int16((int16)(index & mask), offset); /* pos2 = ((index & mask) + offset); */ in dec_2p_2N1()
192 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]) in dec_3p_3N1() argument
204 idx = index & mask; in dec_3p_3N1()
209 if (((index >> tmp) & 1L) != 0L) in dec_3p_3N1()
[all …]
/external/emma/core/java12/com/vladium/jcd/compiler/
DCodeGen.java26 public static void load_local_object_var (final ByteArrayOStream out, final int index) in load_local_object_var() argument
28 if (index <= 3) in load_local_object_var()
30 out.write (_aload_0 + index); // aload_n in load_local_object_var()
32 else if (index <= 0xFF) in load_local_object_var()
35 index); // indexbyte in load_local_object_var()
41 index >>> 8, // indexbyte1 in load_local_object_var()
42 index); // indexbyte2 in load_local_object_var()
46 public static void store_local_object_var (final ByteArrayOStream out, final int index) in store_local_object_var() argument
48 if (index <= 3) in store_local_object_var()
50 out.write (_astore_0 + index); // astore_n in store_local_object_var()
[all …]
/external/zlib/examples/
Dzran.c77 local void free_index(struct access *index) in free_index() argument
79 if (index != NULL) { in free_index()
80 free(index->list); in free_index()
81 free(index); in free_index()
87 local struct access *addpoint(struct access *index, int bits, in addpoint() argument
93 if (index == NULL) { in addpoint()
94 index = malloc(sizeof(struct access)); in addpoint()
95 if (index == NULL) return NULL; in addpoint()
96 index->list = malloc(sizeof(struct point) << 3); in addpoint()
97 if (index->list == NULL) { in addpoint()
[all …]
/external/icu4c/common/
Duiter.cpp94 return iter->index; in stringIteratorGetIndex()
118 pos=iter->index+delta; in stringIteratorMove()
136 return iter->index=pos; in stringIteratorMove()
141 return iter->index<iter->limit; in stringIteratorHasNext()
146 return iter->index>iter->start; in stringIteratorHasPrevious()
151 if(iter->index<iter->limit) { in stringIteratorCurrent()
152 return ((const UChar *)(iter->context))[iter->index]; in stringIteratorCurrent()
160 if(iter->index<iter->limit) { in stringIteratorNext()
161 return ((const UChar *)(iter->context))[iter->index++]; in stringIteratorNext()
169 if(iter->index>iter->start) { in stringIteratorPrevious()
[all …]
/external/oprofile/libdb/
Ddb_debug.c26 odb_index_t index = data->hash_base[pos]; in check_circular_list() local
27 if (index && !do_abort) { in check_circular_list()
28 while (index) { in check_circular_list()
29 if (bitmap[index]) in check_circular_list()
32 bitmap[index] = 1; in check_circular_list()
33 index = data->node_base[index].next; in check_circular_list()
43 index = data->hash_base[pos]; in check_circular_list()
44 while (index) { in check_circular_list()
45 printf("%d ", index); in check_circular_list()
46 if (bitmap[index]) in check_circular_list()
[all …]
/external/opencore/protocols/rtp/src/
Drtcp.cpp62 OSCL_EXPORT_REF RTCP_ReportBlock* RTCP_RR::get_report_block(uint index) in get_report_block() argument
66 if (index >= max_report_blocks) in get_report_block()
71 if (index >= num_report_blocks) in get_report_block()
73 num_report_blocks = index + 1; in get_report_block()
76 if (index < NUM_PREALLOCATED_RTCP_RR_REPORT_BLOCKS) in get_report_block()
78 return preallocated_reports + index; in get_report_block()
87 return additional_reports + (index - NUM_PREALLOCATED_RTCP_RR_REPORT_BLOCKS); in get_report_block()
92 const RTCP_ReportBlock* RTCP_RR::read_report_block(uint index) const in read_report_block()
96 if (index >= num_report_blocks) in read_report_block()
101 if (index < NUM_PREALLOCATED_RTCP_RR_REPORT_BLOCKS) in read_report_block()
[all …]
/external/webkit/WebCore/platform/graphics/
DBitmapImage.cpp112 void BitmapImage::cacheFrame(size_t index) in cacheFrame() argument
120 m_frames[index].m_frame = m_source.createFrameAtIndex(index); in cacheFrame()
121 if (numFrames == 1 && m_frames[index].m_frame) in cacheFrame()
124 m_frames[index].m_haveMetadata = true; in cacheFrame()
125 m_frames[index].m_isComplete = m_source.frameIsCompleteAtIndex(index); in cacheFrame()
127 m_frames[index].m_duration = m_source.frameDurationAtIndex(index); in cacheFrame()
128 m_frames[index].m_hasAlpha = m_source.frameHasAlphaAtIndex(index); in cacheFrame()
130 const IntSize frameSize(index ? m_source.frameSizeAtIndex(index) : m_size); in cacheFrame()
133 if (m_frames[index].m_frame) { in cacheFrame()
201 NativeImagePtr BitmapImage::frameAtIndex(size_t index) in frameAtIndex() argument
[all …]
/external/opencore/codecs_v2/video/m4v_h263/dec/src/
Dchvr_filter.cpp35 int index, counter; in CombinedHorzVertRingFilter() local
103 index = brwidth + bc; in CombinedHorzVertRingFilter()
109 QP = QP_store[index]; in CombinedHorzVertRingFilter()
114 if (((pp_mod[index]&0x02) != 0) && ((pp_mod[index-pp_w]&0x02) != 0)) in CombinedHorzVertRingFilter()
118 pp_mod[index-pp_w] |= 0x10; /* 4/26/00 reuse pp_mod for HorzHflag*/ in CombinedHorzVertRingFilter()
121 for (index = BLKSIZE; index > 0; index--) in CombinedHorzVertRingFilter()
174 pp_mod[index-pp_w] &= 0xef; /* reset 1110,1111 */ in CombinedHorzVertRingFilter()
176 for (index = BLKSIZE; index > 0; index--) in CombinedHorzVertRingFilter()
262 index = brwidth + bc; in CombinedHorzVertRingFilter()
268 QP = QP_store[index]; in CombinedHorzVertRingFilter()
[all …]
/external/qemu/
Dsoftmmu_template.h58 int index; in glue() local
59 index = (physaddr >> IO_MEM_SHIFT) & (IO_MEM_NB_ENTRIES - 1); in glue()
62 if (index > (IO_MEM_NOTDIRTY >> IO_MEM_SHIFT) in glue()
68 res = io_mem_read[index][SHIFT](io_mem_opaque[index], physaddr); in glue()
71 res = (uint64_t)io_mem_read[index][2](io_mem_opaque[index], physaddr) << 32; in glue()
72 res |= io_mem_read[index][2](io_mem_opaque[index], physaddr + 4); in glue()
74 res = io_mem_read[index][2](io_mem_opaque[index], physaddr); in glue()
75 res |= (uint64_t)io_mem_read[index][2](io_mem_opaque[index], physaddr + 4) << 32; in glue()
89 int index; in glue() local
96 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
[all …]
/external/skia/src/views/
DSkListView.cpp10 SkEvent* SkListSource::getEvent(int index)
37 virtual void getRow(int index, SkString* left, SkString* right)
40 SkASSERT((unsigned)index < (unsigned)fCount);
42 if (fIndex > index)
48 while (fIndex < index)
69 virtual SkEvent* getEvent(int index)
71 SkASSERT((unsigned)index < (unsigned)fCount);
76 this->getRow(index, &label, nil);
85 evt->setS32("index", index);
146 int index = dom.findList(child, "type", "dir,toggle");
[all …]
/external/opencore/codecs_v2/audio/aac/dec/src/
Dsbr_decode_envelope.cpp111 Int32 index,
115 Int32 index,
204 Int32 index, in mapLowResEnergyVal() argument
213 if (index < offset) in mapLowResEnergyVal()
215 prevData[index] = currVal; in mapLowResEnergyVal()
219 tmp = (index << 1) - offset; in mapLowResEnergyVal()
227 if (index < offset) in mapLowResEnergyVal()
229 tmp = (index << 1) + index; in mapLowResEnergyVal()
236 tmp = (index << 1) + offset; in mapLowResEnergyVal()
244 prevData[index] = currVal; in mapLowResEnergyVal()
[all …]
/external/icu4c/i18n/
Dtranslit.cpp110 static inline UBool positionIsValid(UTransPosition& index, int32_t len) { in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION()
111 return !(index.contextStart < 0 || in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION()
112 index.start < index.contextStart || in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION()
113 index.limit < index.start || in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION()
114 index.contextLimit < index.limit || in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION()
115 len < index.contextLimit); in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION()
278 UTransPosition& index, in transliterate() argument
281 _transliterate(text, index, &insertion, status); in transliterate()
300 UTransPosition& index, in transliterate() argument
304 _transliterate(text, index, &str, status); in transliterate()
[all …]
Dudat.cpp237 udat_getAvailable(int32_t index) in udat_getAvailable() argument
239 return uloc_getAvailable(index); in udat_getAvailable()
308 int32_t index, in udat_getSymbols() argument
411 if(index < count) { in udat_getSymbols()
412 return res[index].extract(result, resultLength, *status); in udat_getSymbols()
540 setSymbol(UnicodeString *array, int32_t count, int32_t index, in setSymbol() argument
544 if(index>=count) { in setSymbol()
549 array[index].setTo(value, valueLength); in setSymbol()
555 setEra(DateFormatSymbols *syms, int32_t index, in setEra() argument
558 setSymbol(syms->fEras, syms->fErasCount, index, value, valueLength, errorCode); in setEra()
[all …]
/external/skia/src/svg/
DSkSVGPaintState.cpp52 SkString* SkSVGPaint::operator[](int index) { in operator []() argument
53 SkASSERT(index >= 0); in operator []()
54 SkASSERT(index < &fTerminal - &fInitial); in operator []()
56 SkString* result = &fInitial + index + 1; in operator []()
96 … int index = parser.findAttribute(this, attrValue, (int) (delimiter - attrValue), true); in addAttribute() local
97 SkASSERT(index >= 0); in addAttribute()
99 addAttribute(parser, index, delimiter, (int) (end - delimiter)); in addAttribute()
112 int index; in flush() local
114 for (index = kInitial + 1; index < kTerminal; index++) { in flush()
115 SkString* lastAttr = (*walking)[index]; in flush()
[all …]

12345678910>>...67