/external/v8/test/mjsunit/ |
H A D | debug-liveedit-diff.js | 36 var pos1 = 0; 44 var similar_length = diff_array[i] - pos1; 45 assertEquals(s1.substring(pos1, pos1 + similar_length), 48 print(s1.substring(pos1, pos1 + similar_length)); 49 pos1 += similar_length; 51 print("<<< " + pos1 + " " + diff_array[i + 1]); 52 print(s1.substring(pos1, diff_array[i + 1])); 56 pos1 [all...] |
/external/google-breakpad/src/common/linux/ |
H A D | linux_libc_support.cc | 199 size_t pos1 = 0; local 203 if (pos1 + 1 < len) { 204 s1[pos1] = s2[pos2]; 205 pos1++; 210 s1[pos1] = '\0'; 216 size_t pos1 = 0; local 218 while (pos1 < len && s1[pos1] != '\0') 219 pos1++; 221 if (pos1 [all...] |
/external/bison/examples/calc++/ |
H A D | position.hh | 139 operator== (const position& pos1, const position& pos2) argument 141 return (pos1.line == pos2.line 142 && pos1.column == pos2.column 143 && (pos1.filename == pos2.filename 144 || (pos1.filename && pos2.filename 145 && *pos1.filename == *pos2.filename))); 150 operator!= (const position& pos1, const position& pos2) argument 152 return !(pos1 == pos2);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
H A D | lpc_analysis.c | 212 int k, n, j, pos1, pos2; local 247 for (pos1 = 0; pos1 < QLOOKAHEAD; pos1++) 248 maskdata->DataBufferLo[pos1 + WINLEN - QLOOKAHEAD] = inLo[pos1]; 253 for (pos1 = 0; pos1 < WINLEN - UPDATE/2; pos1++) { 254 maskdata->DataBufferLo[pos1] 393 int frameCntr, activeFrameCntr, n, pos1, pos2; local [all...] |
/external/v8/test/cctest/ |
H A D | test-liveedit.cc | 65 : pos1(pos1_param), pos2(pos2_param), 67 int pos1; member in class:__anon18874::DiffChunkStruct 82 void AddChunk(int pos1, int pos2, int len1, int len2) { argument 83 current_chunk_ = new(zone_) DiffChunkStruct(pos1, pos2, len1, len2); 109 int pos1 = 0; local 117 int diff_pos1 = chunk->pos1; 118 int similar_part_length = diff_pos1 - pos1; 124 CHECK(pos1 + j < len1); 126 CHECK_EQ(s1[pos1 + j], s2[pos2 + j]); 129 pos1 [all...] |
/external/icu/icu4c/source/samples/uciter8/ |
H A D | uciter8.c | 45 int32_t i, pos1, pos2, middle, length; local 59 pos1=iter1->move(iter1, middle, UITER_ZERO); 60 if(pos1!=middle) { 61 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); 100 pos1=iter1->move(iter1, 0, UITER_START); 101 if(pos1<0) { 139 pos1=iter1->move(iter1, middle, UITER_ZERO); 140 if(pos1!=middle) { 141 log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n1, middle, pos1); 152 pos1 [all...] |
/external/freetype/src/truetype/ |
H A D | ttpload.c | 189 FT_ULong pos1, pos2; local 194 pos1 = pos2 = 0; 203 pos1 = FT_NEXT_ULONG( p ); 204 pos2 = pos1; 214 pos1 = FT_NEXT_USHORT( p ); 215 pos2 = pos1; 220 pos1 <<= 1; 226 if ( pos1 > face->glyf_len ) 232 pos1, gindex, face->glyf_len )); 255 if ( pos2 >= pos1 ) [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/truetype/ |
H A D | ttpload.c | 189 FT_ULong pos1, pos2; local 194 pos1 = pos2 = 0; 203 pos1 = FT_NEXT_ULONG( p ); 204 pos2 = pos1; 214 pos1 = FT_NEXT_USHORT( p ); 215 pos2 = pos1; 220 pos1 <<= 1; 226 if ( pos1 > face->glyf_len ) 232 pos1, gindex, face->glyf_len )); 255 if ( pos2 >= pos1 ) [all...] |
/external/pdfium/third_party/freetype/src/truetype/ |
H A D | ttpload.c | 185 FT_ULong pos1, pos2; local 190 pos1 = pos2 = 0; 199 pos1 = FT_NEXT_ULONG( p ); 200 pos2 = pos1; 210 pos1 = FT_NEXT_USHORT( p ); 211 pos2 = pos1; 216 pos1 <<= 1; 222 if ( pos1 > face->glyf_len ) 227 pos1, gindex, face->glyf_len )); 249 if ( pos2 >= pos1 ) [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_wide_line.c | 73 float *pos1 = v1->data[pos]; local 95 pos1[1] = pos1[1] + half_width - bias; 102 pos1[0] -= 0.5f; 109 pos1[0] += 0.5f; 118 pos1[0] = pos1[0] + half_width + bias; 125 pos1[1] -= 0.5f; 132 pos1[1] += 0.5f;
|
H A D | draw_pipe_stipple.c | 127 const float *pos1 = v1->data[pos]; local 132 float x1 = pos1[0]; 134 float y1 = pos1[1];
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
H A D | lpc_masking_model.c | 539 int pos1, pos2; local 606 for (pos1 = 0; pos1 < QLOOKAHEAD; pos1++) { 607 maskdata->DataBufferLoQ0[pos1 + WINLEN - QLOOKAHEAD] = inLoQ0[pos1]; 613 for (pos1 = 0; pos1 < WINLEN - UPDATE/2; pos1++) { 614 maskdata->DataBufferLoQ0[pos1] [all...] |
/external/bison/data/ |
H A D | location.cc | 119 operator== (const position& pos1, const position& pos2) 121 return (pos1.line == pos2.line 122 && pos1.column == pos2.column 123 && (pos1.filename == pos2.filename 124 || (pos1.filename && pos2.filename 125 && *pos1.filename == *pos2.filename))); 130 operator!= (const position& pos1, const position& pos2) 132 return !(pos1 == pos2);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/ |
H A D | btContactConstraint.h | 65 void resolveSingleBilateral(btRigidBody& body1, const btVector3& pos1,
|
H A D | btContactConstraint.cpp | 121 void resolveSingleBilateral(btRigidBody& body1, const btVector3& pos1, argument 136 btVector3 rel_pos1 = pos1 - body1.getCenterOfMassPosition();
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/ |
H A D | btSphereSphereCollisionAlgorithm.cpp | 84 btVector3 pos1 = col1Wrap->getWorldTransform().getOrigin() + radius1* normalOnSurfaceB; local 89 resultOut->addContactPoint(normalOnSurfaceB,pos1,dist);
|
/external/libcxx/test/std/experimental/string.view/string.view.ops/ |
H A D | compare.size_size_sv.pass.cpp | 13 // constexpr int compare(size_type pos1, size_type n1, basic_string_view str) const; 23 void test1 ( std::experimental::basic_string_view<CharT> sv1, size_t pos1, size_t n1, argument 28 assert ( sign( sv1.compare(pos1, n1, sv2)) == sign(expected)); 29 assert(pos1 <= sv1.size()); 31 catch (const std::out_of_range&) { assert(pos1 > sv1.size()); } 36 void test ( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected ) { argument 41 test1(sv1, pos1, n1, sv2, expected);
|
H A D | compare.pointer_size.pass.cpp | 12 // constexpr int compare(size_type pos1, size_type n1, const charT* s) const; 23 size_t pos1, size_t n1, const CharT *s, int expected ) { 25 assert(sign(sv1.compare(pos1, n1, s)) == sign(expected)); 26 assert(pos1 <= sv1.size()); 28 catch (const std::out_of_range&) { assert(pos1 > sv1.size()); } 33 test( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected) argument 37 test1 ( sv1, pos1, n1, s2, expected ); 22 test1( std::experimental::basic_string_view<CharT> sv1, size_t pos1, size_t n1, const CharT *s, int expected ) argument
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/ |
H A D | Dynamics.java | 92 public static void resolveSingleBilateral(btRigidBody body1, Vector3 pos1, btRigidBody body2, Vector3 pos2, float distance, Vector3 normal, SWIGTYPE_p_float impulse, float timeStep) { argument 93 DynamicsJNI.resolveSingleBilateral(btRigidBody.getCPtr(body1), body1, pos1, btRigidBody.getCPtr(body2), body2, pos2, distance, normal, SWIGTYPE_p_float.getCPtr(impulse), timeStep);
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/linearmath/com/badlogic/gdx/physics/bullet/linearmath/ |
H A D | btTransformUtil.java | 64 public static void calculateVelocityQuaternion(Vector3 pos0, Vector3 pos1, Quaternion orn0, Quaternion orn1, float timeStep, Vector3 linVel, Vector3 angVel) { argument 65 LinearMathJNI.btTransformUtil_calculateVelocityQuaternion(pos0, pos1, orn0, orn1, timeStep, linVel, angVel);
|
/external/skia/gm/ |
H A D | pictureimagegenerator.cpp | 68 const SkScalar pos1[] = { 0, 0.75f }; local 70 SkASSERT(SK_ARRAY_COUNT(pos1) == SK_ARRAY_COUNT(colors1)); 71 SkAutoTUnref<SkShader> gradient1(SkGradientShader::CreateLinear(pts1, colors1, pos1, 72 SK_ARRAY_COUNT(pos1),
|
/external/v8/src/debug/ |
H A D | liveedit.js | 454 function DiffChunk(pos1, pos2, len1, len2) { 455 this.pos1 = pos1; 481 if (array.length == 0 || pos < array[0].pos1) { 489 if (pos < array[middle_index + 1].pos1) { 496 if (pos >= chunk.pos1 + chunk.len1) { 497 return pos + chunk.pos2 + chunk.len2 - chunk.pos1 - chunk.len1; 514 return pos - diff_chunk.pos1 + diff_chunk.pos2; 600 pos_diff = chunk.pos2 + chunk.len2 - (chunk.pos1 + chunk.len1); 618 chunk_it.current().pos1 < info_nod [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
H A D | IntlTestSimpleDateFormatAPI.java | 83 FieldPosition pos1 = new FieldPosition(0); 86 res1 = def.format(d, res1, pos1);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | IntlTestSimpleDateFormatAPI.java | 79 FieldPosition pos1 = new FieldPosition(0); 82 res1 = def.format(d, res1, pos1);
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_compare/ |
H A D | size_size_pointer.pass.cpp | 31 test(const S& s, typename S::size_type pos1, typename S::size_type n1, argument 36 assert(sign(s.compare(pos1, n1, str)) == sign(x)); 37 assert(pos1 <= s.size()); 41 assert(pos1 > s.size());
|