/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/ |
H A D | bseg.c | 46 _MD_alloc_segment (PRSegment *seg, PRUint32 size, void *vaddr) 52 _MD_free_segment (PRSegment *seg) argument
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/ |
H A D | w16mem.c | 52 PRStatus _MD_AllocSegment(PRSegment *seg, PRUint32 size, void *vaddr) argument 54 PR_ASSERT(seg != 0); 62 seg->vaddr = (char *)malloc(size); 64 if (seg->vaddr == NULL) { 68 seg->size = size; 77 void _MD_FreeSegment(PRSegment *seg) argument 79 PR_ASSERT((seg->flags & _PR_SEG_VM) == 0); 81 if (seg->vaddr != NULL) 82 free( seg->vaddr );
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/memory/ |
H A D | prseg.c | 64 PRSegment *seg; local 67 seg = PR_NEWZAP(PRSegment); 69 if (seg) { 75 if (_PR_MD_ALLOC_SEGMENT(seg, size, vaddr) != PR_SUCCESS) { 76 PR_DELETE(seg); 81 return seg; 87 void _PR_DestroySegment(PRSegment *seg) argument 89 _PR_MD_FREE_SEGMENT(seg); 90 PR_DELETE(seg);
|
/vbox/src/libs/xpcom18a4/xpcom/io/ |
H A D | nsSegmentedBuffer.cpp | 103 char* seg = (char*)mSegAllocator->Alloc(mSegmentSize); local 104 if (seg == nsnull) { 107 mSegmentArray[mLastSegmentIndex] = seg; 109 return seg; 177 char* seg; local 179 seg = buf->AppendNewSegment(); 180 NS_ASSERTION(seg, "AppendNewSegment failed"); 181 seg = buf->AppendNewSegment(); 182 NS_ASSERTION(seg, "AppendNewSegment failed"); 183 seg [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/image/ |
H A D | com32.c | 263 unsigned int seg; local 268 seg = COM32_BOUNCE_SEG; 269 seg_userptr = real_to_user ( seg, 0 );
|
/vbox/src/recompiler/tests/ |
H A D | runcom.c | 41 static inline uint8_t *seg_to_linear(unsigned int seg, unsigned int reg) argument 43 return (uint8_t *)((seg << 4) + (reg & 0xffff)); 76 int fd, ret, seg; local 121 seg = (COM_BASE_ADDR - 0x100) >> 4; 122 r->cs = seg; 123 r->ss = seg; 124 r->ds = seg; 125 r->es = seg; 126 r->fs = seg; 127 r->gs = seg; [all...] |
H A D | qruncom.c | 100 static inline uint8_t *seg_to_linear(unsigned int seg, unsigned int reg) argument 102 return (uint8_t *)((seg << 4) + (reg & 0xffff)); 124 int fd, ret, seg; local 182 seg = (COM_BASE_ADDR - 0x100) >> 4; 184 cpu_x86_load_seg_cache(env, R_CS, seg, 185 (seg << 4), 0xffff, 0); 186 cpu_x86_load_seg_cache(env, R_SS, seg, 187 (seg << 4), 0xffff, 0); 188 cpu_x86_load_seg_cache(env, R_DS, seg, 189 (seg << [all...] |
/vbox/src/VBox/Devices/Network/lwip/src/core/ |
H A D | tcp_out.c | 59 static void tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb); 121 struct tcp_seg *seg, *useg, *queue; local 165 useg = queue = seg = NULL; 174 seg = memp_malloc(MEMP_TCP_SEG); 175 if (seg == NULL) { 179 seg->next = NULL; 180 seg->p = NULL; 184 queue = seg; 190 useg->next = seg; 193 useg = seg; 379 struct tcp_seg *seg, *useg; local 519 tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb) argument 621 struct tcp_seg *seg; local 650 struct tcp_seg *seg; local [all...] |
H A D | tcp.c | 679 tcp_segs_free(struct tcp_seg *seg) argument 683 while (seg != NULL) { 684 next = seg->next; 685 count += tcp_seg_free(seg); 686 seg = next; 696 tcp_seg_free(struct tcp_seg *seg) argument 700 if (seg != NULL) { 701 if (seg->p != NULL) { 702 count = pbuf_free(seg->p); 704 seg 728 tcp_seg_copy(struct tcp_seg *seg) argument [all...] |
/vbox/src/VBox/Devices/PC/BIOS/ |
H A D | bios.c | 51 uint8_t read_byte(uint16_t seg, uint16_t offset) argument 53 return( *(seg:>(uint8_t *)offset) ); 56 void write_byte(uint16_t seg, uint16_t offset, uint8_t data) argument 58 *(seg:>(uint8_t *)offset) = data; 61 uint16_t read_word(uint16_t seg, uint16_t offset) argument 63 return( *(seg:>(uint16_t *)offset) ); 66 void write_word(uint16_t seg, uint16_t offset, uint16_t data) argument 68 *(seg:>(uint16_t *)offset) = data; 71 uint32_t read_dword(uint16_t seg, uint16_t offset) argument 73 return( *(seg 76 write_dword(uint16_t seg, uint16_t offset, uint32_t data) argument [all...] |
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ |
H A D | tcp_out.c | 66 #define TCP_DATA_COPY(dst, src, len, seg) do { \ 68 len, &seg->chksum, &seg->chksum_swapped); \ 69 seg->flags |= TF_SEG_DATA_CHECKSUMMED; } while(0) 73 #define TCP_DATA_COPY(dst, src, len, seg) MEMCPY(dst, src, len) 84 static void tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb); 164 struct tcp_seg *seg; local 167 if ((seg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG)) == NULL) { 172 seg->flags = optflags; 173 seg 360 struct tcp_seg *last_unsent = NULL, *seg = NULL, *prev_seg = NULL, *queue = NULL; local 728 struct tcp_seg *seg; local 908 struct tcp_seg *seg, *useg; local 1060 tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb) argument 1255 struct tcp_seg *seg; local 1296 struct tcp_seg *seg; local 1440 struct tcp_seg *seg; local [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/mac/ |
H A D | macthr.c | 78 PRStatus _MD_AllocSegment(PRSegment *seg, PRUint32 size, void *vaddr) argument 80 PR_ASSERT(seg != 0); 89 seg->vaddr = (char *)GC_malloc_atomic(size); 91 seg->vaddr = (char *)malloc(size); 94 if (seg->vaddr == NULL) { 103 seg->size = size; 112 void _MD_FreeSegment(PRSegment *seg) argument 114 PR_ASSERT((seg->flags & _PR_SEG_VM) == 0); 116 if (seg->vaddr != NULL) 117 free(seg [all...] |
/vbox/src/libs/xpcom18a4/xpcom/obsolete/ |
H A D | nsIFileStream.cpp | 432 char* seg = mOutBuffer.AppendNewSegment(); local 433 if (seg == nsnull) 437 seg = mOutBuffer.AppendNewSegment(); 438 if (seg == nsnull) 441 mWriteCursor = seg; 442 mWriteLimit = seg + mOutBuffer.GetSegmentSize(); 586 char* seg = mOutBuffer.GetSegment(i); local 590 segSize = (mWriteCursor - seg); 592 PRInt32 bytesWrit = PR_Write(mFileDesc, seg, segSize);
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/ |
H A D | regs.h | 177 #define R_CS seg.CS 178 #define R_DS seg.DS 179 #define R_SS seg.SS 180 #define R_ES seg.ES 181 #define R_FS seg.FS 182 #define R_GS seg.GS 274 struct i386_segment_regs seg; member in struct:__anon6844
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/ |
H A D | regs.h | 177 #define R_CS seg.CS 178 #define R_DS seg.DS 179 #define R_SS seg.SS 180 #define R_ES seg.ES 181 #define R_FS seg.FS 182 #define R_GS seg.GS 274 struct i386_segment_regs seg; member in struct:__anon7163
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/ |
H A D | regs.h | 166 #define R_CS seg.CS 167 #define R_DS seg.DS 168 #define R_SS seg.SS 169 #define R_ES seg.ES 170 #define R_FS seg.FS 171 #define R_GS seg.GS 263 struct i386_segment_regs seg; member in struct:__anon7471
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/ |
H A D | regs.h | 166 #define R_CS seg.CS 167 #define R_DS seg.DS 168 #define R_SS seg.SS 169 #define R_ES seg.ES 170 #define R_FS seg.FS 171 #define R_GS seg.GS 263 struct i386_segment_regs seg; member in struct:__anon7846
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.5.3/ |
H A D | regs.h | 166 #define R_CS seg.CS 167 #define R_DS seg.DS 168 #define R_SS seg.SS 169 #define R_ES seg.ES 170 #define R_FS seg.FS 171 #define R_GS seg.GS 263 struct i386_segment_regs seg; member in struct:__anon8198
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/ |
H A D | regs.h | 166 #define R_CS seg.CS 167 #define R_DS seg.DS 168 #define R_SS seg.SS 169 #define R_ES seg.ES 170 #define R_FS seg.FS 171 #define R_GS seg.GS 263 struct i386_segment_regs seg; member in struct:__anon8515
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.7.7/ |
H A D | regs.h | 166 #define R_CS seg.CS 167 #define R_DS seg.DS 168 #define R_SS seg.SS 169 #define R_ES seg.ES 170 #define R_FS seg.FS 171 #define R_GS seg.GS 263 struct i386_segment_regs seg; member in struct:__anon8834
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.8.0/ |
H A D | regs.h | 166 #define R_CS seg.CS 167 #define R_DS seg.DS 168 #define R_SS seg.SS 169 #define R_ES seg.ES 170 #define R_FS seg.FS 171 #define R_GS seg.GS 263 struct i386_segment_regs seg; member in struct:__anon9148
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.9.0/ |
H A D | regs.h | 166 #define R_CS seg.CS 167 #define R_DS seg.DS 168 #define R_SS seg.SS 169 #define R_ES seg.ES 170 #define R_FS seg.FS 171 #define R_GS seg.GS 263 struct i386_segment_regs seg; member in struct:__anon9468
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.10.0/ |
H A D | regs.h | 166 #define R_CS seg.CS 167 #define R_DS seg.DS 168 #define R_SS seg.SS 169 #define R_ES seg.ES 170 #define R_FS seg.FS 171 #define R_GS seg.GS 263 struct i386_segment_regs seg; member in struct:__anon4994
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.11.0/ |
H A D | regs.h | 166 #define R_CS seg.CS 167 #define R_DS seg.DS 168 #define R_SS seg.SS 169 #define R_ES seg.ES 170 #define R_FS seg.FS 171 #define R_GS seg.GS 263 struct i386_segment_regs seg; member in struct:__anon5306
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.12.0/ |
H A D | regs.h | 166 #define R_CS seg.CS 167 #define R_DS seg.DS 168 #define R_SS seg.SS 169 #define R_ES seg.ES 170 #define R_FS seg.FS 171 #define R_GS seg.GS 263 struct i386_segment_regs seg; member in struct:__anon5618
|