/external/srec/tools/grxmlcompile/ |
hashmap.cpp | 89 typename std::map<T1,T2>::iterator pos; local 90 for (pos = m_Map.begin(); pos != m_Map.end(); ++pos) { 91 if (pos->second == value) { 92 *index = (pos->first); 106 typename std::map<T1,T2>::iterator pos; local 130 typename std::map<T1,T2>::iterator pos; local 131 pos = m_Map.find(index); 132 if (m_Map.end() != pos) { 148 typename std::map<T1,T2>::iterator pos; local 160 typename std::map<T1,T2>::iterator pos; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
StringIO.py | 9 pos = f.tell() # get current position 10 f.seek(pos) # set current position 11 f.seek(pos, mode) # mode 0: absolute; 1: relative; 2: relative to EOF 16 f.truncate([size]) # truncate file at to at most size (default: current pos) 61 self.pos = 0 86 del self.buf, self.pos 95 def seek(self, pos, mode = 0): 109 pos += self.pos 111 pos += self.le [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
StringIO.py | 9 pos = f.tell() # get current position 10 f.seek(pos) # set current position 11 f.seek(pos, mode) # mode 0: absolute; 1: relative; 2: relative to EOF 16 f.truncate([size]) # truncate file at to at most size (default: current pos) 61 self.pos = 0 86 del self.buf, self.pos 95 def seek(self, pos, mode = 0): 109 pos += self.pos 111 pos += self.le [all...] |
/cts/tools/dasm/src/java_cup/ |
production.java | 358 int pos; local 382 for (pos = id_start = 0; pos <= len; pos++) 388 if (!is_id_char(buffer[pos])) 391 id_str = new String(buffer, id_start, pos - id_start); 396 if (buffer[pos] != '\0') 397 result.append(buffer, pos, 1); 410 if (is_id_start(buffer[pos])) 414 id_start = pos; 447 int pos; local 477 act_part.code_string(), pos, label_map, label_types)); local 614 int pos; local [all...] |
/external/qemu/android/skin/ |
rect.c | 80 r->pos.x = x; 81 r->pos.y = y; 90 r->pos.x += dx; 91 r->pos.y += dy; 102 x = src->pos.x; 103 y = src->pos.y; 106 dst->pos.x = -(y + h); 107 dst->pos.y = x; 113 dst->pos.x = -(src->pos.x + src->size.w) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
FrameSelection.cpp | 121 void FrameSelection::moveTo(const VisiblePosition &pos, EUserTriggered userTriggered, CursorAlignOnScroll align) 124 setSelection(VisibleSelection(pos.deepEquivalent(), pos.deepEquivalent(), pos.affinity(), m_selection.isDirectional()), options, align); 134 void FrameSelection::moveTo(const Position &pos, EAffinity affinity, EUserTriggered userTriggered) 137 setSelection(VisibleSelection(pos, affinity, m_selection.isDirectional()), options); 598 static void adjustPositionForUserSelectAll(VisiblePosition& pos, bool isForward) 600 if (Node* rootUserSelectAll = Position::rootUserSelectAllForNode(pos.deepEquivalent().anchorNode())) 601 pos = isForward ? positionAfterNode(rootUserSelectAll).downstream(CanCrossEditingBoundary) : positionBeforeNode(rootUserSelectAll).upstream(CanCrossEditingBoundary); 606 VisiblePosition pos(m_selection.extent(), m_selection.affinity()) 688 VisiblePosition pos; local 722 VisiblePosition pos; local 856 VisiblePosition pos; local 890 VisiblePosition pos; local 1059 VisiblePosition pos; local [all...] |
BreakBlockquoteCommand.cpp | 65 // pos is a position equivalent to the caret. We use downstream() so that pos will 67 Position pos = endingSelection().start().downstream(); local 70 Node* topBlockquote = highestEnclosingNodeOfType(pos, isMailBlockquote); 100 pos = pos.next(); 103 while (isFirstVisiblePositionInNode(VisiblePosition(pos), enclosingNodeOfType(pos, isMailBlockquote))) 104 pos = pos.previous() [all...] |
/device/lge/mako/camera/QCamera/stack/mm-jpeg-interface/src/ |
mm_jpeg_queue.c | 68 struct cam_list *pos = NULL; local 72 pos = head->next; 73 if (pos != head) { 74 node = member_of(pos, mm_jpeg_q_node_t, list); 112 struct cam_list *pos = NULL; local 116 pos = head->next; 118 while(pos != head) { 119 node = member_of(pos, mm_jpeg_q_node_t, list); 129 pos = pos->next [all...] |
/external/ceres-solver/internal/ceres/ |
block_random_access_sparse_matrix.cc | 85 int pos = 0; local 92 new CellInfo(values + pos); 93 pos += row_block_size * col_block_size; 104 int pos = local 107 for (int c = 0; c < col_block_size; ++c, ++pos) { 108 rows[pos] = col_layout[row_block_id] + r; 109 cols[pos] = col_layout[col_block_id] + c; 110 values[pos] = 1.0; 111 DCHECK_LT(rows[pos], tsm_->num_rows()); 112 DCHECK_LT(cols[pos], tsm_->num_rows()) [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
format.cpp | 111 FieldPosition pos(FieldPosition::DONT_CARE); 113 return format(obj, toAppendTo, pos, status); 164 * @param pos The position in pattern where the error occured 169 int32_t pos, 171 parseError.offset = pos; 175 int32_t start = (pos < U_PARSE_CONTEXT_LEN)? 0 : (pos - (U_PARSE_CONTEXT_LEN-1 177 int32_t stop = pos; 183 start = pos+1; 184 stop = ((pos+U_PARSE_CONTEXT_LEN)<=pattern.length()) ? (pos+(U_PARSE_CONTEXT_LEN-1)) [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/ |
CipherInputStream.java | 23 int pos; field in class:CipherInputStream 79 pos = blockSize; 103 pos = 0; 117 if (pos >= blockSize) 122 int avail = blockSize - pos; 124 System.arraycopy(buffer, pos, dst, off, copy); 125 pos += copy; 135 if (pos >= blockSize) 139 return buffer[pos++] & 0xff; 144 if (pos != blockSize [all...] |
/external/icu4c/i18n/ |
format.cpp | 115 FieldPosition pos(FieldPosition::DONT_CARE); 117 return format(obj, toAppendTo, pos, status); 168 * @param pos The position in pattern where the error occured 173 int32_t pos, 175 parseError.offset = pos; 179 int32_t start = (pos < U_PARSE_CONTEXT_LEN)? 0 : (pos - (U_PARSE_CONTEXT_LEN-1 181 int32_t stop = pos; 187 start = pos+1; 188 stop = ((pos+U_PARSE_CONTEXT_LEN)<=pattern.length()) ? (pos+(U_PARSE_CONTEXT_LEN-1)) [all...] |
/external/javassist/src/main/javassist/convert/ |
TransformCall.java | 65 public int transform(CtClass clazz, int pos, CodeIterator iterator, 68 int c = iterator.byteAt(pos); 71 int index = iterator.u16bitAt(pos + 1); 75 pos = match(c, pos, iterator, 80 return pos; 107 protected int match(int c, int pos, CodeIterator iterator, 118 iterator.writeByte(INVOKESPECIAL, pos); 126 iterator.write16bit(newIndex, pos + 1); 127 return pos; [all...] |
/external/oprofile/libutil++/ |
string_manip.cpp | 26 string::size_type pos = result.find_last_of(ch); local 27 if (pos != string::npos) 28 result.erase(0, pos + 1); 59 for (size_t pos = 0 ; pos != str.length() ; ++pos) { 60 char ch = str[pos]; 62 if (pos < str.length() - 1 && str[pos + 1] == sep) { 63 ++pos; [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_mschapv2.c | 245 const u8 *pos, *challenge; local 258 pos = (const u8 *) (req + 1); 259 challenge_len = *pos++; 281 challenge = pos; 282 pos += challenge_len; 285 pos, len); 346 const u8 *pos; local 351 pos = (const u8 *) (req + 1); 353 mschapv2_verify_auth_response(data->auth_response, pos, len)) { 360 pos += 2 + 2 * MSCHAPV2_AUTH_RESPONSE_LEN 398 char *pos, *msg = ""; local 759 const u8 *pos; local [all...] |
eap_wsc.c | 65 const char *pos, *end; local 70 pos = os_strstr(params, "new_ssid="); 71 if (pos == NULL) 73 pos += 9; 74 end = os_strchr(pos, ' '); 76 len = os_strlen(pos); 78 len = end - pos; 80 hexstr2bin(pos, cred->ssid, len / 2)) { 86 pos = os_strstr(params, "new_auth="); 87 if (pos == NULL) 147 const char *pos; local 408 const u8 *start, *pos, *end; local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
TreeWalker.java | 148 * @param pos Node in the tree where to start traversal 152 public void traverse(Node pos) throws org.xml.sax.SAXException 156 traverseFragment(pos); 167 * @param pos Node in the tree where to start traversal 171 public void traverseFragment(Node pos) throws org.xml.sax.SAXException 173 Node top = pos; 175 while (null != pos) 177 startNode(pos); 179 Node nextNode = pos.getFirstChild(); 183 endNode(pos); [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-ot-shape-fallback.cc | 187 buffer->pos[i].x_advance = 0; 188 buffer->pos[i].y_advance = 0; 207 hb_glyph_position_t &pos = buffer->pos[i]; local 208 pos.x_offset = pos.y_offset = 0; 219 pos.x_offset += base_extents.x_bearing - mark_extents.width / 2 - mark_extents.x_bearing; 222 pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width / 2 - mark_extents.x_bearing; 233 pos.x_offset += base_extents.x_bearing + (base_extents.width - mark_extents.width) / 2 - mark_extents.x_bearing; 240 pos.x_offset += base_extents.x_bearing - mark_extents.x_bearing 444 hb_glyph_position_t *pos = buffer->pos; local [all...] |
/external/javassist/src/main/javassist/bytecode/analysis/ |
Analyzer.java | 169 int pos = queue.take(); local 170 iter.move(pos); 173 Frame frame = frames[pos].copy(); 174 Subroutine subroutine = subroutines[pos]; 177 executor.execute(method, pos, iter, frame, subroutine); 179 throw new BadBytecode(e.getMessage() + "[pos = " + pos + "]", e); 182 int opcode = iter.byteAt(pos); 185 mergeTableSwitch(queue, pos, iter, frame); 187 mergeLookupSwitch(queue, pos, iter, frame) 234 int pos = 0; local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeySpecParser.java | 95 for (int pos = 0; pos < size; pos++) { 96 final char c = text.charAt(pos); 99 if (pos - start > 0) { 103 list.add(text.substring(start, pos)); 106 start = pos + 1; 109 pos++; 141 for (int pos = 0; pos < length; pos++) [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
printer.cc | 61 int pos = 0; // The number of bytes we've written so far. local 67 WriteRaw(text + pos, i - pos + 1); 68 pos = i + 1; 78 WriteRaw(text + pos, i - pos); 79 pos = i + 1; 82 const char* end = strchr(text + pos, variable_delimiter_); 85 end = text + pos; 89 string varname(text + pos, endpos - pos) [all...] |
/external/chromium_org/v8/test/cctest/ |
test-reloc-info.cc | 55 for (int i = 0, pos = 0; i < 100; i++, pc += i, pos += i) { 58 WriteRinfo(&writer, pc, mode, pos); 59 CHECK(writer.pos() - RelocInfoWriter::kMaxSize >= relocation_info_end); 62 relocation_info_size = static_cast<int>(buffer_end - writer.pos()); 70 for (int i = 0, pos = 0; i < 100; i++, pc += i, pos += i) { 76 CHECK_EQ(pos, static_cast<int>(it.rinfo()->data())); 87 for (int i = 0, pos = 0; i < 100; i++, pc += i, pos += i) [all...] |
/external/protobuf/src/google/protobuf/io/ |
printer.cc | 62 int pos = 0; // The number of bytes we've written so far. local 68 WriteRaw(text + pos, i - pos + 1); 69 pos = i + 1; 79 WriteRaw(text + pos, i - pos); 80 pos = i + 1; 83 const char* end = strchr(text + pos, variable_delimiter_); 86 end = text + pos; 90 string varname(text + pos, endpos - pos) [all...] |
/external/v8/test/cctest/ |
test-reloc-info.cc | 55 for (int i = 0, pos = 0; i < 100; i++, pc += i, pos += i) { 58 WriteRinfo(&writer, pc, mode, pos); 59 CHECK(writer.pos() - RelocInfoWriter::kMaxSize >= relocation_info_end); 62 relocation_info_size = static_cast<int>(buffer_end - writer.pos()); 70 for (int i = 0, pos = 0; i < 100; i++, pc += i, pos += i) { 76 CHECK_EQ(pos, static_cast<int>(it.rinfo()->data())); 87 for (int i = 0, pos = 0; i < 100; i++, pc += i, pos += i) [all...] |
/bionic/linker/ |
linker_environ.cpp | 86 int pos = 0; local 88 while (pos < MAX_ENV_LEN) { 89 if (name[pos] == '\0') { 92 if (name[pos] == '=' && first_equal_pos < 0) { 93 first_equal_pos = pos; 95 pos++; 99 if (pos >= MAX_ENV_LEN) {
|