Searched defs:pos1 (Results 1 - 25 of 61) sorted by relevance

123

/external/libcxx/test/strings/basic.string/string.modifiers/string_replace/
H A Diter_iter_pointer.pass.cpp25 test(S s, typename S::size_type pos1, typename S::size_type n1, const typename S::value_type* str, S expected) argument
28 typename S::const_iterator first = s.begin() + pos1;
29 typename S::const_iterator last = s.begin() + pos1 + n1;
H A Diter_iter_string.pass.cpp25 test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S expected) argument
28 typename S::const_iterator first = s.begin() + pos1;
29 typename S::const_iterator last = s.begin() + pos1 + n1;
H A Dsize_size_string.pass.cpp13 // replace(size_type pos1, size_type n1, const basic_string<charT,traits,Allocator>& str);
24 test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S expected) argument
30 s.replace(pos1, n1, str);
32 assert(pos1 <= old_size);
34 typename S::size_type xlen = std::min(n1, old_size - pos1);
40 assert(pos1 > old_size);
H A Diter_iter_size_char.pass.cpp25 test(S s, typename S::size_type pos1, typename S::size_type n1, typename S::size_type n2, argument
29 typename S::const_iterator first = s.begin() + pos1;
30 typename S::const_iterator last = s.begin() + pos1 + n1;
H A Diter_iter_iter_iter.pass.cpp24 test(S s, typename S::size_type pos1, typename S::size_type n1, It f, It l, S expected) argument
27 typename S::const_iterator first = s.begin() + pos1;
28 typename S::const_iterator last = s.begin() + pos1 + n1;
H A Diter_iter_pointer_size.pass.cpp25 test(S s, typename S::size_type pos1, typename S::size_type n1, const typename S::value_type* str, argument
29 typename S::const_iterator first = s.begin() + pos1;
30 typename S::const_iterator last = s.begin() + pos1 + n1;
/external/libcxx/test/strings/basic.string/string.ops/string_compare/
H A Dsize_size_pointer.pass.cpp31 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());
H A Dsize_size_string.pass.cpp12 // int compare(size_type pos1, size_type n1, const basic_string& str) const;
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());
/external/oprofile/libutil++/
H A Dchild_reader.h94 ssize_t pos1; member in class:child_reader
/external/bison/examples/calc++/
H A Dposition.hh139 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/chromium_org/third_party/icu/source/samples/uciter8/
H A Duciter8.c47 int32_t i, pos1, pos2, middle, length; local
61 pos1=iter1->move(iter1, middle, UITER_ZERO);
62 if(pos1!=middle) {
63 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1);
102 pos1=iter1->move(iter1, 0, UITER_START);
103 if(pos1<0) {
141 pos1=iter1->move(iter1, middle, UITER_ZERO);
142 if(pos1!=middle) {
143 log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n1, middle, pos1);
154 pos1
[all...]
/external/icu/icu4c/source/samples/uciter8/
H A Duciter8.c47 int32_t i, pos1, pos2, middle, length; local
61 pos1=iter1->move(iter1, middle, UITER_ZERO);
62 if(pos1!=middle) {
63 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1);
102 pos1=iter1->move(iter1, 0, UITER_START);
103 if(pos1<0) {
141 pos1=iter1->move(iter1, middle, UITER_ZERO);
142 if(pos1!=middle) {
143 log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n1, middle, pos1);
154 pos1
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/
H A Dttpload.c178 FT_ULong pos1, pos2; local
183 pos1 = pos2 = 0;
193 pos1 = FT_NEXT_ULONG( p );
194 pos2 = pos1;
204 pos1 = FT_NEXT_USHORT( p );
205 pos2 = pos1;
210 pos1 <<= 1;
216 if ( pos1 > face->glyf_len )
221 pos1, gindex, face->glyf_len ));
243 if ( pos2 >= pos1 )
[all...]
/external/chromium_org/media/audio/alsa/
H A Dalsa_util.cc49 size_t pos1 = device_name.find(':'); local
50 if (pos1 == std::string::npos) {
58 device_name.substr(pos1) :
59 kMixerPrefix + device_name.substr(pos1, pos2 - pos1);
/external/chromium_org/third_party/freetype/src/truetype/
H A Dttpload.c177 FT_ULong pos1, pos2; local
182 pos1 = pos2 = 0;
191 pos1 = FT_NEXT_ULONG( p );
192 pos2 = pos1;
202 pos1 = FT_NEXT_USHORT( p );
203 pos2 = pos1;
208 pos1 <<= 1;
214 if ( pos1 > face->glyf_len )
219 pos1, gindex, face->glyf_len ));
241 if ( pos2 >= pos1 )
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_pipe_wide_line.c73 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 Ddraw_pipe_stipple.c127 const float *pos1 = v1->data[pos]; local
132 float x1 = pos1[0];
134 float y1 = pos1[1];
H A Ddraw_pipe_wide_point.c138 float *pos1 = v1->data[pos]; local
159 pos1[0] += left_adj;
160 pos1[1] += bot_adj;
/external/chromium_org/v8/test/cctest/
H A Dtest-liveedit.cc65 : pos1(pos1_param), pos2(pos2_param),
67 int pos1; member in class:__anon17407::DiffChunkStruct
82 void AddChunk(int pos1, int pos2, int len1, int len2) { argument
83 current_chunk_ = new(zone_) DiffChunkStruct(pos1, pos2, len1, len2);
108 int pos1 = 0; local
116 int diff_pos1 = chunk->pos1;
117 int similar_part_length = diff_pos1 - pos1;
123 DCHECK(pos1 + j < len1);
125 DCHECK_EQ(s1[pos1 + j], s2[pos2 + j]);
128 pos1
[all...]
/external/freetype/src/truetype/
H A Dttpload.c177 FT_ULong pos1, pos2; local
182 pos1 = pos2 = 0;
191 pos1 = FT_NEXT_ULONG( p );
192 pos2 = pos1;
202 pos1 = FT_NEXT_USHORT( p );
203 pos2 = pos1;
208 pos1 <<= 1;
214 if ( pos1 > face->glyf_len )
219 pos1, gindex, face->glyf_len ));
241 if ( pos2 >= pos1 )
[all...]
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_wide_line.c73 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;
/external/chromium_org/sandbox/win/tests/validation_tests/
H A Dcommands.cc34 base::string16::size_type pos1 = string->find_first_not_of(L'"'); local
37 if (base::string16::npos == pos1 || base::string16::npos == pos2)
40 (*string) = string->substr(pos1, pos2 + 1);
/external/chromium_org/third_party/libwebp/enc/
H A Dsyntax.c269 uint64_t pos1, pos2, pos3; local
271 pos1 = VP8BitWriterPos(bw);
293 enc->pic_->stats->header_bytes[0] = (int)((pos2 - pos1 + 7) >> 3);
/external/chromium_org/third_party/webrtc/modules/audio_device/linux/
H A Daudio_mixer_manager_alsa_linux.cc1297 char* pos1 = strchr(deviceName, ':'); local
1304 if (pos1 && pos2)
1307 int nChar = (int) (pos2 - pos1);
1308 strncpy(&controlName[2], pos1, nChar);
/external/libcxx/test/strings/basic.string/string.modifiers/string_insert/
H A Dsize_string_size_size.pass.cpp13 // insert(size_type pos1, const basic_string<charT,traits,Allocator>& str,
25 test(S s, typename S::size_type pos1, S str, typename S::size_type pos2, argument
32 s.insert(pos1, str, pos2, n);
34 assert(pos1 <= old_size && pos2 <= str.size());
39 assert(pos1 > old_size || pos2 > str.size());
46 test_npos(S s, typename S::size_type pos1, S str, typename S::size_type pos2, S expected) argument
52 s.insert(pos1, str, pos2);
54 assert(pos1 <= old_size && pos2 <= str.size());
59 assert(pos1 > old_size || pos2 > str.size());

Completed in 484 milliseconds

123