Searched defs:pos2 (Results 1 - 25 of 106) sorted by relevance

12345

/external/wpa_supplicant_8/hostapd/src/utils/
H A Dext_password_test.c47 char *pos, *pos2; local
61 pos2 = pos;
62 while (*pos2 != '|' && *pos2 != '\0')
63 pos2++;
64 buf = ext_password_alloc(pos2 - pos);
67 wpabuf_put_data(buf, pos, pos2 - pos);
/external/wpa_supplicant_8/src/utils/
H A Dext_password_test.c47 char *pos, *pos2; local
61 pos2 = pos;
62 while (*pos2 != '|' && *pos2 != '\0')
63 pos2++;
64 buf = ext_password_alloc(pos2 - pos);
67 wpabuf_put_data(buf, pos, pos2 - pos);
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dext_password_test.c47 char *pos, *pos2; local
61 pos2 = pos;
62 while (*pos2 != '|' && *pos2 != '\0')
63 pos2++;
64 buf = ext_password_alloc(pos2 - pos);
67 wpabuf_put_data(buf, pos, pos2 - pos);
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
H A Duserdatarequest.cpp39 char *tmp, *pos, *pos2; local
51 pos2 = strchr(pos, ':');
52 if (pos2 == NULL) {
56 *pos2++ = '\0';
59 queryInfo->setText(pos2);
/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/icu/icu4c/source/samples/uciter8/
H A Duciter8.c51 int32_t i, pos1, pos2, middle, length; local
56 pos2=iter2->getIndex(iter2, UITER_LENGTH);
57 if(length!=pos2) {
58 log_err("%s->getIndex(length)=%d != %d=%s->getIndex(length)\n", n1, length, pos2, n2);
71 pos2=iter2->move(iter2, middle, UITER_ZERO);
72 if(pos2!=middle) {
73 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n2, middle, pos2);
116 pos2=iter2->move(iter2, 0, UITER_START);
117 if(pos2<0) {
151 pos2
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_gtc.c108 const u8 *pos2, *end; local
119 pos2 = pos;
120 while (pos2 < end && *pos2)
121 pos2++;
122 if (pos2 == end) {
130 pos, pos2 - pos);
132 (pos2 - pos != (int) sm->identity_len ||
143 sm->identity_len = pos2 - pos;
161 pos = pos2
[all...]
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_er_ssdp.c26 char buf[MULTICAST_MAX_READ], *pos, *pos2, *start; local
82 pos2 = os_strstr(start, "max-age=");
83 if (pos2 == NULL)
85 pos2 += 8;
86 max_age = atoi(pos2);
89 pos2 = os_strstr(start, "uuid:");
90 if (pos2) {
91 pos2 += 5;
92 while (*pos2 == ' ')
93 pos2
[all...]
/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_gtc.c108 const u8 *pos2, *end; local
119 pos2 = pos;
120 while (pos2 < end && *pos2)
121 pos2++;
122 if (pos2 == end) {
130 pos, pos2 - pos);
132 (pos2 - pos != (int) sm->identity_len ||
143 sm->identity_len = pos2 - pos;
161 pos = pos2
[all...]
/external/wpa_supplicant_8/src/wps/
H A Dwps_er_ssdp.c26 char buf[MULTICAST_MAX_READ], *pos, *pos2, *start; local
82 pos2 = os_strstr(start, "max-age=");
83 if (pos2 == NULL)
85 pos2 += 8;
86 max_age = atoi(pos2);
89 pos2 = os_strstr(start, "uuid:");
90 if (pos2) {
91 pos2 += 5;
92 while (*pos2 == ' ')
93 pos2
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_server_gtc.c108 const u8 *pos2, *end; local
119 pos2 = pos;
120 while (pos2 < end && *pos2)
121 pos2++;
122 if (pos2 == end) {
130 pos, pos2 - pos);
132 (pos2 - pos != (int) sm->identity_len ||
143 sm->identity_len = pos2 - pos;
161 pos = pos2
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_er_ssdp.c26 char buf[MULTICAST_MAX_READ], *pos, *pos2, *start; local
82 pos2 = os_strstr(start, "max-age=");
83 if (pos2 == NULL)
85 pos2 += 8;
86 max_age = atoi(pos2);
89 pos2 = os_strstr(start, "uuid:");
90 if (pos2) {
91 pos2 += 5;
92 while (*pos2 == ' ')
93 pos2
[all...]
/external/brotli/research/
H A Ddraw_histogram.cc115 int pos2 = static_cast<int>(ceil(1.0 * (y + 1) * max_pos / width)); local
116 histo[x][y] += pos2 - pos;
122 pos2 = static_cast<int>(ceil(1.0 * right * max_pos / width));
123 histo[x][right] += pos + copy - 1 - pos2 + 1;
/external/freetype/src/truetype/
H A Dttpload.c199 FT_ULong pos1, pos2; local
204 pos1 = pos2 = 0;
214 pos2 = pos1;
217 pos2 = FT_NEXT_ULONG( p );
225 pos2 = pos1;
228 pos2 = FT_NEXT_USHORT( p );
231 pos2 <<= 1;
247 if ( pos2 > face->glyf_len )
256 pos2, gindex + 1, face->glyf_len ));
257 pos2
[all...]
/external/google-breakpad/src/common/linux/
H A Dlinux_libc_support.cc200 size_t pos2 = 0; local
202 while (s2[pos2] != '\0') {
204 s1[pos1] = s2[pos2];
207 pos2++;
212 return pos2;
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_wide_line.c74 float *pos2 = v2->data[pos]; local
77 const float dx = fabsf(pos0[0] - pos2[0]);
78 const float dy = fabsf(pos0[1] - pos2[1]);
96 pos2[1] = pos2[1] - half_width - bias;
99 if (pos0[0] < pos2[0]) {
103 pos2[0] -= 0.5f;
110 pos2[0] += 0.5f;
119 pos2[0] = pos2[
[all...]
/external/pdfium/third_party/freetype/src/truetype/
H A Dttpload.c185 FT_ULong pos1, pos2; local
190 pos1 = pos2 = 0;
200 pos2 = pos1;
203 pos2 = FT_NEXT_ULONG( p );
211 pos2 = pos1;
214 pos2 = FT_NEXT_USHORT( p );
217 pos2 <<= 1;
232 if ( pos2 > face->glyf_len )
237 pos2, gindex + 1, face->glyf_len ));
238 pos2
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dmbo_ap.c132 char *pos2 = pos; local
134 ret = os_snprintf(pos2, end - pos2,
139 if (os_snprintf_error(end - pos2, ret))
141 pos2 += ret;
144 ret = os_snprintf(pos2, end - pos2, "%u%s",
148 if (os_snprintf_error(end - pos2, ret)) {
149 pos2 = NULL;
152 pos2
[all...]
/external/wpa_supplicant_8/hostapd/src/common/
H A Dcli.c256 char *pos2 = os_strrchr(pos, '"'); local
257 if (pos2)
258 pos = pos2 + 1;
/external/wpa_supplicant_8/src/ap/
H A Dmbo_ap.c132 char *pos2 = pos; local
134 ret = os_snprintf(pos2, end - pos2,
139 if (os_snprintf_error(end - pos2, ret))
141 pos2 += ret;
144 ret = os_snprintf(pos2, end - pos2, "%u%s",
148 if (os_snprintf_error(end - pos2, ret)) {
149 pos2 = NULL;
152 pos2
[all...]
/external/wpa_supplicant_8/src/common/
H A Dcli.c256 char *pos2 = os_strrchr(pos, '"'); local
257 if (pos2)
258 pos = pos2 + 1;
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dmbo_ap.c132 char *pos2 = pos; local
134 ret = os_snprintf(pos2, end - pos2,
139 if (os_snprintf_error(end - pos2, ret))
141 pos2 += ret;
144 ret = os_snprintf(pos2, end - pos2, "%u%s",
148 if (os_snprintf_error(end - pos2, ret)) {
149 pos2 = NULL;
152 pos2
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dcli.c256 char *pos2 = os_strrchr(pos, '"'); local
257 if (pos2)
258 pos = pos2 + 1;
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/
H A Dsize_T_size_size.pass.cpp13 // basic_string& assign(size_type pos1, const T& t, size_type pos2, size_type n=npos); // C++17
26 test(S s, typename S::size_type pos1, SV sv, typename S::size_type pos2, argument
32 if (pos1 <= old_size && pos2 <= sv.size())
34 s.insert(pos1, sv, pos2, n);
43 s.insert(pos1, sv, pos2, n);
48 assert(pos1 > old_size || pos2 > sv.size());
57 test_npos(S s, typename S::size_type pos1, SV sv, typename S::size_type pos2, S expected) argument
62 if (pos1 <= old_size && pos2 <= sv.size())
64 s.insert(pos1, sv, pos2);
73 s.insert(pos1, sv, pos2);
[all...]
H A Dsize_string_size_size.pass.cpp14 // size_type pos2, size_type n=npos);
26 test(S s, typename S::size_type pos1, S str, typename S::size_type pos2, argument
31 if (pos1 <= old_size && pos2 <= str.size())
33 s.insert(pos1, str, pos2, n);
42 s.insert(pos1, str, pos2, n);
47 assert(pos1 > old_size || pos2 > str.size());
56 test_npos(S s, typename S::size_type pos1, S str, typename S::size_type pos2, S expected) argument
60 if (pos1 <= old_size && pos2 <= str.size())
62 s.insert(pos1, str, pos2);
71 s.insert(pos1, str, pos2);
[all...]

Completed in 518 milliseconds

12345