Searched refs:fp (Results 1 - 25 of 171) sorted by last modified time

1234567

/haiku/headers/private/kernel/arch/arm64/
H A Darch_cpu.h137 uint64 fp; member in struct:iframe
/haiku/src/add-ons/accelerants/radeon_hd/
H A Dbios.cpp196 FILE* fp; local
201 fp = fopen(filename, "wb");
202 if (fp == NULL) {
207 fwrite(gInfo->rom, info.rom_size, 1, fp);
209 fclose(fp);
/haiku/src/system/kernel/arch/riscv64/
H A Darch_debug.cpp267 DoStackTraceEx(Thread* thread, addr_t fp, addr_t pc) argument
270 dprintf("FP: 0x%" B_PRIxADDR, fp);
275 addr_t oldFp = fp;
277 while (fp != 0 && i < 1000) {
281 if (arch_debug_memcpy(&fp, (uint64*)fp - 1, sizeof(pc)) < B_OK)
285 if (arch_debug_memcpy(&pc, (uint64*)fp - 1, sizeof(pc)) < B_OK)
287 if (arch_debug_memcpy(&fp, (uint64*)fp - 2, sizeof(pc)) < B_OK)
290 dprintf("FP: 0x%" B_PRIxADDR, fp);
310 DoStackTrace(addr_t fp, addr_t pc) argument
312 DoStackTraceEx(thread_get_current_thread(), fp, pc); local
[all...]
H A Darch_thread.cpp56 thread->arch_info.context.s[0] = 0; // fp
196 signalFrameData->context.uc_mcontext.x[ 7] = frame->fp;
281 frame->fp = signalFrameData->context.uc_mcontext.x[ 7];
H A Darch_asm.S144 mv fp, a0
H A Darch_traps.S15 sd fp, IFRAME_sp(sp)
58 ld tp, ARCH_STACK_thread(fp)
70 csrw sscratch, fp # save kernel SP
/haiku/src/system/kernel/arch/arm64/
H A Darch_debug.cpp26 already_visited(addr_t* visited, int32* _last, int32* _num, addr_t fp) argument
33 % NUM_PREVIOUS_LOCATIONS] == fp) {
39 visited[last] = fp;
49 get_next_frame(addr_t fp, addr_t *next, addr_t *ip) argument
51 if (fp != 0) {
52 *ip = ((addr_t*)fp)[1];
53 *next = ((addr_t*)fp)[0];
276 print_stack_frame(Thread *thread, addr_t ip, addr_t fp, addr_t next, argument
286 diff = next - fp;
296 B_PRINTF_POINTER_WIDTH, fp, dif
351 addr_t fp = arm64_get_fp(); local
[all...]
H A Dasm_offsets.cpp40 DEFINE_OFFSET_MACRO(IFRAME, iframe, fp);
/haiku/src/system/kernel/arch/arm/
H A Darch_debug.cpp33 already_visited(addr_t *visited, int32 *_last, int32 *_num, addr_t fp) argument
41 % NUM_PREVIOUS_LOCATIONS] == fp) {
47 visited[last] = fp;
57 get_next_frame(addr_t fp, addr_t *next, addr_t *ip) argument
59 if (fp != 0) {
60 *ip = *(((addr_t*)fp) - 0);
61 *next = *(((addr_t*)fp) - 1);
285 print_stack_frame(Thread *thread, addr_t ip, addr_t fp, addr_t next, argument
295 diff = next - fp;
305 B_PRINTF_POINTER_WIDTH, fp, dif
361 addr_t fp = arm_get_fp(); local
[all...]
H A Darch_exceptions.S162 mov fp, r0
174 mov fp, r0
191 mov fp, r0
208 mov fp, r0
226 mov fp, r0
239 mov fp, r0
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_init.c177 register FILE *fp; local
332 if ((fp = fopen(path, "re")) != NULL) {
334 while (fgets(buf, (int)sizeof(buf), fp) != NULL) {
480 statp->_u._ext.ext->resfd = fcntl(fileno(fp), F_DUPFD_CLOEXEC, 0);
481 (void) fclose(fp);
H A Dres_query.c403 FILE *fp; local
409 if (file == NULL || (fp = fopen(file, "re")) == NULL)
412 while (fgets(buf, (int)sizeof(buf), fp)) {
429 fclose(fp);
433 fclose(fp);
/haiku/src/system/libnetwork/netresolv/net/
H A Dprotoent.h35 FILE *fp; member in struct:protoent_data
H A Dhesiod.c317 FILE *fp; local
327 fp = fopen(filename, "r");
328 if (!fp) {
341 for (; (buf = fparseln(fp, NULL, NULL, NULL, FPARSELN_UNESCALL))
375 (void)fclose(fp);
400 fclose(fp);
H A Dgetprotobyname_r.c72 if (pd->fp != NULL) {
73 (void)fclose(pd->fp);
74 pd->fp = NULL;
H A Dgetprotobynumber_r.c60 if (pd->fp != NULL) {
61 (void)fclose(pd->fp);
62 pd->fp = NULL;
H A Dgetprotoent_r.c61 if (pd->fp == NULL) {
66 pd->fp = fopen(buffer, "re");
68 rewind(pd->fp);
75 if (pd->fp) {
76 (void)fclose(pd->fp);
77 pd->fp = NULL;
98 if (pd->fp == NULL)
100 if (pd->fp == NULL)
106 pd->line = fparseln(pd->fp, NULL, NULL, NULL,
/haiku/src/system/libnetwork/netresolv/dst/
H A Dsupport.c309 FILE *fp; local
321 fp = fopen(pathname, mode);
324 return (fp);
H A Ddst_api.c414 FILE *fp; local
436 if ((fp = dst_s_fopen(file, "w", 0600)) != NULL) {
438 nn = fwrite(encoded_block, 1, len, fp);
443 fclose(fp);
446 fclose(fp);
476 FILE *fp; local
495 if ((fp = dst_s_fopen(name, "r", 0)) == NULL) {
500 while ((c = getc(fp)) != EOF)
504 while ((c = getc(fp)) != EOF)
510 while ((c = getc(fp)) !
547 fgets(enckey, (int)sizeof(enckey), fp); local
593 FILE *fp; local
835 FILE *fp; local
[all...]
/haiku/headers/private/kernel/arch/riscv64/
H A Darch_thread_types.h51 uint64 fp; member in struct:iframe
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dprintf_fphex.c36 int __printf_fphex (FILE *fp, const struct printf_info *info,
64 if (putc (outc, fp) == EOF) \
84 if (PAD (fp, ch, len) != len) \
177 __printf_fphex (FILE *fp, argument
/haiku/src/system/boot/platform/riscv/
H A Dtraps.cpp49 uint64 fp; member in struct:iframe
/haiku/src/system/boot/platform/efi/arch/riscv64/
H A Darch_traps.cpp135 DoStackTrace(addr_t fp, addr_t pc) argument
138 dprintf("FP: 0x%" B_PRIxADDR, fp);
143 while (fp != 0) {
144 pc = *((uint64*)fp - 1);
145 fp = *((uint64*)fp - 2);
146 dprintf("FP: 0x%" B_PRIxADDR, fp);
/haiku/src/apps/poorman/libhttpd/
H A Dlibhttpd.c873 FILE* fp; local
877 fp = fopen( filename, "r" );
878 if ( fp == (FILE*) 0 )
885 r = fread( buf, 1, sizeof(buf) - 1, fp );
891 (void) fclose( fp );
1038 FILE* fp; local
1111 fp = fopen( authpath, "r" );
1112 if ( fp == (FILE*) 0 )
1126 while ( fgets( line, sizeof(line), fp ) != (char*) 0 )
1141 (void) fclose( fp );
2736 FILE* fp; local
[all...]
/haiku/src/preferences/mail/
H A DDNSQuery.cpp173 FILE* fp = fopen(path.Path(), "r"); local
174 if (fp == NULL) {
186 while (fgets(buf, sizeof(buf), fp) != NULL) {
206 fclose(fp);

Completed in 197 milliseconds

1234567