/external/harfbuzz_ng/src/ |
hb-ot-shape.cc | 413 &c->buffer->pos[i].x_advance, 414 &c->buffer->pos[i].y_advance); 417 &c->buffer->pos[i].x_offset, 418 &c->buffer->pos[i].y_offset); 430 c->buffer->pos[i].x_advance = 0; 431 c->buffer->pos[i].y_advance = 0; 455 &c->buffer->pos[i].x_offset, 456 &c->buffer->pos[i].y_offset); 464 &c->buffer->pos[i].x_offset, 465 &c->buffer->pos[i].y_offset) [all...] |
hb-coretext.cc | 290 hb_glyph_position_t *pos = &buffer->pos[buffer->len]; local 309 hb_glyph_position_t *pos = &buffer->pos[i]; local 312 pos->x_advance = info->mask; 313 pos->x_offset = info->var1.u32; 314 pos->y_offset = info->var2.u32;
|
/external/linux-tools-perf/util/ |
evlist.c | 55 struct perf_evsel *pos, *n; local 57 list_for_each_entry_safe(pos, n, &evlist->entries, node) { 58 list_del_init(&pos->node); 59 perf_evsel__delete(pos); 159 struct hlist_node *pos; local 169 hlist_for_each_entry(sid, pos, head, node) 467 struct perf_evsel *pos, *first; local 469 pos = first = list_entry(evlist->entries.next, struct perf_evsel, node); 471 list_for_each_entry_continue(pos, &evlist->entries, node) { 472 if (first->attr.sample_type != pos->attr.sample_type 489 struct perf_evsel *pos, *first; local [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
H264TrackImpl.java | 236 long pos = reader.getPos(); local 244 int size = (int) (newpos - pos - prevScSize); 251 LOG.fine("Found startcode at " + (pos -4) + " Type: " + nal_unit_type + " ref idc: " + nal_ref_idc + " (size " + size + ")"); 302 pos = newpos; 515 private long pos = 0; field in class:H264TrackImpl.ReaderWrapper 525 pos++; 531 pos += read; 537 pos += seeked; 542 return pos; 547 LOG.fine("Marking with " + i + " at " + pos); [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_psk.c | 90 u8 *buf, *pos; local 154 pos = buf + data->id_p_len; 155 os_memcpy(pos, data->id_s, data->id_s_len); 156 pos += data->id_s_len; 157 os_memcpy(pos, hdr1->rand_s, EAP_PSK_RAND_LEN); 158 pos += EAP_PSK_RAND_LEN; 159 os_memcpy(pos, data->rand_p, EAP_PSK_RAND_LEN); 190 const u8 *pos; local 194 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, 196 hdr3 = (const struct eap_psk_hdr_3 *) pos; 376 const u8 *pos; local [all...] |
eap_sake.c | 368 const u8 *pos, *end; local 372 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, reqData, &len); 373 if (pos == NULL || len < sizeof(struct eap_sake_hdr)) { 378 req = (const struct eap_sake_hdr *) pos; 379 end = pos + len; 382 pos = (const u8 *) (req + 1); 387 pos, end - pos); 406 pos, end - pos); [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_common.c | 156 const u8 *pos; local 180 pos = wpabuf_head_u8(decrypted) + wpabuf_len(decrypted) - 1; 181 pad = *pos; 188 if (*pos-- != pad) { 458 const char *pos; local 462 pos = os_strchr(str, '-'); 463 if (pos == NULL) 465 pos++; 466 if (hexstr2bin(pos, &dev_type[2], 4)) 468 pos = os_strchr(pos, '-') [all...] |
/frameworks/base/tools/aapt/ |
StringPool.cpp | 123 ssize_t pos = vidx >= 0 ? mValues.valueAt(vidx) : -1; local 124 ssize_t eidx = pos >= 0 ? mEntryArray.itemAt(pos) : -1; 165 const bool styled = (pos >= 0 && (size_t)pos < mEntryStyleArray.size()) ? 166 mEntryStyleArray[pos].spans.size() : 0; 168 pos = mEntryArray.add(eidx); 170 vidx = mValues.add(value, pos); 173 ent.indices.add(pos); 176 NOISY(printf("Adding string %s to pool: pos=%d eidx=%d vidx=%d\n" 569 ssize_t pos = mValues.valueFor(val); local [all...] |
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
getopt_long.c | 158 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; local 171 pos = cstart; 173 if (pos >= panonopt_end) 174 pos -= nnonopts; 176 pos += nopts; 177 swap = nargv[pos]; 179 ((char **) nargv)[pos] = nargv[cstart];
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
SessionManager.java | 136 public PlaylistItem seek(String iid, long pos) { 138 log("seek: iid=" + iid +", pos=" + pos); 145 if (pos != item.getPosition()) { 146 item.setPosition(pos); 246 public void suspend(long pos) { 253 log("suspend: item=" + item + ", pos=" + pos); 259 item.setPosition(pos);
|
/external/chromium/net/base/ |
gzip_filter_unittest.cc | 339 int pos = corrupt_data_len / 2; local 340 corrupt_data[pos] = !corrupt_data[pos]; 360 int pos = corrupt_data_len / 2; local 361 int len = corrupt_data_len - pos - 1; 362 memmove(&corrupt_data[pos], &corrupt_data[pos+1], len);
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
rtpdump.cc | 158 size_t pos = first_line.find('/'); local 159 matched &= (pos != std::string::npos && pos < first_line.size() - 1); 160 for (++pos; pos < first_line.size() && matched; ++pos) { 161 matched &= (0 != isdigit(first_line[pos]));
|
/external/chromium_org/chrome/browser/profiles/ |
profile_downloader.cc | 101 size_t pos = old_spec.find(default_size_component); local 103 if (pos != std::string::npos) { 106 end = pos + default_size_component.size(); 112 pos = old_spec.find(file_name); 113 end = pos - 1; 117 if (pos != std::string::npos) { 118 std::string new_spec = old_spec.substr(0, pos) + new_size_component +
|
/external/chromium_org/content/browser/devtools/ |
devtools_protocol.cc | 44 size_t pos = method.find("."); local 45 if (pos != std::string::npos && pos > 0) 46 domain_ = method.substr(0, pos); 207 size_t pos = method->find("."); 208 if (pos == std::string::npos || pos == 0)
|
/external/chromium_org/net/base/ |
gzip_filter_unittest.cc | 329 int pos = corrupt_data_len / 2; local 330 corrupt_data[pos] = !corrupt_data[pos]; 350 int pos = corrupt_data_len / 2; local 351 int len = corrupt_data_len - pos - 1; 352 memmove(&corrupt_data[pos], &corrupt_data[pos+1], len);
|
/external/chromium_org/net/dns/ |
dns_response.cc | 39 const char* const pos = reinterpret_cast<const char*>(vpos); local 41 DCHECK_LE(packet_, pos); 42 DCHECK_LE(pos, packet_ + length_); 44 const char* p = pos; 51 if (pos >= end) 67 consumed = p - pos + sizeof(uint16); 89 consumed = p - pos;
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Position.cpp | 566 static bool isStreamer(const PositionIterator& pos) 568 if (!pos.node()) 571 if (isAtomicNode(pos.node())) 574 return pos.atStartOfNode(); [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
rtpdump.cc | 195 size_t pos = first_line.find('/'); local 196 matched &= (pos != std::string::npos && pos < first_line.size() - 1); 197 for (++pos; pos < first_line.size() && matched; ++pos) { 198 matched &= (0 != isdigit(first_line[pos]));
|
/external/chromium_org/third_party/mesa/src/src/getopt/ |
getopt_long.c | 125 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; local 138 pos = cstart; 140 if (pos >= panonopt_end) 141 pos -= nnonopts; 143 pos += nopts; 144 swap = nargv[pos]; 146 ((char **) nargv)[pos] = nargv[cstart];
|
/external/llvm/include/llvm/Bitcode/ |
BitstreamReader.h | 235 bool isEndPos(size_t pos) { 236 return BitStream->getBitcodeBytes().isObjectEnd(static_cast<uint64_t>(pos)); 239 bool canSkipToPos(size_t pos) const { 240 // pos can be skipped to if it is a valid address or one byte past the end. 241 return pos == 0 || BitStream->getBitcodeBytes().isValidAddress( 242 static_cast<uint64_t>(pos - 1)); 245 uint32_t getWord(size_t pos) { 247 BitStream->getBitcodeBytes().readBytes(pos, sizeof(buf), buf);
|
/external/lzma/CPP/7zip/UI/Common/ |
Extract.cpp | 168 int pos = arcPath.ReverseFind(L'.');
local 169 if (pos >= 0)
171 UString s = arcPath.Mid(pos + 1);
175 s = arcPath.Left(pos);
176 pos = s.ReverseFind(L'.');
177 if (pos >= 0)
179 int index2 = codecs->FindFormatForExtension(s.Mid(pos + 1));
|
/external/mesa3d/src/getopt/ |
getopt_long.c | 125 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; local 138 pos = cstart; 140 if (pos >= panonopt_end) 141 pos -= nnonopts; 143 pos += nopts; 144 swap = nargv[pos]; 146 ((char **) nargv)[pos] = nargv[cstart];
|
/external/wpa_supplicant_8/src/ap/ |
wmm.c | 59 u8 *pos = eid; local 61 (struct wmm_parameter_element *) (pos + 2); 94 pos = (u8 *) (wmm + 1); 95 eid[1] = pos - eid - 2; /* element length */ 97 return pos; 267 const u8 *pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 4; local 284 if (ieee802_11_parse_elems(pos, left, &elems, 1) == ParseFailed) {
|
/frameworks/av/media/libstagefright/ |
AACExtractor.cpp | 337 off64_t pos = 0; local 341 if (source->readAt(pos, id3header, sizeof(id3header)) 360 pos += len; 363 pos, pos); 368 if (source->readAt(pos, &header, 2) != 2) { 378 (*meta)->setInt64("offset", pos);
|
/frameworks/base/tools/velocityplot/ |
velocityplot.py | 48 self.pos = 0 52 index = self.buffer.find('\n', self.pos) 54 result = self.buffer[self.pos:index] 55 self.pos = index + 1 58 self.buffer = self.buffer[self.pos:] 59 self.pos = 0 72 self.pos = 0
|