HomeSort by relevance Sort by last modified time
    Searched refs:pos2 (Results 1 - 25 of 347) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/wpa_supplicant_8/src/utils/
ext_password_test.c 47 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);
  /frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
q_pulse.h 36 Word16 pos2, /* (i) position of the pulse 2 */
41 Word16 pos2, /* (i) position of the pulse 2 */
47 Word16 pos2, /* (i) position of the pulse 2 */
  /frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
d1035pf.cpp 134 Word16 i, j, pos1, pos2, sign, tmp;
172 pos2 = add (i, j); // position of pulse "j+5"
174 if (sub (pos2, pos1) < 0)
178 cod[pos2] = add (cod[pos2], sign);
212 Word16 i, j, pos1, pos2; local
252 pos2 = i + j; /* position of pulse "j+5" */
255 if (pos2 < pos1)
259 *(cod + pos2) += sign;
d8_31pf.cpp 567 Word16 pos2; local
609 pos2 = (linear_codewords[j + 4] << 2) + j;
612 if (pos2 < pos1)
617 if (pos2 < L_SUBFR)
619 cod[pos2] += sign; /* avoid buffer overflow */
  /external/bison/examples/calc++/
position.hh 139 operator== (const position& pos1, const position& pos2)
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)
152 return !(pos1 == pos2);
  /external/v8/test/cctest/
test-liveedit.cc 65 : pos1(pos1_param), pos2(pos2_param),
68 int pos2; member in class:__anon24430::DiffChunkStruct
82 void AddChunk(int pos1, int pos2, int len1, int len2) {
83 current_chunk_ = new(zone_) DiffChunkStruct(pos1, pos2, len1, len2);
109 int pos2 = 0; local
118 int diff_pos2 = pos2 + similar_part_length;
120 CHECK_EQ(diff_pos2, chunk->pos2);
124 CHECK(pos2 + j < len2);
125 CHECK_EQ(s1[pos1 + j], s2[pos2 + j]);
129 pos2 = diff_pos2 + chunk->len2
    [all...]
  /external/wpa_supplicant_8/src/wps/
wps_er_ssdp.c 26 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/ap/
mbo_ap.c 133 char *pos2 = pos; local
135 ret = os_snprintf(pos2, end - pos2,
140 if (os_snprintf_error(end - pos2, ret))
142 pos2 += ret;
145 ret = os_snprintf(pos2, end - pos2, "%u%s",
149 if (os_snprintf_error(end - pos2, ret)) {
150 pos2 = NULL;
153 pos2 += ret
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
userdatarequest.cpp 39 char *tmp, *pos, *pos2; local
51 pos2 = strchr(pos, ':');
52 if (pos2 == NULL) {
56 *pos2++ = '\0';
59 queryInfo->setText(pos2);
  /external/icu/icu4c/source/samples/uciter8/
uciter8.c 45 int32_t i, pos1, pos2, middle, length; local
50 pos2=iter2->getIndex(iter2, UITER_LENGTH);
51 if(length!=pos2) {
52 log_err("%s->getIndex(length)=%d != %d=%s->getIndex(length)\n", n1, length, pos2, n2);
65 pos2=iter2->move(iter2, middle, UITER_ZERO);
66 if(pos2!=middle) {
67 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n2, middle, pos2);
110 pos2=iter2->move(iter2, 0, UITER_START);
111 if(pos2<0) {
145 pos2=iter2->move(iter2, middle, UITER_ZERO)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/draw/
draw_pipe_wide_line.c 74 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[0] - half_width + bias
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
q_pulse.c 53 Word16 pos2, /* (i) position of the pulse 2 */
62 if (((pos2 ^ pos1) & NB_POS) == 0)
65 if(pos1 <= pos2) /* ((pos1 - pos2) <= 0) */
67 /* index = ((pos1 & mask) << N) + (pos2 & mask); */
68 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask))));
71 /* ((pos2 & mask) << N) + (pos1 & mask); */
72 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask))));
82 if (vo_sub((Word16) (pos1 & mask), (Word16) (pos2 & mask)) <= 0)
84 /* index = ((pos2 & mask) << N) + (pos1 & mask); *
    [all...]
  /external/google-breakpad/src/common/linux/
linux_libc_support.cc 200 size_t pos2 = 0; local
202 while (s2[pos2] != '\0') {
204 s1[pos1] = s2[pos2];
207 pos2++;
212 return pos2;
  /external/wpa_supplicant_8/wpa_supplicant/
hs20_supplicant.c 756 const u8 *pos2; local
786 pos2 = pos;
790 while (pos - pos2 >= 4 && prov->friendly_name_count < OSU_MAX_ITEMS) {
792 if (1 + pos2[0] > pos - pos2 || pos2[0] < 3) {
797 os_memcpy(f->lang, pos2 + 1, 3);
798 os_memcpy(f->text, pos2 + 1 + 3, pos2[0] - 3);
799 pos2 += 1 + pos2[0]
    [all...]
  /external/wpa_supplicant_8/src/eap_server/
eap_server_gtc.c 108 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 + 1
    [all...]
  /external/freetype/src/truetype/
ttpload.c 177 FT_ULong pos1, pos2; local
182 pos1 = pos2 = 0;
192 pos2 = pos1;
195 pos2 = FT_NEXT_ULONG( p );
203 pos2 = pos1;
206 pos2 = FT_NEXT_USHORT( p );
209 pos2 <<= 1;
224 if ( pos2 > face->glyf_len )
229 pos2, gindex + 1, face->glyf_len ));
230 pos2 = face->glyf_len
    [all...]
  /external/pdfium/third_party/freetype/src/truetype/
ttpload.c 185 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 = face->glyf_len
    [all...]
  /development/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/
SimpleStringAdapter.java 65 public void swap(int pos1, int pos2) {
67 mValues.set(pos1, mValues.get(pos2));
68 mValues.set(pos2, tmp);
70 notifyItemInserted(pos2);
  /external/v8/test/mjsunit/
debug-liveedit-diff.js 37 var pos2 = 0;
46 s2.substring(pos2, pos2 + similar_length));
50 pos2 += similar_length;
54 print(s2.substring(pos2, diff_array[i + 2]));
55 print(">>> " + pos2 + " " + diff_array[i + 2]);
57 pos2 = diff_array[i + 2];
62 assertEquals(similar_length, s2.length - pos2);
64 s2.substring(pos2, pos2 + similar_length))
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
tncc.c 620 char *pos, *pos2; local
628 pos2 = os_strstr(pos, "</Base64>");
629 if (pos2 == NULL)
631 *pos2 = '\0';
635 *pos2 = '<';
646 char *pos, *pos2, saved; local
662 pos2 = pos;
663 while (*pos2 != '\0' && *pos2 != '"' && *pos2 != '>'
690 char *buf, *start, *end, *pos, *pos2, *payload; local
1009 char *pos, *pos2; local
    [all...]
  /external/bison/data/
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/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
entropy_coding.c 848 int j, k, n, pos, pos2, posg, poss, offsg, offss, offs2; local
907 pos2 = offs2;
909 sum += tmpcoeffs_g[pos++] * WebRtcIsac_kKltT1Gain[pos2++];
918 pos2 = offs2;
920 sum += tmpcoeffs_s[pos++] * WebRtcIsac_kKltT1Shape[pos2++];
939 pos2 = j;
941 sum += tmpcoeffs2_g[pos] * WebRtcIsac_kKltT2Gain[pos2];
943 pos2 += SUBFRAMES;
952 pos2 = j;
954 sum += tmpcoeffs2_s[pos] * WebRtcIsac_kKltT2Shape[pos2];
999 int j, k, n, pos, pos2, poss, offss, offs2; local
1237 int j, k, n, pos, pos2, posg, offsg, offs2; local
1874 int j, k, n, pos, pos2, posg, offsg, offs2; local
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrwb/src/
dec_alg_codebook.cpp 147 int16 pos1, pos2, tmp; local
158 pos2 = add_int16((int16)(index & mask), offset); /* pos2 = ((index & mask) + offset); */
160 if (pos2 < pos1) /* ((pos2 - pos1) < 0) */
168 pos2 += NB_POS; /* pos2 += NB_POS; */
176 pos2 += NB_POS; /* pos2 += NB_POS; */
181 pos[1] = pos2;
    [all...]
  /frameworks/compile/mclinker/unittests/
BinTreeTest.cpp 53 BinaryTree<int>::iterator pos2 = mergeTree->root(); local
54 mergeTree->join<TreeIteratorBase::Rightward>(pos2, 1);
55 --pos2;
56 mergeTree->join<TreeIteratorBase::Rightward>(pos2, 1);
57 mergeTree->join<TreeIteratorBase::Leftward>(pos2, 1);
94 BinaryTree<int>::iterator pos2 = mergeTree->root(); local
95 mergeTree->merge<TreeIteratorBase::Rightward>(pos2, *m_pTestee);
106 BinaryTree<int>::iterator pos2 = mergeTree->root(); local
108 mergeTree->merge<TreeIteratorBase::Rightward>(pos2, *m_pTestee);
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
PacketReflector.java 64 private static void swapBytes(byte[] buf, int pos1, int pos2, int len) {
67 buf[pos1 + i] = buf[pos2 + i];
68 buf[pos2 + i] = b;

Completed in 554 milliseconds

1 2 3 4 5 6 7 8 91011>>