Searched refs:cursor (Results 201 - 225 of 609) sorted by relevance

1234567891011>>

/external/ppp/pppd/plugins/rp-pppoe/
H A Dcommon.c99 unsigned char *cursor = packet.payload; local
128 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE);
129 cursor += sizeof(pid) + TAG_HDR_SIZE;
140 memcpy(cursor, &err, elen + TAG_HDR_SIZE);
141 cursor += elen + TAG_HDR_SIZE;
147 CHECK_ROOM(cursor, packet.payload,
149 memcpy(cursor, &conn->cookie, ntohs(conn->cookie.length) + TAG_HDR_SIZE);
150 cursor += ntohs(conn->cookie.length) + TAG_HDR_SIZE;
155 CHECK_ROOM(cursor, packet.payload,
157 memcpy(cursor,
[all...]
H A Ddiscovery.c266 unsigned char *cursor = packet.payload; local
290 CHECK_ROOM(cursor, packet.payload, plen);
298 cursor += namelen + TAG_HDR_SIZE;
310 CHECK_ROOM(cursor, packet.payload, sizeof(pid) + TAG_HDR_SIZE);
311 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE);
312 cursor += sizeof(pid) + TAG_HDR_SIZE;
323 CHECK_ROOM(cursor, packet.payload, sizeof(mru) + TAG_HDR_SIZE);
324 memcpy(cursor, &maxPayload, sizeof(mru) + TAG_HDR_SIZE);
325 cursor += sizeof(mru) + TAG_HDR_SIZE;
454 unsigned char *cursor local
[all...]
/external/pdfium/third_party/freetype/src/cid/
H A Dcidparse.c73 if ( ft_strncmp( (char *)stream->cursor,
149 parser->root.cursor = parser->postscript;
150 parser->root.limit = parser->root.cursor + ps_len;
158 arg1 = parser->root.cursor;
161 arg2 = parser->root.cursor;
166 cur = parser->root.cursor;
205 cur = parser->root.cursor;
/external/protobuf/js/binary/
H A Ddecoder.js379 * Moves the read cursor back to the start of the block.
387 * Returns the internal read cursor.
388 * @return {number} The internal read cursor.
396 * Returns the internal read cursor.
397 * @param {number} cursor The new cursor.
399 jspb.BinaryDecoder.prototype.setCursor = function(cursor) {
400 this.cursor_ = cursor;
405 * Advances the stream cursor by the given number of bytes.
908 var cursor
[all...]
/external/v8/src/crankshaft/
H A Dhydrogen-bce.cc239 for (HInstruction* cursor = end_of_scan_range; cursor != insert_before;) {
240 if (cursor == left_input) must_move_left_input = true;
241 if (cursor == right_input) must_move_right_input = true;
242 if (cursor == context) must_move_context = true;
243 if (cursor == index) must_move_index = true;
244 if (cursor->previous() == NULL) {
245 cursor = cursor->block()->dominator()->end();
247 cursor
[all...]
/external/clang/tools/libclang/
H A DCXCursor.cpp86 // Check if cursor points to a selector id.
521 // Check if cursor points to a selector id.
971 void cxcursor::getOverriddenCursors(CXCursor cursor, argument
973 assert(clang_isDeclaration(cursor.kind));
974 const NamedDecl *D = dyn_cast_or_null<NamedDecl>(getCursorDecl(cursor));
978 CXTranslationUnit TU = getCursorTU(cursor);
989 cxcursor::getSelectorIdentifierIndexAndLoc(CXCursor cursor) { argument
990 if (cursor.kind == CXCursor_ObjCMessageExpr) {
991 if (cursor.xdata != -1)
992 return std::make_pair(cursor
1006 getSelectorIdentifierCursor(int SelIdx, CXCursor cursor) argument
1029 getTypeRefCursor(CXCursor cursor) argument
1088 clang_Cursor_isNull(CXCursor cursor) argument
1092 clang_Cursor_getTranslationUnit(CXCursor cursor) argument
1300 getHashValue(const CXCursor &cursor) argument
1321 clang_CXCursorSet_contains(CXCursorSet set, CXCursor cursor) argument
1328 clang_CXCursorSet_insert(CXCursorSet set, CXCursor cursor) argument
1343 clang_getCursorCompletionString(CXCursor cursor) argument
1401 clang_getOverriddenCursors(CXCursor cursor, CXCursor **overridden, unsigned *num_overridden) argument
[all...]
H A DCXCursor.h66 /// \brief Unpack an ObjCSuperClassRef cursor into the interface it references
76 /// \brief Unpack an ObjCProtocolRef cursor into the protocol it references
86 /// \brief Unpack an ObjCClassRef cursor into the class it references
95 /// \brief Unpack a TypeRef cursor into the class it references
103 /// \brief Unpack a TemplateRef cursor into the template it references and
113 /// \brief Unpack a NamespaceRef cursor into the namespace or namespace alias
121 /// \brief Unpack a VariableRef cursor into the variable it references and the
129 /// \brief Unpack a MemberRef cursor into the field it references and the
133 /// \brief Create a CXX base specifier cursor.
137 /// \brief Unpack a CXXBaseSpecifier cursor int
264 getSelectorIdentifierIndex(CXCursor cursor) argument
267 getSelectorIdentifierLoc(CXCursor cursor) argument
273 getTypeRefedCallExprCursor(CXCursor cursor) argument
[all...]
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
H A DCapabilityPolling.java477 Cursor cursor = null;
483 cursor = mEABContactManager.query(baseQuery);
484 if (cursor == null) {
488 int count = cursor.getCount();
498 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) {
499 long id = cursor.getLong(cursor.getColumnIndex(Contacts.Impl._ID));
500 long last = cursor
[all...]
H A DEABService.java458 Cursor cursor = null;
460 cursor = getContentResolver().query(ContactsContract.Data.CONTENT_URI,
463 if (null != cursor) {
464 int count = cursor.getCount();
465 logger.debug("cursor count : " + count);
468 while (cursor.moveToNext()) {
469 Long dataId = Long.valueOf(cursor.getLong(cursor.getColumnIndex(
471 Long contactId = Long.valueOf(cursor.getLong(cursor
[all...]
/external/libedit/src/
H A Dchared.c68 vu->cursor = (int)(el->el_line.cursor - el->el_line.buffer);
105 if (el->el_line.cursor < el->el_line.lastchar) {
107 for (cp = el->el_line.lastchar; cp >= el->el_line.cursor; cp--)
115 * Delete num characters after the cursor
121 if (el->el_line.cursor + num > el->el_line.lastchar)
122 num = (int)(el->el_line.lastchar - el->el_line.cursor);
126 cv_yank(el, el->el_line.cursor, num);
132 for (cp = el->el_line.cursor; cp <= el->el_line.lastchar; cp++)
141 * Delete the character after the cursor, d
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DStringReplacer.java40 * True if this object outputs a cursor position.
61 * text and sets the cursor to the given position.
65 * @param theCursorPos cursor position that will be returned by
82 * text and does not modify the cursor.
118 int[] cursor) {
131 // Setup default cursor position (for cursorPos within output)
171 // Record the position of the cursor
206 int len = r.replace(text, destLimit, destLimit, cursor);
217 // Record the position of the cursor
232 // Adjust the cursor fo
115 replace(Replaceable text, int start, int limit, int[] cursor) argument
[all...]
/external/icu/icu4c/source/i18n/
H A Dstrrepl.cpp30 * text and sets the cursor to the given position.
34 * @param theCursorPos cursor position that will be returned by
51 * text and does not modify the cursor.
107 int32_t& cursor) {
120 // Setup default cursor position (for cursorPos within output)
160 // Record the position of the cursor
179 int32_t len = r->replace(text, destLimit, destLimit, cursor);
190 // Record the position of the cursor
205 // Adjust the cursor for positions outside the key. These
233 cursor
104 replace(Replaceable& text, int32_t start, int32_t limit, int32_t& cursor) argument
247 int32_t cursor = cursorPos; local
[all...]
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DStringReplacer.java39 * True if this object outputs a cursor position.
60 * text and sets the cursor to the given position.
64 * @param theCursorPos cursor position that will be returned by
81 * text and does not modify the cursor.
117 int[] cursor) {
130 // Setup default cursor position (for cursorPos within output)
170 // Record the position of the cursor
205 int len = r.replace(text, destLimit, destLimit, cursor);
216 // Record the position of the cursor
231 // Adjust the cursor fo
114 replace(Replaceable text, int start, int limit, int[] cursor) argument
[all...]
/external/libunwind/src/mips/
H A DGstep.c29 unw_handle_signal_frame (unw_cursor_t *cursor) argument
31 struct cursor *c = (struct cursor *) cursor;
41 switch (unw_is_signal_frame (cursor)) {
58 /* Update the dwarf cursor. */
119 unw_step (unw_cursor_t *cursor) argument
121 struct cursor *c = (struct cursor *) cursor;
[all...]
/external/e2fsprogs/e2fsck/
H A Dea_refcount.c35 blk_t cursor; member in struct:ea_refcount
74 refcount->cursor = 0;
176 if (refcount->cursor >= refcount->count)
177 refcount->cursor = 0;
178 if (blk == refcount->list[refcount->cursor].ea_blk)
179 return &refcount->list[refcount->cursor++];
181 printf("Non-cursor get_refcount_el: %u\n", blk);
186 refcount->cursor = mid+1;
276 refcount->cursor = 0;
286 if (refcount->cursor >
[all...]
/external/libunwind/src/x86/
H A DGos-freebsd.c39 unw_is_signal_frame (unw_cursor_t *cursor) argument
41 struct cursor *c = (struct cursor *) cursor;
100 unw_handle_signal_frame (unw_cursor_t *cursor) argument
102 struct cursor *c = (struct cursor *) cursor;
142 x86_get_scratch_loc (struct cursor *c, unw_regnum_t reg)
335 x86_local_resume (unw_addr_space_t as, unw_cursor_t *cursor, voi argument
[all...]
H A DGos-linux.c30 unw_is_signal_frame (unw_cursor_t *cursor) argument
32 struct cursor *c = (struct cursor *) cursor;
75 unw_handle_signal_frame (unw_cursor_t *cursor) argument
77 struct cursor *c = (struct cursor *) cursor;
145 x86_get_scratch_loc (struct cursor *c, unw_regnum_t reg)
287 x86_local_resume (unw_addr_space_t as, unw_cursor_t *cursor, voi argument
[all...]
/external/libunwind/src/x86_64/
H A DGtrace.c215 unw_cursor_t *cursor,
221 struct cursor *c = (struct cursor *) cursor;
234 /* Reinitialise cursor to this instruction - but undo next/prev RIP
248 && likely((ret = unw_step (cursor)) >= 0))
273 trace_lookup (unw_cursor_t *cursor, argument
330 return trace_init_addr (frame, cursor, cfa, rip, rbp, rsp);
397 tdep_trace (unw_cursor_t *cursor, void **buffer, int *size) argument
399 struct cursor *
214 trace_init_addr(unw_tdep_frame_t *f, unw_cursor_t *cursor, unw_word_t cfa, unw_word_t rip, unw_word_t rbp, unw_word_t rsp) argument
[all...]
/external/webrtc/webrtc/base/
H A Dwin32.cc121 char* cursor = dst; local
127 *cursor++ = ':';
128 *cursor++ = ':';
130 cursor += rtc::sprintfn(cursor, INET6_ADDRSTRLEN - 2, "ffff:");
134 inet_ntop_v4(as_v4, cursor,
135 static_cast<socklen_t>(INET6_ADDRSTRLEN - (cursor - dst)));
139 cursor += rtc::sprintfn(cursor,
140 INET6_ADDRSTRLEN - (cursor
[all...]
/external/syslinux/com32/menu/
H A Dmenumain.c448 int key, len, prev_len, cursor; local
454 len = cursor = strlen(cmdline);
472 CMDLINE_ROW, pad_line(cmdline, 0, cursor));
494 if (cursor) {
495 memmove(cmdline + cursor - 1, cmdline + cursor,
496 len - cursor + 1);
498 cursor--;
505 if (cursor < len) {
506 memmove(cmdline + cursor, cmdlin
[all...]
/external/mksh/src/
H A Dedit.c187 * If successful, *lenp contains the new length. Note: cursor should be
1300 /* ad-hoc hack for fixing the cursor position */
1452 /* Delete nc chars to the right of the cursor (including cursor position) */
2077 * clear line from x_col (current cursor position) to xx_cols - 2,
2137 /* go back to actual cursor position */
2150 * upper case character or underscore indicating the cursor position:
2171 * the cursor, do not change cursor position
2190 * cursor, mov
3348 ssize_t cursor; member in struct:edstate
[all...]
/external/libunwind_llvm/src/
H A DUnwindLevel1.c421 unw_cursor_t *cursor = (unw_cursor_t *)context; local
424 if (unw_get_proc_info(cursor, &frameInfo) == UNW_ESUCCESS)
442 unw_cursor_t *cursor = (unw_cursor_t *)context; local
445 if (unw_get_proc_info(cursor, &frameInfo) == UNW_ESUCCESS)
467 unw_cursor_t *cursor = (unw_cursor_t *)context; local
469 unw_get_reg(cursor, index, &result);
481 unw_cursor_t *cursor = (unw_cursor_t *)context; local
482 unw_set_reg(cursor, index, value);
487 unw_cursor_t *cursor = (unw_cursor_t *)context; local
489 unw_get_reg(cursor, UNW_REG_I
502 unw_cursor_t *cursor = (unw_cursor_t *)context; local
[all...]
/external/syslinux/gpxe/src/hci/mucurses/widgets/
H A Deditbox.c51 box->string.cursor = strlen ( buf );
71 /* Adjust starting offset so that cursor remains within box */
72 cursor_offset = ( box->string.cursor - box->first );
84 cursor_offset = ( box->string.cursor - first );
98 /* Print box content and move cursor */
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
H A DRewriteRuleSubtreeStream.as52 if ( dirty || (cursor>=n && n==1) ) {
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
H A DRewriteRuleSubtreeStream.js24 if ( this.dirty || (this.cursor>=n && n===1) ) {

Completed in 605 milliseconds

1234567891011>>