/external/chromium/net/tools/dump_cache/ |
cache_dumper.cc | 44 std::wstring::size_type pos(0); 51 pos = 4; 54 while ((pos = path.find(backslash, pos)) != std::wstring::npos) { 55 std::wstring subdir = path.substr(0, pos); 58 pos++; 179 std::string::size_type pos(0); 180 if ((pos = url.find("http")) != 0) { 181 if (pos != std::string::npos) 182 url = url.substr(pos); [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
linux.cc | 162 size_t pos = tokens[0].length() - 1; local 163 while ((pos > 0) && isspace(tokens[0][pos])) { 164 pos--; 166 tokens[0].erase(pos + 1); 168 pos = 0; 169 while (pos < tokens[1].length() && isspace(tokens[1][pos])) { 170 pos++; 172 tokens[1].erase(0, pos); [all...] |
/external/chromium_org/net/tools/dump_cache/ |
cache_dumper.cc | 49 std::wstring::size_type pos(0); 56 pos = 4; 59 while ((pos = path.value().find(backslash, pos)) != std::wstring::npos) { 60 base::FilePath::StringType subdir = path.value().substr(0, pos); 63 pos++; 187 std::string::size_type pos(0); 188 if ((pos = url.find("http")) != 0) { 189 if (pos != std::string::npos) 190 url = url.substr(pos); [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Gradient.cpp | 176 // Collect sorted stop position and color information into the pos and colors 181 size_t count, SkScalar* pos, SkColor* colors) 187 pos[0] = WebCoreFloatToSkScalar(0.0); 195 pos[0] = WebCoreFloatToSkScalar(0.0); 201 pos[i] = WebCoreFloatToSkScalar(stop->stop); 209 pos[start + count] = WebCoreFloatToSkScalar(1.0); 229 SkScalar* pos = (SkScalar*)(colors + countUsed); local 231 fillStops(m_stops.data(), m_stops.size(), pos, colors); 251 m_gradient = adoptRef(SkGradientShader::CreateRadial(m_p1, m_r1, colors, pos, static_cast<int>(countUsed), tile, 0, shouldDrawInPMColorSpace)); 257 m_gradient = adoptRef(SkGradientShader::CreateTwoPointConical(m_p0, radius0, m_p1, radius1, colors, pos, static_cast<int>(countUsed), tile, 0, shouldDrawInPMColorSpace)) [all...] |
/external/chromium_org/third_party/icu/source/common/ |
util.cpp | 125 * Skip over a sequence of zero or more white space characters at pos. 126 * @param advance if true, advance pos to the first non-white-space 127 * character at or after pos, or str.length(), if there is none. 128 * Otherwise leave pos unchanged. 130 * after pos, or str.length(), if there is none. 132 int32_t ICU_Utility::skipWhitespace(const UnicodeString& str, int32_t& pos, 134 int32_t p = pos; 143 pos = p; 158 * @param pos either the start or limit of a range of 'text', to skip 163 * 'pos' [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
msfmrgts.cpp | 105 FieldPosition pos(FieldPosition::DONT_CARE); 106 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); 124 tempBuffer = messageFormatter->format(NULL, 0, tempBuffer, pos, status); 131 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); 194 FieldPosition pos(FieldPosition::DONT_CARE); 195 tempBuffer = messageFormatter->format(params, 1, tempBuffer, pos, status); 260 tempBuffer = messageFormatter->format(params, 1, tempBuffer, pos, status); 279 ParsePosition pos(0); 280 if (pos.getErrorIndex() != -1) { 290 fmt->parse(str, pos, count) [all...] |
numfmtst.h | 160 void expectPosition(FieldPosition& pos, int32_t id, int32_t start, int32_t limit, 203 int32_t pos, int32_t width, UChar pad); 206 int32_t pos, int32_t width, UChar pad) { 207 expectPad(fmt, UnicodeString(pat, ""), pos, width, pad); 211 int32_t pos, int32_t width, const UnicodeString& pad); 214 int32_t pos, int32_t width, const UnicodeString& pad) { 215 expectPad(fmt, UnicodeString(pat, ""), pos, width, pad); 225 int32_t pos); 228 int32_t pos) { 229 expectPad(fmt, pat, pos, 0, (UChar)0) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
linux.cc | 237 size_t pos = tokens[0].length() - 1; local 238 while ((pos > 0) && isspace(tokens[0][pos])) { 239 pos--; 241 tokens[0].erase(pos + 1); 243 pos = 0; 244 while (pos < tokens[1].length() && isspace(tokens[1][pos])) { 245 pos++; 247 tokens[1].erase(0, pos); [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
7zFile.c | 167 WRes File_Seek(CSzFile *p, Int64 *pos, ESzSeek origin) 173 value.LowPart = (DWORD)*pos; 174 value.HighPart = (LONG)((UInt64)*pos >> 16 >> 16); /* for case when UInt64 is 32-bit only */ 189 *pos = ((Int64)value.HighPart << 32) | value.LowPart; 203 res = fseek(p->file, (long)*pos, moveMethod); 204 *pos = ftell(p->file); 227 long pos = ftell(p->file); 230 fseek(p->file, pos, SEEK_SET); 259 static SRes FileInStream_Seek(void *pp, Int64 *pos, ESzSeek origin) 262 return File_Seek(&p->file, pos, origin) [all...] |
LzFind.c | 48 UInt32 MatchFinder_GetNumAvailableBytes(CMatchFinder *p) { return p->streamPos - p->pos; } 53 p->pos -= subValue; 74 Byte *dest = p->buffer + (p->streamPos - p->pos); 87 if (p->streamPos - p->pos > p->keepSizeAfter) 96 (size_t)(p->streamPos - p->pos + p->keepSizeBefore)); 112 if (p->keepSizeAfter >= p->streamPos - p->pos) 188 /* we need one additional byte, since we use MoveBlock after pos++ and before dictionary using */ 248 UInt32 limit = kMaxValForNormalize - p->pos; 252 limit2 = p->streamPos - p->pos; 263 UInt32 lenLimit = p->streamPos - p->pos; [all...] |
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
LzFind.c | 49 UInt32 MatchFinder_GetNumAvailableBytes(CMatchFinder *p) { return p->streamPos - p->pos; } 54 p->pos -= subValue; 75 Byte *dest = p->buffer + (p->streamPos - p->pos); 88 if (p->streamPos - p->pos > p->keepSizeAfter) 97 (size_t)(p->streamPos - p->pos + p->keepSizeBefore)); 113 if (p->keepSizeAfter >= p->streamPos - p->pos) 189 /* we need one additional byte, since we use MoveBlock after pos++ and before dictionary using */ 249 UInt32 limit = kMaxValForNormalize - p->pos; 253 limit2 = p->streamPos - p->pos; 264 UInt32 lenLimit = p->streamPos - p->pos; [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_symbolize_addr2line_linux.cc | 174 char *pos = (char*)internal_strchr(func.data(), '\n'); local 175 if (pos && func[0] != '?') { 176 res->func = (char*)internal_alloc(MBlockReportStack, pos - func.data() + 1); 177 internal_memcpy(res->func, func.data(), pos - func.data()); 178 res->func[pos - func.data()] = 0; 179 char *pos2 = (char*)internal_strchr(pos, ':'); 181 res->file = (char*)internal_alloc(MBlockReportStack, pos2 - pos - 1 + 1); 182 internal_memcpy(res->file, pos + 1, pos2 - pos - 1); 183 res->file[pos2 - pos - 1] = 0 [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/signature/ |
RSASHA1Verify.java | 192 int pos = startpos + 1; local 196 if (pos >= v.length) 198 log.warning("ssh-rsa signature: pos >= v.length"); 201 if (v[pos] == 0x00) 203 if (v[pos] != (byte) 0xff) 205 log.warning("ssh-rsa signature: v[pos] != (byte) 0xff"); 208 pos++; 211 int num_pad = pos - (startpos + 1); 219 pos++; 221 if (pos >= v.length [all...] |
/external/harfbuzz/src/ |
harfbuzz-hangul.c | 98 int pos = 1; local 100 while (pos < end - start) { 101 HangulType newState = hangul_type(uc[pos]); 122 ++pos; 126 return start+pos; 141 const HB_UChar16 *ch = item->string + item->item.pos; 215 const HB_UChar16 *uc = item->string + item->item.pos; 233 int sstart = item->item.pos; 244 syllable.item.pos = sstart; 257 logClusters[i-item->item.pos] = first_glyph [all...] |
harfbuzz-tibetan.c | 106 const HB_UChar16 *str = item->string + item->item.pos; 166 int pos = 0; local 169 /* qDebug("state[%d]=%d (uc=%4x)", pos, state, uc[pos]);*/ 170 pos++; 178 while (pos < end - start) { 179 TibetanForm newState = tibetan_form(uc[pos]); 198 pos++; 203 return start+pos; 215 int sstart = item->item.pos; [all...] |
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-hangul.c | 98 int pos = 1; local 100 while (pos < end - start) { 101 HangulType newState = hangul_type(uc[pos]); 122 ++pos; 126 return start+pos; 141 const HB_UChar16 *ch = item->string + item->item.pos; 215 const HB_UChar16 *uc = item->string + item->item.pos; 233 int sstart = item->item.pos; 244 syllable.item.pos = sstart; 257 logClusters[i-item->item.pos] = first_glyph [all...] |
harfbuzz-tibetan.c | 106 const HB_UChar16 *str = item->string + item->item.pos; 166 int pos = 0; local 169 /* qDebug("state[%d]=%d (uc=%4x)", pos, state, uc[pos]);*/ 170 pos++; 178 while (pos < end - start) { 179 TibetanForm newState = tibetan_form(uc[pos]); 198 pos++; 203 return start+pos; 215 int sstart = item->item.pos; [all...] |
/external/icu4c/common/ |
util.cpp | 126 * Skip over a sequence of zero or more white space characters at pos. 127 * @param advance if true, advance pos to the first non-white-space 128 * character at or after pos, or str.length(), if there is none. 129 * Otherwise leave pos unchanged. 131 * after pos, or str.length(), if there is none. 133 int32_t ICU_Utility::skipWhitespace(const UnicodeString& str, int32_t& pos, 135 int32_t p = pos; 139 pos = p; 154 * @param pos either the start or limit of a range of 'text', to skip 159 * 'pos' [all...] |
/external/icu4c/test/intltest/ |
msfmrgts.cpp | 102 FieldPosition pos(FieldPosition::DONT_CARE); 103 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); 121 tempBuffer = messageFormatter->format(NULL, 0, tempBuffer, pos, status); 128 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); 196 FieldPosition pos(FieldPosition::DONT_CARE); 197 tempBuffer = messageFormatter->format(params, 1, tempBuffer, pos, status); 262 tempBuffer = messageFormatter->format(params, 1, tempBuffer, pos, status); 281 ParsePosition pos(0); 282 if (pos.getErrorIndex() != -1) { 292 fmt->parse(str, pos, count) [all...] |
numfmtst.h | 172 void expectPosition(FieldPosition& pos, int32_t id, int32_t start, int32_t limit, 215 int32_t pos, int32_t width, UChar pad); 218 int32_t pos, int32_t width, UChar pad) { 219 expectPad(fmt, UnicodeString(pat, ""), pos, width, pad); 223 int32_t pos, int32_t width, const UnicodeString& pad); 226 int32_t pos, int32_t width, const UnicodeString& pad) { 227 expectPad(fmt, UnicodeString(pat, ""), pos, width, pad); 237 int32_t pos); 240 int32_t pos) { 241 expectPad(fmt, pat, pos, 0, (UChar)0) [all...] |
/external/lzma/C/ |
7zFile.c | 167 WRes File_Seek(CSzFile *p, Int64 *pos, ESzSeek origin)
173 value.LowPart = (DWORD)*pos;
174 value.HighPart = (LONG)((UInt64)*pos >> 16 >> 16); /* for case when UInt64 is 32-bit only */
189 *pos = ((Int64)value.HighPart << 32) | value.LowPart;
203 res = fseek(p->file, (long)*pos, moveMethod);
204 *pos = ftell(p->file);
227 long pos = ftell(p->file);
230 fseek(p->file, pos, SEEK_SET);
259 static SRes FileInStream_Seek(void *pp, Int64 *pos, ESzSeek origin)
262 return File_Seek(&p->file, pos, origin); [all...] |
LzFind.c | 48 UInt32 MatchFinder_GetNumAvailableBytes(CMatchFinder *p) { return p->streamPos - p->pos; }
53 p->pos -= subValue;
74 Byte *dest = p->buffer + (p->streamPos - p->pos);
87 if (p->streamPos - p->pos > p->keepSizeAfter)
96 (size_t)(p->streamPos - p->pos + p->keepSizeBefore));
112 if (p->keepSizeAfter >= p->streamPos - p->pos)
188 /* we need one additional byte, since we use MoveBlock after pos++ and before dictionary using */
248 UInt32 limit = kMaxValForNormalize - p->pos;
252 limit2 = p->streamPos - p->pos;
263 UInt32 lenLimit = p->streamPos - p->pos;
[all...] |
/external/pixman/pixman/ |
pixman-gradient-walker.c | 55 pixman_fixed_48_16_t pos) 67 x = (int32_t)pos & 0xffff; 71 x = (int32_t)pos & 0xffff; 72 if ((int32_t)pos & 0x10000) 77 x = pos; 94 left_x += (pos - x); 95 right_x += (pos - x); 99 if ((int32_t)pos & 0x10000) 114 left_x += (pos - x); 115 right_x += (pos - x) [all...] |
/external/wpa_supplicant_8/src/tls/ |
pkcs5.c | 49 const u8 *enc_alg_end, *pos, *end; local 59 if (asn1_get_oid(enc_alg, enc_alg_end - enc_alg, &oid, &pos)) { 81 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 || 89 pos = hdr.payload; 93 if (asn1_get_next(pos, end - pos, &hdr) < 0 || 102 pos = hdr.payload + hdr.length; 109 if (asn1_get_next(pos, end - pos, &hdr) < 0 | [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
bgscan_simple.c | 86 const char *pos; local 93 pos = os_strchr(params, ':'); 94 if (pos == NULL) 96 pos++; 97 data->signal_threshold = atoi(pos); 98 pos = os_strchr(pos, ':'); 99 if (pos == NULL) { 104 pos++; 105 data->long_interval = atoi(pos); [all...] |