/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);
|
/external/wpa_supplicant_8/src/ap/ |
mbo_ap.c | 132 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 += 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/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...] |
/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/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; 160 pos = pos2 + 1 [all...] |
tncs.c | 668 char *pos, *pos2; local 676 pos2 = os_strstr(pos, "</Base64>"); 677 if (pos2 == NULL) 679 *pos2 = '\0'; 683 *pos2 = '<'; 781 char *buf, *start, *end, *pos, *pos2, *payload; local 914 pos2 = os_strstr(pos, "</XML>"); 915 if (pos2 == NULL) { 920 xmlend = pos2; 963 char *pos, *pos2; local [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/wpa_supplicant_8/wpa_supplicant/ |
hs20_supplicant.c | 802 const u8 *pos2; local 832 pos2 = pos; 836 while (pos - pos2 >= 4 && prov->friendly_name_count < OSU_MAX_ITEMS) { 838 if (1 + pos2[0] > pos - pos2 || pos2[0] < 3) { 843 os_memcpy(f->lang, pos2 + 1, 3); 844 os_memcpy(f->text, pos2 + 1 + 3, pos2[0] - 3); 845 pos2 += 1 + pos2[0] [all...] |
/external/llvm/lib/Fuzzer/ |
FuzzerCrossOver.cpp | 26 size_t Pos2 = 0; 31 while (OutPos < MaxOutSize && (Pos1 < Size1 || Pos2 < Size2)) { 43 InPos = CurrentlyUsingFirstData ? &Pos2 : &Pos1;
|
/external/icu/icu4c/source/samples/uciter8/ |
uciter8.c | 55 int32_t i, pos1, pos2, middle, length; local 60 pos2=iter2->getIndex(iter2, UITER_LENGTH); 61 if(length!=pos2) { 62 log_err("%s->getIndex(length)=%d != %d=%s->getIndex(length)\n", n1, length, pos2, n2); 75 pos2=iter2->move(iter2, middle, UITER_ZERO); 76 if(pos2!=middle) { 77 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n2, middle, pos2); 120 pos2=iter2->move(iter2, 0, UITER_START); 121 if(pos2<0) { 155 pos2=iter2->move(iter2, middle, UITER_ZERO) [all...] |
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/adapter/ |
SimpleStringAdapter.java | 70 public void swap(int pos1, int pos2) { 72 mValues.set(pos1, mValues.get(pos2)); 73 mValues.set(pos2, tmp); 75 notifyItemInserted(pos2);
|
/external/pdfium/core/fxge/android/ |
cfpf_skiafontmgr.cpp | 242 uint32_t FPF_SkiaGetFaceCharset(TT_OS2* pOS2) { 244 if (pOS2) { 246 if (pOS2->ulCodePageRange1 & (1 << i)) 474 TT_OS2* pOS2 = (TT_OS2*)FT_Get_Sfnt_Table(face, ft_sfnt_os2); 475 if (pOS2) { 476 if (pOS2->ulCodePageRange1 & (1 << 31)) 478 if (pOS2->panose[0] == 2) { 479 uint8_t uSerif = pOS2->panose[1]; 484 if (pOS2 && (pOS2->ulCodePageRange1 & (1 << 31)) [all...] |
/prebuilts/build-tools/common/bison/ |
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/wpa_supplicant_8/src/eap_peer/ |
tncc.c | 619 char *pos, *pos2; local 627 pos2 = os_strstr(pos, "</Base64>"); 628 if (pos2 == NULL) 630 *pos2 = '\0'; 634 *pos2 = '<'; 645 char *pos, *pos2, saved; local 661 pos2 = pos; 662 while (*pos2 != '\0' && *pos2 != '"' && *pos2 != '>' 689 char *buf, *start, *end, *pos, *pos2, *payload; local 1008 char *pos, *pos2; local [all...] |
/external/freetype/src/truetype/ |
ttpload.c | 199 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 - pos1, gindex, face->glyf_len - pos1 )); 257 pos2 = face->glyf_len [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);
|
/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;
|
/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 */
|
/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...] |
/external/brotli/research/ |
draw_histogram.cc | 115 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/skia/gm/ |
pictureimagegenerator.cpp | 79 const SkScalar pos2[] = { 0, .01f, 1.0f/3, 1.0f/3, 2.0f/3, 2.0f/3, .99f, 1 }; local 90 SkASSERT(SK_ARRAY_COUNT(pos2) == SK_ARRAY_COUNT(colors2)); 91 paint.setShader(SkGradientShader::MakeLinear(pts2, colors2, pos2, SK_ARRAY_COUNT(pos2),
|
/external/skqp/gm/ |
pictureimagegenerator.cpp | 79 const SkScalar pos2[] = { 0, .01f, 1.0f/3, 1.0f/3, 2.0f/3, 2.0f/3, .99f, 1 }; local 90 SkASSERT(SK_ARRAY_COUNT(pos2) == SK_ARRAY_COUNT(colors2)); 91 paint.setShader(SkGradientShader::MakeLinear(pts2, colors2, pos2, SK_ARRAY_COUNT(pos2),
|
/external/pdfium/xfa/fgas/font/ |
cfgas_fontmgr.cpp | 854 TT_OS2* pOS2 = (TT_OS2*)FT_Get_Sfnt_Table(pFace, ft_sfnt_os2); 855 if (!pOS2) 858 if (pOS2->ulCodePageRange1 & (1 << 31)) 860 if (pOS2->panose[0] == 2) { 861 uint8_t uSerif = pOS2->panose[1]; 906 TT_OS2* pOS2 = (TT_OS2*)FT_Get_Sfnt_Table(pFace, ft_sfnt_os2); 907 if (!pOS2) { 912 pOS2->ulCodePageRange1 & 0xffff, (pOS2->ulCodePageRange1 >> 16) & 0xffff, 913 pOS2->ulCodePageRange2 & 0xffff, (pOS2->ulCodePageRange2 >> 16) & 0xffff} [all...] |
/external/icu/icu4c/source/tools/escapesrc/ |
escapesrc.cpp | 247 for(size_t pos2 = pos+1; trail>0; pos2++,trail--) { 248 linestr[pos2] = cp1047_to_8859(linestr[pos2]); 249 if(linestr[pos2] == 0x0A) { 250 linestr[pos2] = 0x85; // NL is ambiguous here
|