Searched refs:cursor (Results 1 - 25 of 167) sorted by relevance

1234567

/vbox/src/VBox/Devices/PC/ipxe/src/crypto/
H A Dasn1.c41 __einfo_uniqify ( EINFO_EINVAL, 0x01, "Empty or underlength cursor" )
45 __einfo_uniqify ( EINFO_EINVAL, 0x02, "Length field overruns cursor" )
49 __einfo_uniqify ( EINFO_EINVAL, 0x03, "Field overruns cursor" )
80 * Invalidate ASN.1 object cursor
82 * @v cursor ASN.1 object cursor
84 void asn1_invalidate_cursor ( struct asn1_cursor *cursor ) {
87 cursor->data = asn1_invalid_object;
88 cursor->len = 0;
94 * @v cursor AS
103 asn1_start( struct asn1_cursor *cursor, unsigned int type ) argument
165 asn1_enter( struct asn1_cursor *cursor, unsigned int type ) argument
192 asn1_skip_if_exists( struct asn1_cursor *cursor, unsigned int type ) argument
223 asn1_skip( struct asn1_cursor *cursor, unsigned int type ) argument
245 asn1_shrink( struct asn1_cursor *cursor, unsigned int type ) argument
325 asn1_integer( const struct asn1_cursor *cursor, int *value ) argument
364 asn1_bit_string( const struct asn1_cursor *cursor, struct asn1_bit_string *bits ) argument
419 asn1_integral_bit_string( const struct asn1_cursor *cursor, struct asn1_bit_string *bits ) argument
483 asn1_algorithm( const struct asn1_cursor *cursor, struct asn1_algorithm **algorithm ) argument
518 asn1_pubkey_algorithm( const struct asn1_cursor *cursor, struct asn1_algorithm **algorithm ) argument
544 asn1_digest_algorithm( const struct asn1_cursor *cursor, struct asn1_algorithm **algorithm ) argument
570 asn1_signature_algorithm( const struct asn1_cursor *cursor, struct asn1_algorithm **algorithm ) argument
608 asn1_generalized_time( const struct asn1_cursor *cursor, time_t *time ) argument
[all...]
H A Docsp.c107 /** OCSP basic response type cursor */
236 * @v raw ASN.1 cursor
241 struct asn1_cursor cursor; local
246 memcpy ( &cursor, raw, sizeof ( cursor ) );
247 if ( ( rc = asn1_enter ( &cursor, ASN1_ENUMERATED ) ) != 0 ) {
254 if ( cursor.len != sizeof ( status ) ) {
257 DBGC_HDA ( ocsp, 0, cursor.data, cursor.len );
260 memcpy ( &status, cursor
281 struct asn1_cursor cursor; local
307 struct asn1_cursor cursor; local
334 struct asn1_cursor cursor; local
407 struct asn1_cursor cursor; local
444 struct asn1_cursor cursor; local
484 struct asn1_cursor cursor; local
532 struct asn1_cursor cursor; local
564 struct asn1_cursor cursor; local
593 struct asn1_cursor cursor; local
[all...]
H A Dx509.c149 /** "commonName" object identifier cursor */
157 * @v raw ASN.1 cursor
162 struct asn1_cursor cursor; local
167 memcpy ( &cursor, raw, sizeof ( cursor ) );
168 asn1_enter ( &cursor, ASN1_EXPLICIT_TAG ( 0 ) );
171 if ( ( rc = asn1_integer ( &cursor, &version ) ) != 0 ) {
197 * @v raw ASN.1 cursor
222 * @v raw ASN.1 cursor
247 * @v raw ASN.1 cursor
255 struct asn1_cursor cursor; local
296 struct asn1_cursor cursor; local
384 struct asn1_cursor cursor; local
427 struct asn1_cursor cursor; local
549 struct asn1_cursor cursor; local
586 struct asn1_cursor cursor; local
613 struct asn1_cursor cursor; local
677 struct asn1_cursor cursor; local
710 struct asn1_cursor cursor; local
798 struct asn1_cursor cursor; local
866 struct asn1_cursor cursor; local
894 struct asn1_cursor cursor; local
966 struct asn1_cursor cursor; local
1029 struct asn1_cursor cursor; local
[all...]
H A Dcms.c72 /** "pkcs7-signedData" object identifier cursor */
80 * @v raw ASN.1 cursor
85 struct asn1_cursor cursor; local
88 memcpy ( &cursor, raw, sizeof ( cursor ) );
89 asn1_enter ( &cursor, ASN1_OID );
92 if ( asn1_compare ( &cursor, &oid_signeddata_cursor ) != 0 ) {
106 * @v raw ASN.1 cursor
111 struct asn1_cursor cursor; local
116 memcpy ( &cursor, ra
180 struct asn1_cursor cursor; local
310 struct asn1_cursor cursor; local
345 struct asn1_cursor cursor; local
389 struct asn1_cursor cursor; local
488 struct asn1_cursor cursor; local
[all...]
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpt/src/
H A Dxpt_xdr.c45 CheckForRepeat(XPTCursor *cursor, void **addrp, XPTPool pool, PRUint32 len,
48 #define ENCODING(cursor) \
49 ((cursor)->state->mode == XPT_ENCODE)
51 #define CURS_POOL_OFFSET_RAW(cursor) \
52 ((cursor)->pool == XPT_HEADER \
53 ? (cursor)->offset \
54 : (XPT_ASSERT((cursor)->state->data_offset), \
55 (cursor)->offset + (cursor)->state->data_offset))
57 #define CURS_POOL_OFFSET(cursor) \
504 XPT_GetAddrForOffset(XPTCursor *cursor, PRUint32 offset) argument
511 CheckForRepeat(XPTCursor *cursor, void **addrp, XPTPool pool, PRUint32 len, XPTCursor *new_cursor, PRBool *already) argument
[all...]
H A Dxpt_struct.c61 DoInterfaceDirectoryEntry(XPTArena *arena, XPTCursor *cursor,
65 DoConstDescriptor(XPTArena *arena, XPTCursor *cursor, XPTConstDescriptor *cd,
69 DoMethodDescriptor(XPTArena *arena, XPTCursor *cursor, XPTMethodDescriptor *md,
73 DoAnnotation(XPTArena *arena, XPTCursor *cursor, XPTAnnotation **annp);
79 DoTypeDescriptorPrefix(XPTArena *arena, XPTCursor *cursor, XPTTypeDescriptorPrefix *tdp);
82 DoTypeDescriptor(XPTArena *arena, XPTCursor *cursor, XPTTypeDescriptor *td,
86 DoParamDescriptor(XPTArena *arena, XPTCursor *cursor, XPTParamDescriptor *pd,
174 XPT_DoHeaderPrologue(XPTArena *arena, XPTCursor *cursor, XPTHeader **headerp, PRUint32 * ide_offset)
176 XPTMode mode = cursor->state->mode;
196 XPT_SetDataOffset(cursor
343 DoInterfaceDirectoryEntry(XPTArena *arena, XPTCursor *cursor, XPTInterfaceDirectoryEntry *ide, PRUint16 entry_index) argument
609 XPTCursor curs, *cursor = &curs; local
679 DoConstDescriptor(XPTArena *arena, XPTCursor *cursor, XPTConstDescriptor *cd, XPTInterfaceDescriptor *id) argument
760 DoMethodDescriptor(XPTArena *arena, XPTCursor *cursor, XPTMethodDescriptor *md, XPTInterfaceDescriptor *id) argument
807 DoParamDescriptor(XPTArena *arena, XPTCursor *cursor, XPTParamDescriptor *pd, XPTInterfaceDescriptor *id) argument
818 DoTypeDescriptorPrefix(XPTArena *arena, XPTCursor *cursor, XPTTypeDescriptorPrefix *tdp) argument
824 DoTypeDescriptor(XPTArena *arena, XPTCursor *cursor, XPTTypeDescriptor *td, XPTInterfaceDescriptor *id) argument
888 DoAnnotation(XPTArena *arena, XPTCursor *cursor, XPTAnnotation **annp) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Pccts/h/
H A Dslist.cpp40 * cursor = mylist;
41 * while ( (p=mylist->iterate(&cursor)) ) {
45 * The cursor must be initialized to point to the list to iterate over.
48 iterate(SListNode **cursor) argument
52 if ( cursor == NULL || *cursor==NULL ) return NULL;
53 if ( head == *cursor ) { *cursor = (*cursor)->next(); }
54 e = (*cursor)
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/libWineStub/include/wine/
H A Dlist.h190 #define LIST_FOR_EACH(cursor,list) \
191 for ((cursor) = (list)->next; (cursor) != (list); (cursor) = (cursor)->next)
194 #define LIST_FOR_EACH_SAFE(cursor, cursor2, list) \
195 for ((cursor) = (list)->next, (cursor2) = (cursor)->next; \
196 (cursor) != (list); \
197 (cursor)
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/wine/
H A Dlist.h187 #define LIST_FOR_EACH(cursor,list) \
188 for ((cursor) = (list)->next; (cursor) != (list); (cursor) = (cursor)->next)
191 #define LIST_FOR_EACH_SAFE(cursor, cursor2, list) \
192 for ((cursor) = (list)->next, (cursor2) = (cursor)->next; \
193 (cursor) != (list); \
194 (cursor)
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/vbox/libWineStub/include/wine/
H A Dlist.h190 #define LIST_FOR_EACH(cursor,list) \
191 for ((cursor) = (list)->next; (cursor) != (list); (cursor) = (cursor)->next)
194 #define LIST_FOR_EACH_SAFE(cursor, cursor2, list) \
195 for ((cursor) = (list)->next, (cursor2) = (cursor)->next; \
196 (cursor) != (list); \
197 (cursor)
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/vbox/libWineStub/include/wine/
H A Dlist.h187 #define LIST_FOR_EACH(cursor,list) \
188 for ((cursor) = (list)->next; (cursor) != (list); (cursor) = (cursor)->next)
191 #define LIST_FOR_EACH_SAFE(cursor, cursor2, list) \
192 for ((cursor) = (list)->next, (cursor2) = (cursor)->next; \
193 (cursor) != (list); \
194 (cursor)
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/
H A Dlist.h185 #define LIST_FOR_EACH(cursor,list) \
186 for ((cursor) = (list)->next; (cursor) != (list); (cursor) = (cursor)->next)
189 #define LIST_FOR_EACH_SAFE(cursor, cursor2, list) \
190 for ((cursor) = (list)->next, (cursor2) = (cursor)->next; \
191 (cursor) != (list); \
192 (cursor)
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/vbox/libWineStub/include/wine/
H A Dlist.h190 #define LIST_FOR_EACH(cursor,list) \
191 for ((cursor) = (list)->next; (cursor) != (list); (cursor) = (cursor)->next)
194 #define LIST_FOR_EACH_SAFE(cursor, cursor2, list) \
195 for ((cursor) = (list)->next, (cursor2) = (cursor)->next; \
196 (cursor) != (list); \
197 (cursor)
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/hci/
H A Deditstring.c46 * @v delete_len Length of text to delete from current cursor position
47 * @v insert_text Text to insert at current cursor position, or NULL
55 assert ( string->cursor <= old_len );
56 max_delete_len = ( old_len - string->cursor );
66 string->mod_start = string->cursor;
69 /* Move data following the cursor */
70 memmove ( ( string->buf + string->cursor + insert_len ),
71 ( string->buf + string->cursor + delete_len ),
74 /* Copy inserted text to cursor position */
75 memcpy ( ( string->buf + string->cursor ), insert_tex
[all...]
H A Dreadline.c45 unsigned int cursor = string->last_cursor; local
48 /* Expand region back to old cursor position if applicable */
52 /* Expand region forward to new cursor position if applicable */
53 if ( mod_end < string->cursor )
54 mod_end = string->cursor;
57 while ( cursor > mod_start ) {
59 cursor--;
63 while ( cursor < mod_end ) {
64 putchar ( ( cursor >= len ) ? ' ' : string->buf[cursor] );
[all...]
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpt/public/
H A Dxpt_xdr.h83 XPT_DoString(XPTArena *arena, XPTCursor *cursor, XPTString **strp);
86 XPT_DoStringInline(XPTArena *arena, XPTCursor *cursor, XPTString **strp);
89 XPT_DoCString(XPTArena *arena, XPTCursor *cursor, char **strp);
92 XPT_DoIID(XPTCursor *cursor, nsID *iidp);
95 XPT_Do64(XPTCursor *cursor, PRInt64 *u64p);
98 XPT_Do32(XPTCursor *cursor, PRUint32 *u32p);
101 XPT_Do16(XPTCursor *cursor, PRUint16 *u16p);
104 XPT_Do8(XPTCursor *cursor, PRUint8 *u8p);
107 XPT_DoHeaderPrologue(XPTArena *arena, XPTCursor *cursor, XPTHeader **headerp, PRUint32 * ide_offset);
109 XPT_DoHeader(XPTArena *arena, XPTCursor *cursor, XPTHeade
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dasn1.h16 /** An ASN.1 object cursor */
225 /** Define an ASN.1 cursor containing an OID */
262 * @v cursor ASN.1 object cursor
266 asn1_type ( const struct asn1_cursor *cursor ) {
267 return ( *( ( const uint8_t * ) cursor->data ) );
270 extern void asn1_invalidate_cursor ( struct asn1_cursor *cursor );
271 extern int asn1_enter ( struct asn1_cursor *cursor, unsigned int type );
272 extern int asn1_skip_if_exists ( struct asn1_cursor *cursor,
274 extern int asn1_skip ( struct asn1_cursor *cursor, unsigne
[all...]
H A Deditstring.h19 unsigned int cursor; member in struct:edit_string
23 /** Last cursor position */
/vbox/src/libs/xpcom18a4/xpcom/reflect/xptinfo/src/
H A DxptiZipLoader.cpp48 XPTCursor cursor; local
95 if(!XPT_MakeCursor(state, XPT_HEADER, 0, &cursor))
100 if (!XPT_DoHeader(aWorkingSet->GetStructArena(), &cursor, &header))
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpt/tests/
H A DPrimitiveTest.c81 XDR(XPTArena *arena, XPTCursor *cursor, struct TestData *str) argument
83 TRY("Do32", XPT_Do32(cursor, &str->bit32));
84 TRY("Do16", XPT_Do16(cursor, &str->bit16));
85 TRY("Do8", XPT_Do8 (cursor, &str->bit8[0]));
86 TRY("Do8", XPT_Do8 (cursor, &str->bit8[1]));
87 TRY("DoCString", XPT_DoCString(arena, cursor, &str->cstr));
88 TRY("DoString", XPT_DoString(arena, cursor, &str->str));
97 XPTCursor curs, *cursor = &curs; local
107 TRY("MakeCursor", XPT_MakeCursor(state, XPT_HEADER, sizeof input, cursor));
111 if (XDR(arena, cursor,
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Dvalidator.c210 struct asn1_cursor cursor; local
223 /* Initialise cursor */
224 cursor.data = data;
225 cursor.len = len;
228 if ( ( rc = asn1_enter ( &cursor, ASN1_SET ) ) != 0 ) {
235 while ( cursor.len ) {
238 if ( ( rc = x509_append_raw ( certs, cursor.data,
239 cursor.len ) ) != 0 ) {
243 DBGC_HDA ( validator, 0, cursor.data, cursor
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/hci/mucurses/widgets/
H A Deditbox.c50 box->string.cursor = strlen ( buf );
70 /* Adjust starting offset so that cursor remains within box */
71 cursor_offset = ( box->string.cursor - box->first );
83 cursor_offset = ( box->string.cursor - first );
97 /* Print box content and move cursor */
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/
H A Ddmxcursor.h38 * Interface for cursor support. \see dmxcursor.c. */
47 Cursor cursor; member in struct:_dmxCursorPriv
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/
H A Ddmxcursor.h37 * Interface for cursor support. \see dmxcursor.c. */
46 Cursor cursor; member in struct:_dmxCursorPriv
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/
H A Ddmxcursor.h38 * Interface for cursor support. \see dmxcursor.c. */
47 Cursor cursor; member in struct:_dmxCursorPriv

Completed in 266 milliseconds

1234567