Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 25 of 61) sorted by relevance

123

/device/linaro/bootloader/edk2/StdLib/LibC/Time/
Dstrptime.c88 const unsigned char *bp; in strptime() local
92 bp = (const unsigned char *)buf; in strptime()
94 while (bp != NULL && (c = *fmt++) != '\0') { in strptime()
101 while (isspace(*bp)) in strptime()
102 bp++; in strptime()
113 if (c != *bp++) in strptime()
171 bp = (const unsigned char *)strptime((const char *)bp, in strptime()
181 bp = find_string(bp, &tm->tm_wday, _ctloc(day), in strptime()
189 bp = find_string(bp, &tm->tm_mon, _ctloc(mon), in strptime()
196 bp = conv_num(bp, &i, 0, 99); in strptime()
[all …]
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dgethostbydns.c204 char *bp, **ap, **hap; in gethostanswer() local
233 bp = hostbuf; in gethostanswer()
241 n = dn_expand(answer->buf, eom, cp, bp, buflen); in gethostanswer()
242 if ((n < 0) || !(*name_ok)(bp)) { in gethostanswer()
252 n = (int)strlen(bp) + 1; /* for the \0 */ in gethostanswer()
257 host.h_name = bp; in gethostanswer()
258 bp += n; in gethostanswer()
273 n = dn_expand(answer->buf, eom, cp, bp, buflen); in gethostanswer()
274 if ((n < 0) || !(*name_ok)(bp)) { in gethostanswer()
310 *ap++ = bp; in gethostanswer()
[all …]
Dns_addr.c116 register char *bp = buf; in Field() local
159 while (*bp) switch (*bp++) { in Field()
175 *--bp = '0'; in Field()
184 *--bp = 0; /* Ends Loop */ in Field()
197 for (bp = buf; *bp++; ) clen++; in Field()
201 bp = clen + buf - 3; in Field()
205 (void)sscanf(bp, fmt, hp); in Field()
206 bp[0] = 0; in Field()
208 bp -= 3; in Field()
Dns_name.c173 u_char *label, *bp, *eom; in ns_name_pton() local
178 bp = dst; in ns_name_pton()
180 label = bp++; in ns_name_pton()
209 c = ((int)(bp - label) - 1); in ns_name_pton()
222 if (bp >= eom) { in ns_name_pton()
226 *bp++ = '\0'; in ns_name_pton()
228 if ((bp - dst) > MAXCDNAME) { in ns_name_pton()
238 label = bp++; in ns_name_pton()
241 if (bp >= eom) { in ns_name_pton()
245 *bp++ = (u_char)c; in ns_name_pton()
[all …]
Dgetnetbydns.c127 char *in, *st, *pauxt, *bp, **ap; in getnetanswer() local
150 bp = netbuf; in getnetanswer()
167 n = dn_expand(answer->buf, eom, cp, bp, buflen); in getnetanswer()
168 if ((n < 0) || !res_dnok(bp)) in getnetanswer()
172 (void)strncpy(&ans[0], bp, sizeof(ans) - 1); in getnetanswer()
179 n = dn_expand(answer->buf, eom, cp, bp, buflen); in getnetanswer()
180 if ((n < 0) || !res_hnok(bp)) { in getnetanswer()
185 *ap++ = bp; in getnetanswer()
186 bp += strlen(bp) + 1; in getnetanswer()
/device/linaro/bootloader/edk2/DuetPkg/BootSector/
Dbs16.S81 movw %sp, %bp # bp = 0x7c00
84 …movb %dl, PhysicalDrive(%bp) # BBS defines that BIOS would pass the booting driver nu…
94 cmpw $0xaa55, SectorSignature(%bp) # Verify Boot Sector Signature
96 movw RootEntries(%bp), %cx # cx = RootEntries
164 movb SectorsPerCluster(%bp), %bl # bx = SectorsPerCluster
168 …addw (%bp), %ax # ax = FirstClusterLBA + (StartCluster-2)*SectorsPerCl…
170 movb SectorsPerCluster(%bp), %bl # bx = Number of Sectors in a cluster
175 movw %ax, JumpSegment(%bp)
208 addl LBAOffsetForBootSector(%bp), %eax # Add LBAOffsetForBootSector to Start LBA
209 addl HiddenSectors(%bp), %eax # Add HiddenSectors to Start LBA
[all …]
Dbs16.asm79 mov bp,sp ; bp = 0x7c00
82 …mov byte ptr [bp+PhysicalDrive],dl ; BBS defines that BIOS would pass the booting driver nu…
92 cmp word ptr [bp+SectorSignature],0aa55h ; Verify Boot Sector Signature
94 mov cx,word ptr [bp+RootEntries] ; cx = RootEntries
162 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = SectorsPerCluster
166 …add ax, word ptr [bp] ; ax = FirstClusterLBA + (StartCluster-2)*SectorsPerCl…
168 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = Number of Sectors in a cluster
173 mov word ptr [bp+JumpSegment],ax
205 add eax,dword ptr [bp+LBAOffsetForBootSector] ; Add LBAOffsetForBootSector to Start LBA
206 add eax,dword ptr [bp+HiddenSectors] ; Add HiddenSectors to Start LBA
[all …]
Dbs32.S95 movw %sp, %bp # bp = 0x7c00
98 …movb %dl, PhysicalDrive(%bp) # BBS defines that BIOS would pass the booting driver nu…
108 cmpw $0xaa55, SectorSignature(%bp) # Verify Boot Sector Signature
110 movw RootEntries(%bp), %cx # cx = RootEntries
185 movb SectorsPerCluster(%bp), %bl # bx = SectorsPerCluster
189 …addw (%bp), %ax # ax = FirstClusterLBA + (StartCluster-2)*SectorsPerCl…
191 movb SectorsPerCluster(%bp), %bl # bx = Number of Sectors in a cluster
196 movw %ax, JumpSegment(%bp)
229 addl LBAOffsetForBootSector(%bp), %eax # Add LBAOffsetForBootSector to Start LBA
230 addl HiddenSectors(%bp), %eax # Add HiddenSectors to Start LBA
[all …]
Dbs32.asm94 mov bp,sp ; bp = 0x7c00
97 …mov byte ptr [bp+PhysicalDrive],dl ; BBS defines that BIOS would pass the booting driver nu…
107 cmp word ptr [bp+SectorSignature],0aa55h ; Verify Boot Sector Signature
109 mov cx,word ptr [bp+RootEntries] ; cx = RootEntries
184 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = SectorsPerCluster
188 …add ax, word ptr [bp] ; ax = FirstClusterLBA + (StartCluster-2)*SectorsPerCl…
190 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = Number of Sectors in a cluster
195 mov word ptr [bp+JumpSegment],ax
227 add eax,dword ptr [bp+LBAOffsetForBootSector] ; Add LBAOffsetForBootSector to Start LBA
228 add eax,dword ptr [bp+HiddenSectors] ; Add HiddenSectors to Start LBA
[all …]
DGpt.S58 movw $0x600, %bp # BP = 0x0600
62 leaw (%bp,%si,), %di # DI = 0x0600 + Offset(RelocatedStart)
89 movw %sp, %bp # bp = 0x7c00
92 …movb %dl, PhysicalDrive(%bp) # BBS defines that BIOS would pass the booting driver nu…
126 … mulb GptPartitionIndicator(%bp) # EAX = SizeOfPartitionEntry * GptPartitionIndicator
189 movw $0x600, %bp # bp = 0x600
190 leaw AddressPacket(%bp), %si
197 movb PhysicalDrive(%bp), %dl # dl = Drive Number
DMbr.S56 movw $0x600, %bp # BP = 0x0600
60 leaw (%bp,%si,), %di # DI = 0x0600 + Offset(RelocatedStart)
88 movw %sp, %bp # BP = 0x7c00
91 …movb %dl, PhysicalDrive(%bp) # BBS defines that BIOS would pass the booting driver nu…
106 movb MbrPartitionIndicator(%bp), %al # AX = MbrPartitionIndex
Dbootsect.S115 movb NoFats(%bp), %al # al = NoFats
117 mulw SectorsPerFat(%bp) # ax = NoFats * SectorsPerFat
118 addw ReservedSectors(%bp), %ax # ax = NoFats * SectorsPerFat + ReservedSectors = RootLBA
124 movw %ax, (%bp) # Save FirstClusterLBA (FirstDataSector) for later use
Dbootsect.asm114 mov al,byte ptr [bp+NoFats] ; al = NoFats
116 mul word ptr [bp+SectorsPerFat] ; ax = NoFats * SectorsPerFat
117 add ax,word ptr [bp+ReservedSectors] ; ax = NoFats * SectorsPerFat + ReservedSectors = RootLBA
123 mov word ptr [bp],ax ; Save FirstClusterLBA (FirstDataSector) for later use
DMbr.asm57 mov bp, 0600h ; BP = 0x0600
61 lea di, [bp+si] ; DI = 0x0600 + Offset(RelocatedStart)
88 mov bp,sp ; BP = 0x7c00
91 …mov byte ptr [bp+PhysicalDrive],dl ; BBS defines that BIOS would pass the booting driver nu…
106 mov al, byte ptr [bp+MbrPartitionIndicator] ; AX = MbrPartitionIndex
Dstart.S66 movw $0x7c00, %bp
101 movw VolId(%bp), %ax
103 movw VolId+2(%bp), %ax
160 …addw ReservedSectors(%bp), %ax # ax = FatSectorNumber = ReservedSectors + (FatOffset …
194 movb SectorsPerCluster(%bp), %bl # bx = SectorsPerCluster
196 …addw (%bp), %ax # ax = FirstClusterLBA + (StartCluster-2)*SectorsPerCl…
225 addl LBAOffsetForBootSector(%bp), %eax # Add LBAOffsetForBootSector to Start LBA
226 addl HiddenSectors(%bp), %eax # Add HiddenSectors to Start LBA
230 movw $0x7bfc, %bp # bp = 0x7bfc
233 movzwl (%bp), %ebx # bx = MaxSector
[all …]
Dstart16.S67 movw $0x7c00, %bp
102 movw VolId(%bp), %ax
104 movw VolId+2(%bp), %ax
159 …addw ReservedSectors(%bp), %ax # ax = FatSectorNumber = ReservedSectors + (FatOffset …
188 movb SectorsPerCluster(%bp), %bl # bx = SectorsPerCluster
190 …addw (%bp), %ax # ax = FirstClusterLBA + (StartCluster-2)*SectorsPerCl…
219 … addl LBAOffsetForBootSector(%bp), %eax # Add LBAOffsetForBootSector to Start LBA
220 addl HiddenSectors(%bp), %eax # Add HiddenSectors to Start LBA
224 movw $0x7bfc, %bp # bp = 0x7bfc
227 movzwl (%bp), %ebx # bx = MaxSector
[all …]
DGpt.asm57 mov bp, 0600h ; BP = 0x0600
61 lea di, [bp+si] ; DI = 0x0600 + Offset(RelocatedStart)
87 mov bp,sp ; bp = 0x7c00
90 …mov byte ptr [bp+PhysicalDrive],dl ; BBS defines that BIOS would pass the booting driver nu…
124 … mul byte ptr [bp+GptPartitionIndicator] ; EAX = SizeOfPartitionEntry * GptPartitionIndicator
187 mov bp, 0600h ; bp = 0x600
188 lea si, [bp + OFFSET AddressPacket] ; DS:SI = Disk Address Packet
195 mov dl,byte ptr [bp+PhysicalDrive] ; dl = Drive Number
Dstart16.asm63 mov bp,07c00h
98 mov ax,word ptr [bp+VolId]
100 mov ax,word ptr [bp+VolId+2]
155 …add ax,word ptr [bp+ReservedSectors] ; ax = FatSectorNumber = ReservedSectors + (FatOffset …
184 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = SectorsPerCluster
186 …add ax, word ptr [bp] ; ax = FirstClusterLBA + (StartCluster-2)*SectorsPerCl…
215 … add eax,dword ptr [bp+LBAOffsetForBootSector] ; Add LBAOffsetForBootSector to Start LBA
216 add eax,dword ptr [bp+HiddenSectors] ; Add HiddenSectors to Start LBA
220 mov bp,07bfch ; bp = 0x7bfc
223 movzx ebx,word ptr [bp] ; bx = MaxSector
[all …]
Dstart32.S81 movw $0x7c00, %bp
117 movw VolId(%bp), %ax
119 movw VolId+2(%bp), %ax
174 …addw ReservedSectors(%bp), %ax # ax = FatSectorNumber = ReservedSectors + (FatOffset …
203 movb SectorsPerCluster(%bp), %bl # bx = SectorsPerCluster
205 …addw (%bp), %ax # ax = FirstClusterLBA + (StartCluster-2)*SectorsPerCl…
234 … addl LBAOffsetForBootSector(%bp), %eax # Add LBAOffsetForBootSector to Start LBA
235 addl HiddenSectors(%bp), %eax # Add HiddenSectors to Start LBA
239 movw $0x7bfc, %bp # bp = 0x7bfc
242 movzwl (%bp), %ebx # bx = MaxSector
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dbdb.py134 (bp, flag) = effective(filename, lineno, frame)
135 if bp:
136 self.currentbp = bp.number
137 if (flag and bp.temporary):
138 self.do_clear(str(bp.number))
251 bp = Breakpoint(filename, lineno, temporary, cond, funcname)
268 for bp in Breakpoint.bplist[filename, lineno][:]:
269 bp.deleteMe()
278 bp = Breakpoint.bpbynumber[number]
281 if not bp:
[all …]
Dpdb.py349 for bp in bdb.Breakpoint.bpbynumber:
350 if bp:
351 bp.bpprint(self.stdout)
421 bp = self.get_breaks(filename, line)[-1]
422 print >>self.stdout, "Breakpoint %d at %s:%d" % (bp.number,
423 bp.file,
424 bp.line)
506 bp = bdb.Breakpoint.bpbynumber[i]
507 if bp:
508 bp.enable()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugSupportDxe/Ipf/
DCommon.i28 #define MASK(bp,value) (value << bp) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dobmalloc.c749 block *bp; in PyObject_Malloc() local
786 bp = pool->freeblock; in PyObject_Malloc()
787 assert(bp != NULL); in PyObject_Malloc()
788 if ((pool->freeblock = *(block **)bp) != NULL) { in PyObject_Malloc()
790 return (void *)bp; in PyObject_Malloc()
802 return (void *)bp; in PyObject_Malloc()
810 return (void *)bp; in PyObject_Malloc()
885 bp = pool->freeblock; in PyObject_Malloc()
886 pool->freeblock = *(block **)bp; in PyObject_Malloc()
888 return (void *)bp; in PyObject_Malloc()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/
Dgethex.c42 gethex( CONST char **sp, CONST FPI *fpi, Long *expt, Bigint **bp, int sign) in gethex() argument
167 *bp = 0; in gethex()
189 *bp = b; in gethex()
195 *bp = 0; in gethex()
246 *bp = b; in gethex()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dobmalloc.c792 block *bp; in PyObject_Malloc() local
829 bp = pool->freeblock; in PyObject_Malloc()
830 assert(bp != NULL); in PyObject_Malloc()
831 if ((pool->freeblock = *(block **)bp) != NULL) { in PyObject_Malloc()
833 return (void *)bp; in PyObject_Malloc()
845 return (void *)bp; in PyObject_Malloc()
853 return (void *)bp; in PyObject_Malloc()
928 bp = pool->freeblock; in PyObject_Malloc()
929 pool->freeblock = *(block **)bp; in PyObject_Malloc()
931 return (void *)bp; in PyObject_Malloc()
[all …]

123