/external/webkit/Source/WebCore/editing/ |
BreakBlockquoteCommand.cpp | 64 // pos is a position equivalent to the caret. We use downstream() so that pos will 66 Position pos = endingSelection().start().downstream(); local 69 Node* topBlockquote = highestEnclosingNodeOfType(pos, isMailBlockquote); 99 pos = pos.next(); 102 while (isFirstVisiblePositionInNode(VisiblePosition(pos), enclosingNodeOfType(pos, isMailBlockquote))) 103 pos = pos.previous() [all...] |
/external/wpa_supplicant_8/src/wps/ |
ndef.c | 42 u8 *pos = data + 1; local 46 record->type_length = *pos++; 50 record->payload_length = *pos++; 54 record->payload_length = ntohl(*(u32 *)pos); 55 pos += sizeof(u32); 59 if ((int) size < pos - data + 1) 61 record->id_length = *pos++; 65 record->type = record->type_length == 0 ? NULL : pos; 66 pos += record->type_length; 68 record->id = record->id_length == 0 ? NULL : pos; [all...] |
/external/libnl-headers/netlink/ |
msg.h | 118 * @arg pos loop counter, set to current attribute 123 #define nlmsg_for_each_attr(pos, nlh, hdrlen, rem) \ 124 nla_for_each_attr(pos, nlmsg_attrdata(nlh, hdrlen), \ 129 * @arg pos loop counter, set to current message 134 #define nlmsg_for_each_msg(pos, head, len, rem) \ 135 for (pos = head, rem = len; \ 136 nlmsg_ok(pos, rem); \ 137 pos = nlmsg_next(pos, &(rem)))
|
/packages/inputmethods/PinyinIME/jni/share/ |
ngram.cpp | 64 for (size_t pos = 0; pos < num; pos++) { 66 idx = qsearch_nearest(code_book, freqs[pos], 0, kCodeBookSize - 1); 67 if (idx != code_idx[pos]) 69 code_idx[pos] = idx; 86 for (size_t pos = 0; pos < num; pos++) { 87 ret += distance(freqs[pos], code_book[code_idx[pos]]) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
tncc.c | 594 u8 * tncc_copy_send_buf(struct tncc_data *tncc, u8 *pos) 602 os_memcpy(pos, imc->imc_send, imc->imc_send_len); 603 pos += imc->imc_send_len; 609 return pos; 662 char *pos = os_strstr(start, "<Type>"); local 663 if (pos == NULL) 665 pos += 6; 666 *type = strtoul(pos, NULL, 16); 673 char *pos, *pos2; local 676 pos = os_strstr(start, "<Base64>") 699 char *pos, *pos2, saved; local 743 char *buf, *start, *end, *pos, *pos2, *payload; local 1062 char *pos, *pos2; local 1125 char *config, *end, *pos, *line_end; local 1337 const u8 *pos; local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
tncc.c | 594 u8 * tncc_copy_send_buf(struct tncc_data *tncc, u8 *pos) 602 os_memcpy(pos, imc->imc_send, imc->imc_send_len); 603 pos += imc->imc_send_len; 609 return pos; 662 char *pos = os_strstr(start, "<Type>"); local 663 if (pos == NULL) 665 pos += 6; 666 *type = strtoul(pos, NULL, 16); 673 char *pos, *pos2; local 676 pos = os_strstr(start, "<Base64>") 699 char *pos, *pos2, saved; local 743 char *buf, *start, *end, *pos, *pos2, *payload; local 1062 char *pos, *pos2; local 1125 char *config, *end, *pos, *line_end; local 1337 const u8 *pos; local [all...] |
/external/chromium/crypto/ |
rsa_private_key.cc | 217 bool PrivateKeyInfoCodec::ReadInteger(uint8** pos, 220 return ReadIntegerImpl(pos, end, out, big_endian_); 223 bool PrivateKeyInfoCodec::ReadIntegerWithExpectedSize(uint8** pos, 228 if (!ReadIntegerImpl(pos, end, &temp, true)) // Big-Endian 253 bool PrivateKeyInfoCodec::ReadIntegerImpl(uint8** pos, 258 if (!ReadTypeHeaderAndLength(pos, end, kIntegerTag, &length) || !length) 262 if (**pos == 0x00) { 263 ++(*pos); 268 out->insert(out->end(), *pos, (*pos) + length) [all...] |
/external/wpa_supplicant/ |
eap_fast.c | 240 const char *pos; member in struct:eap_fast_read_ctx 247 char *pos; local 255 if (rc->pos >= rc->end) 257 l_end = rc->pos; 260 len = l_end - rc->pos; 263 os_memcpy(buf, rc->pos, len); 265 rc->pos = l_end + 1; 269 pos = buf; 270 while (*pos != '\0') { 271 if (*pos == '\n' || *pos == '\r') 310 char *buf, *pos; local 529 char *buf, *pos; local 638 char *start, *pos, *buf; local 759 u8 *pos; local 797 u8 *pos = (u8 *) (hdr + 1); local 1050 u8 *pos; local 1382 u8 *pos; local 1527 u8 *in_decrypted, *pos, *end; local 1810 const u8 *pos; local [all...] |
config.c | 59 char *pos; local 61 pos = os_strrchr(value, '"'); 62 if (pos == NULL || pos[1] != '\0') 64 *pos = '\0'; 321 const char *pos; local 325 pos = os_strrchr(value, '"'); 326 if (pos) 327 len = pos - value; 437 char *buf, *pos, *end local 523 char *buf, *pos, *end; local 639 char *buf, *pos, *end; local 811 char *buf, *pos, *end; local 930 char *buf, *pos, *end; local 1741 struct wpa_config_blob *pos = config->blobs, *prev = NULL; local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
TreeWalker.java | 132 * @param pos Node in the tree where to start traversal 136 public void traverse(Node pos) throws org.xml.sax.SAXException 141 Node top = pos; 143 while (null != pos) 145 startNode(pos); 147 Node nextNode = pos.getFirstChild(); 151 endNode(pos); 153 if (top.equals(pos)) 156 nextNode = pos.getNextSibling(); 160 pos = pos.getParentNode() [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
tlsv1_cred.c | 93 const u8 *pos, *end; local 97 pos = search_tag(pem_cert_begin, buf, len); 98 if (!pos) { 107 while (pos) { 108 pos += os_strlen(pem_cert_begin); 109 end = search_tag(pem_cert_end, pos, buf + len - pos); 116 der = base64_decode(pos, end - pos, &der_len); 133 pos = search_tag(pem_cert_begin, end, buf + len - end) 272 const u8 *pos, *end; local 349 const u8 *pos, *end; local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
TextAlign.java | 57 float[] pos = new float[n * 2]; local 60 pos[i*2 + 0] = accumulatedX; 61 pos[i*2 + 1] = y; 64 return pos; 93 float[] pos = mPos; local 118 for (int i = 0; i < pos.length/2; i++) { 119 canvas.drawLine(pos[i*2+0], pos[i*2+1]-DY, 120 pos[i*2+0], pos[i*2+1]+DY*2, p) [all...] |
/external/javassist/src/main/javassist/expr/ |
MethodCall.java | 29 protected MethodCall(int pos, CodeIterator i, CtClass declaring, 31 super(pos, i, declaring, m); 35 int pos = currentPos; local 36 int c = iterator.byteAt(pos); 37 int index = iterator.u16bitAt(pos + 1); 86 int pos = currentPos; local 87 int c = iterator.byteAt(pos); 88 int index = iterator.u16bitAt(pos + 1); 181 int pos = currentPos; local 182 int index = iterator.u16bitAt(pos + 1) [all...] |
/external/oprofile/libpp/ |
profile.cpp | 49 odb_node_nr_t node_nr, pos; local 51 for (pos = 0; pos < node_nr; ++pos) 52 count += node[pos].value; 109 odb_node_nr_t node_nr, pos; local 112 for (pos = 0; pos < node_nr; ++pos) { 114 ordered_samples.find(node[pos].key) [all...] |
/external/yaffs2/yaffs2/ |
devextras.h | 189 * @pos: the &struct list_head to use as a loop counter. 192 #define list_for_each(pos, head) \ 193 for (pos = (head)->next, prefetch(pos->next); pos != (head); \ 194 pos = pos->next, prefetch(pos->next)) 199 * @pos: the &struct list_head to use as a loop counter. 203 #define list_for_each_safe(pos, n, head) [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
set_sign.cpp | 178 Word16 pos = 0; //initialization only needed to keep gcc silent 211 pos = j; 215 dn2[pos] = -1; 253 Word16 pos = 0; /* initialization only needed to keep gcc silent */ local 288 pos = j; 292 dn2[pos] = -1; 369 Word16 pos = 0; // initialization only needed to keep gcc silent 428 pos = j; 432 pos_max[i] = pos; 447 pos = ipos[0] 504 Word16 pos = 0; \/* initialization only needed to keep gcc silent *\/ local [all...] |
/frameworks/ex/variablespeed/jni/ |
ring_buffer.cc | 102 int pos = Tell(reader) % size_; local 103 if (pos + num_frames <= size_) { 104 memcpy(destination, samples_ + pos * num_channels_, 107 int wrapped = size_ - pos; 108 memcpy(destination, samples_ + pos * num_channels_, 117 int pos = Tell(reader) % size_; local 118 if (pos + num_frames <= size_) { 119 return samples_ + pos * num_channels_; 137 int pos = Tell(reader) % size_; local 138 if (pos + num_frames <= size_) [all...] |
/external/v8/test/mjsunit/ |
array-functions-prototype-misc.js | 125 var pos = poses[pos_pos]; 126 if (pos > 100) { 127 var a = new_function(pos); 128 assertEquals(pos, a.length); 130 assertEquals(pos + 1, a.length); 133 var c = splice_function(a, 10, pos - 20); 134 assertEquals(pos - 20, c.length); 140 the_prototype["" + (pos + 1)] = 'baz'; 148 if (pos == 0) { 153 var a = new_function(pos); [all...] |
/bionic/libc/string/ |
strerror_r.c | 59 size_t pos; local 72 pos = start + __digits10(a); 74 pos++; 76 if (pos < end) 77 buffer[pos] = '\0'; 80 pos--; 82 buffer[pos] = (a % 10) + '0'; 83 pos--; 87 buffer[pos] = '-';
|
/external/chromium/third_party/libjingle/source/talk/base/ |
stringutils.cc | 99 for (size_t pos = 0; pos < srclen; ++pos) 100 ASSERT(static_cast<unsigned char>(source[pos]) < 128); 114 size_t pos = 0; 115 while ((pos = s->find(search, pos, search_len)) != std::string::npos) { 116 s->replace(pos, search_len, replace, replace_len); 117 pos += replace_len;
|
/external/webkit/Source/WebCore/platform/text/qt/ |
TextBreakIteratorQt.cpp | 128 int pos = bi->toNextBoundary(); 129 DEBUG() << "textBreakNext" << pos; 130 return pos; 133 int textBreakPreceding(TextBreakIterator* bi, int pos) 135 bi->setPosition(pos); 137 DEBUG() << "textBreakPreceding" << pos << newpos; 141 int textBreakFollowing(TextBreakIterator* bi, int pos) 143 bi->setPosition(pos); 145 DEBUG() << "textBreakFollowing" << pos << newpos;
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
NumberFormatTest.java | 36 FieldPosition pos; local 41 pos = new FieldPosition(0); 42 out = format.format(new Long(Long.MAX_VALUE), new StringBuffer(), pos); 46 pos = new FieldPosition(0); 47 out = format.format(new Long(Long.MIN_VALUE), new StringBuffer(), pos); 51 pos = new FieldPosition(0); 53 .valueOf(Long.MAX_VALUE)), new StringBuffer(), pos); 57 pos = new FieldPosition(0); 59 .valueOf(Long.MIN_VALUE)), new StringBuffer(), pos); 64 pos = new FieldPosition(0) [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicHeaderValueParser.java | 240 int pos = cursor.getPos(); local 243 while (pos < indexTo) { 244 char ch = buffer.charAt(pos); 246 pos++; 251 cursor.updatePos(pos); 328 int pos = cursor.getPos(); local 334 while (pos < indexTo) { 335 char ch = buffer.charAt(pos); 343 pos++; 346 if (pos == indexTo) [all...] |
/external/astl/src/ |
list.cpp | 57 void ListNodeBase::hook(ListNodeBase *const pos) { 58 mNext = pos; 59 mPrev = pos->mPrev; 60 pos->mPrev->mNext = this; 61 pos->mPrev = this;
|
/external/javassist/src/main/javassist/convert/ |
TransformFieldAccess.java | 56 public int transform(CtClass clazz, int pos, 59 int c = iterator.byteAt(pos); 62 int index = iterator.u16bitAt(pos + 1); 75 iterator.write16bit(newIndex, pos + 1); 79 return pos;
|