Home
last modified time | relevance | path

Searched refs:index1 (Results 1 – 25 of 161) sorted by relevance

1234567

/external/skqp/src/core/
DSkLineClipper.cpp110 int index0, index1; in IntersectLine() local
114 index1 = 1; in IntersectLine()
117 index1 = 0; in IntersectLine()
127 if (tmp[index1].fY > clip.fBottom) { in IntersectLine()
128 tmp[index1].set(sect_with_horizontal(src, clip.fBottom), clip.fBottom); in IntersectLine()
133 index1 = 1; in IntersectLine()
136 index1 = 0; in IntersectLine()
140 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight)) { in IntersectLine()
151 if (tmp[index1].fX > clip.fRight) { in IntersectLine()
152 tmp[index1].set(clip.fRight, sect_with_vertical(src, clip.fRight)); in IntersectLine()
[all …]
/external/skia/src/core/
DSkLineClipper.cpp110 int index0, index1; in IntersectLine() local
114 index1 = 1; in IntersectLine()
117 index1 = 0; in IntersectLine()
127 if (tmp[index1].fY > clip.fBottom) { in IntersectLine()
128 tmp[index1].set(sect_with_horizontal(src, clip.fBottom), clip.fBottom); in IntersectLine()
133 index1 = 1; in IntersectLine()
136 index1 = 0; in IntersectLine()
140 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight)) { in IntersectLine()
151 if (tmp[index1].fX > clip.fRight) { in IntersectLine()
152 tmp[index1].set(clip.fRight, sect_with_vertical(src, clip.fRight)); in IntersectLine()
[all …]
/external/python/cpython3/Lib/idlelib/
Dundo.py85 def delete(self, index1, index2=None): argument
86 self.addcmd(DeleteCommand(index1, index2))
167 def __init__(self, index1, index2, chars, tags=None): argument
170 self.index1 = index1
178 t = (self.index1, self.index2, self.chars, self.tags)
210 def __init__(self, index1, chars, tags=None): argument
211 Command.__init__(self, index1, None, chars, tags)
215 self.index1 = text.index(self.index1)
216 if text.compare(self.index1, ">", "end-1c"):
218 self.index1 = text.index("end-1c")
[all …]
Dcolorizer.py138 def delete(self, index1, index2=None): argument
140 index1 = self.index(index1)
141 self.delegate.delete(index1, index2)
142 self.notify_range(index1)
144 def notify_range(self, index1, index2=None): argument
146 self.tag_add("TODO", index1, index2)
/external/python/cpython2/Lib/idlelib/
DUndoDelegator.py83 def delete(self, index1, index2=None): argument
84 self.addcmd(DeleteCommand(index1, index2))
166 def __init__(self, index1, index2, chars, tags=None): argument
169 self.index1 = index1
177 t = (self.index1, self.index2, self.chars, self.tags)
210 def __init__(self, index1, chars, tags=None): argument
211 Command.__init__(self, index1, None, chars, tags)
215 self.index1 = text.index(self.index1)
216 if text.compare(self.index1, ">", "end-1c"):
218 self.index1 = text.index("end-1c")
[all …]
DColorDelegator.py86 def delete(self, index1, index2=None): argument
87 index1 = self.index(index1)
88 self.delegate.delete(index1, index2)
89 self.notify_range(index1)
95 def notify_range(self, index1, index2=None): argument
96 self.tag_add("TODO", index1, index2)
/external/libldac/src/
Dmdct_ldac.c29 int coef, index0, index1, offset; in proc_mdct_core_ldac() local
57 index1 = 1 << (i+1); in proc_mdct_core_ldac()
66 c = p_work[index1+0] * cc + p_work[index1+1] * cs; in proc_mdct_core_ldac()
67 d = p_work[index1+0] * cs - p_work[index1+1] * cc; in proc_mdct_core_ldac()
71 p_work[index1+0] = a - c; in proc_mdct_core_ldac()
72 p_work[index1+1] = b - d; in proc_mdct_core_ldac()
74 index1 += offset; in proc_mdct_core_ldac()
77 index1 += 2 - nsmpl; in proc_mdct_core_ldac()
Dmdct_fixp_ldac.c29 INT32 coef, index0, index1, offset; in proc_mdct_core_ldac() local
79 index1 = 1 << (i+1); in proc_mdct_core_ldac()
84 g0 = mul_rsftrnd_ldac(a_work[index1], p_c[coef], LDAC_Q_MDCT_COS+1); in proc_mdct_core_ldac()
85 g1 = mul_rsftrnd_ldac(a_work[index1+1], p_s[coef], LDAC_Q_MDCT_SIN+1); in proc_mdct_core_ldac()
88 g0 = mul_rsftrnd_ldac(a_work[index1], p_s[coef], LDAC_Q_MDCT_SIN+1); in proc_mdct_core_ldac()
89 g1 = mul_rsftrnd_ldac(a_work[index1+1], p_c[coef], LDAC_Q_MDCT_COS+1); in proc_mdct_core_ldac()
97 a_work[index1] = g0 - g2; in proc_mdct_core_ldac()
98 a_work[index1+1] = g1 - g3; in proc_mdct_core_ldac()
101 index1 += 2; in proc_mdct_core_ldac()
105 index1 += offset; in proc_mdct_core_ldac()
/external/libchrome/base/task/sequence_manager/
Dintrusive_heap_unittest.cc50 HeapHandle index1; in TEST_F() local
52 heap.insert({11, &index1}); in TEST_F()
54 EXPECT_TRUE(index1.IsValid()); in TEST_F()
58 EXPECT_FALSE(index1.IsValid()); in TEST_F()
62 HeapHandle index1; in TEST_F() local
67 heap.insert({11, &index1}); in TEST_F()
69 EXPECT_TRUE(index1.IsValid()); in TEST_F()
72 EXPECT_FALSE(index1.IsValid()); in TEST_F()
94 HeapHandle index1; in TEST_F() local
118 HeapHandle index1; in TEST_F() local
[all …]
/external/oboe/src/flowgraph/resampler/
DSincResampler.cpp45 int index1 = static_cast<int>(floor(tablePhase)); in readFrame() local
46 if (index1 >= mNumRows) { // no guard row needed because we wrap the indices in readFrame()
48 index1 -= mNumRows; in readFrame()
51 int index2 = index1 + 1; in readFrame()
56 float *coefficients1 = &mCoefficients[index1 * getNumTaps()]; in readFrame()
71 float fraction = tablePhase - index1; in readFrame()
DSincResamplerStereo.cpp56 int index1 = static_cast<int>(floor(tablePhase)); in readFrame() local
57 float *coefficients1 = &mCoefficients[index1 * getNumTaps()]; in readFrame()
58 int index2 = (index1 + 1); in readFrame()
75 float fraction = tablePhase - index1; in readFrame()
/external/tensorflow/tensorflow/core/kernels/neon/
Dtypes.h49 int MatchingArraySize(const ArrayType1& array1, int index1, in MatchingArraySize() argument
51 DCHECK_EQ(ArraySize(array1, index1), ArraySize(array2, index2)); in MatchingArraySize()
52 return ArraySize(array1, index1); in MatchingArraySize()
56 int MatchingArraySize(const ArrayType1& array1, int index1, in MatchingArraySize() argument
58 DCHECK_EQ(ArraySize(array1, index1), ArraySize(array2, index2)); in MatchingArraySize()
59 return MatchingArraySize(array1, index1, args...); in MatchingArraySize()
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DInternalNano.java206 int index1 = 0; in equals() local
211 while (index1 < length1 && field1[index1] == null) { in equals()
212 index1++; in equals()
217 boolean atEndOf1 = index1 >= length1; in equals()
225 } else if (!Arrays.equals(field1[index1], field2[index2])) { in equals()
229 index1++; in equals()
241 int index1 = 0; in equals() local
246 while (index1 < length1 && field1[index1] == null) { in equals()
247 index1++; in equals()
252 boolean atEndOf1 = index1 >= length1; in equals()
[all …]
/external/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc671 int index1 = 0; in CombineFields() local
676 while (index1 < fields1.size() && index2 < fields2.size()) { in CombineFields()
677 const FieldDescriptor* field1 = fields1[index1]; in CombineFields()
682 tmp_message_fields_.push_back(fields1[index1]); in CombineFields()
684 ++index1; in CombineFields()
691 tmp_message_fields_.push_back(fields1[index1]); in CombineFields()
692 ++index1; in CombineFields()
877 Reporter* reporter, int index1, int index2) { in IsMatch() argument
881 repeated_field, index1, index2, in IsMatch()
894 repeated_field, index1, index2, in IsMatch()
[all …]
/external/vulkan-validation-layers/layers/generated/
Dlayer_chassis_dispatch.cpp438 … for (uint32_t index1 = 0; index1 < local_pPresentInfo->waitSemaphoreCount; ++index1) { in DispatchQueuePresentKHR() local
439 …local_pPresentInfo->pWaitSemaphores[index1] = layer_data->Unwrap(pPresentInfo->pWaitSemaphores[ind… in DispatchQueuePresentKHR()
443 for (uint32_t index1 = 0; index1 < local_pPresentInfo->swapchainCount; ++index1) { in DispatchQueuePresentKHR() local
444 … local_pPresentInfo->pSwapchains[index1] = layer_data->Unwrap(pPresentInfo->pSwapchains[index1]); in DispatchQueuePresentKHR()
518 … for (uint32_t index1 = 0; index1 < local_pAllocateInfo->descriptorSetCount; ++index1) { in DispatchAllocateDescriptorSets() local
519 …local_pAllocateInfo->pSetLayouts[index1] = layer_data->Unwrap(local_pAllocateInfo->pSetLayouts[ind… in DispatchAllocateDescriptorSets()
1147 … for (uint32_t index1 = 0; index1 < local_pSubmits[index0].waitSemaphoreCount; ++index1) { in DispatchQueueSubmit() local
1148 …local_pSubmits[index0].pWaitSemaphores[index1] = layer_data->Unwrap(local_pSubmits[index0].pWaitSe… in DispatchQueueSubmit()
1152 … for (uint32_t index1 = 0; index1 < local_pSubmits[index0].signalSemaphoreCount; ++index1) { in DispatchQueueSubmit() local
1153 …al_pSubmits[index0].pSignalSemaphores[index1] = layer_data->Unwrap(local_pSubmits[index0].pSignalS… in DispatchQueueSubmit()
[all …]
Dobject_tracker.cpp236 for (uint32_t index1 = 0; index1 < pSubmits[index0].waitSemaphoreCount; ++index1) { in PreCallValidateQueueSubmit() local
237 …skip |= ValidateObject(queue, pSubmits[index0].pWaitSemaphores[index1], kVulkanObjectTypeSemaphore… in PreCallValidateQueueSubmit()
241 for (uint32_t index1 = 0; index1 < pSubmits[index0].commandBufferCount; ++index1) { in PreCallValidateQueueSubmit() local
242 …skip |= ValidateObject(queue, pSubmits[index0].pCommandBuffers[index1], kVulkanObjectTypeCommandBu… in PreCallValidateQueueSubmit()
246 … for (uint32_t index1 = 0; index1 < pSubmits[index0].signalSemaphoreCount; ++index1) { in PreCallValidateQueueSubmit() local
247 …skip |= ValidateObject(queue, pSubmits[index0].pSignalSemaphores[index1], kVulkanObjectTypeSemapho… in PreCallValidateQueueSubmit()
465 for (uint32_t index1 = 0; index1 < pBindInfo[index0].waitSemaphoreCount; ++index1) { in PreCallValidateQueueBindSparse() local
466 …skip |= ValidateObject(queue, pBindInfo[index0].pWaitSemaphores[index1], kVulkanObjectTypeSemaphor… in PreCallValidateQueueBindSparse()
470 for (uint32_t index1 = 0; index1 < pBindInfo[index0].bufferBindCount; ++index1) { in PreCallValidateQueueBindSparse() local
471 …skip |= ValidateObject(queue, pBindInfo[index0].pBufferBinds[index1].buffer, kVulkanObjectTypeBuff… in PreCallValidateQueueBindSparse()
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dmock_tk.py202 def get(self, index1, index2=None): argument
205 startline, startchar = self._decode(index1)
220 def delete(self, index1, index2=None): argument
226 startline, startchar = self._decode(index1, -1)
251 def compare(self, index1, op, index2): argument
252 line1, char1 = self._decode(index1)
280 def tag_remove(self, tagName, index1, index2=None): argument
/external/python/cpython2/Lib/idlelib/idle_test/
Dmock_tk.py197 def get(self, index1, index2=None): argument
200 startline, startchar = self._decode(index1)
216 def delete(self, index1, index2=None): argument
222 startline, startchar = self._decode(index1, -1)
247 def compare(self, index1, op, index2): argument
248 line1, char1 = self._decode(index1)
276 def tag_remove(self, tagName, index1, index2=None): argument
/external/proguard/src/proguard/
DConfigurationChecker.java191 for (int index1 = 0; index1 < classPath1.size(); index1++) in checkConflicts()
193 ClassPathEntry entry1 = classPath1.get(index1); in checkConflicts()
197 if (classPath1 != classPath2 || index1 != index2) in checkConflicts()
/external/freetype/src/pshinter/
Dpshrec.c371 FT_UInt index1, in ps_mask_table_test_intersect() argument
374 PS_Mask mask1 = table->masks + index1; in ps_mask_table_test_intersect()
403 FT_UInt index1, in ps_mask_table_merge() argument
411 if ( index1 > index2 ) in ps_mask_table_merge()
416 temp = index1; in ps_mask_table_merge()
417 index1 = index2; in ps_mask_table_merge()
421 if ( index1 < index2 && index2 < table->num_masks ) in ps_mask_table_merge()
425 PS_Mask mask1 = table->masks + index1; in ps_mask_table_merge()
488 index1, index2 )); in ps_mask_table_merge()
502 FT_Int index1, index2; in ps_mask_table_merge_all() local
[all …]
/external/freetype/src/type1/
Dt1afm.c93 FT_ULong index1 = KERN_INDEX( pair1->index1, pair1->index2 ); in compare_kern_pairs() local
94 FT_ULong index2 = KERN_INDEX( pair2->index1, pair2->index2 ); in compare_kern_pairs()
97 if ( index1 > index2 ) in compare_kern_pairs()
99 else if ( index1 < index2 ) in compare_kern_pairs()
203 kp->index1 = FT_Get_Char_Index( t1_face, p[0] ); in T1_Read_PFM()
348 midi = KERN_INDEX( mid->index1, mid->index2 ); in T1_Get_Kerning()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2Writable.java122 index1[i]=j; in init()
127 index1[i]=UNEWTRIE2_INDEX_2_NULL_OFFSET; in init()
163 i2=index1[c>>UTRIE2_SHIFT_1]+ in isInNullBlock()
196 i2=index1[i1]; in getIndex2Block()
199 index1[i1]=i2; in getIndex2Block()
330 this.index1 = tempTrie.index1; in uncompact()
592 i2=index1[c>>UTRIE2_SHIFT_1]+ in get()
683 i2Block=index1[--i1]; in findHighStart()
903 index1[i]=map[index1[i]>>UTRIE2_SHIFT_1_2]; in compactIndex2()
1118 …dest.index[destIdx++] = (char)(UTRIE2_INDEX_2_OFFSET + index1[i+UTRIE2_OMITTED_BMP_INDEX_1_LENGTH]… in freeze()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java120 index1[i]=j; in init()
125 index1[i]=UNEWTRIE2_INDEX_2_NULL_OFFSET; in init()
161 i2=index1[c>>UTRIE2_SHIFT_1]+ in isInNullBlock()
194 i2=index1[i1]; in getIndex2Block()
197 index1[i1]=i2; in getIndex2Block()
328 this.index1 = tempTrie.index1; in uncompact()
590 i2=index1[c>>UTRIE2_SHIFT_1]+ in get()
681 i2Block=index1[--i1]; in findHighStart()
901 index1[i]=map[index1[i]>>UTRIE2_SHIFT_1_2]; in compactIndex2()
1116 …dest.index[destIdx++] = (char)(UTRIE2_INDEX_2_OFFSET + index1[i+UTRIE2_OMITTED_BMP_INDEX_1_LENGTH]… in freeze()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleData.java425 int index1 = localeSeparator.indexOf(sub1); in getLocaleSeparator() local
426 if (index0 >= 0 && index1 >= 0 && index0 <= index1) { in getLocaleSeparator()
427 return localeSeparator.substring(index0 + sub0.length(), index1); in getLocaleSeparator()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleData.java440 int index1 = localeSeparator.indexOf(sub1); in getLocaleSeparator() local
441 if (index0 >= 0 && index1 >= 0 && index0 <= index1) { in getLocaleSeparator()
442 return localeSeparator.substring(index0 + sub0.length(), index1); in getLocaleSeparator()

1234567