Searched refs:sf_size (Results 1 - 6 of 6) sorted by relevance

/netbsd-current/external/gpl3/gdb/dist/libsframe/testsuite/libsframe.decode/
H A Dbe-flipping.c57 size_t sf_size; local
85 sf_size = fread (sf_buf, 1, st.st_size, fp);
87 if (sf_size == 0)
98 dctx = sframe_decode (sf_buf, sf_size, &err);
H A Dfrecnt-1.c48 size_t sf_size; local
78 sf_size = fread (sf_buf, 1, st.st_size, fp);
80 TEST ("frecnt-1: Read data", sf_size != 0);
82 dctx = sframe_decode (sf_buf, sf_size, &err);
H A Dfrecnt-2.c50 size_t sf_size; local
79 sf_size = fread (sf_buf, 1, st.st_size, fp);
81 TEST ("frecnt-2: Read data", sf_size != 0);
83 dctx = sframe_decode (sf_buf, sf_size, &err);
/netbsd-current/external/gpl3/gdb/dist/libsframe/testsuite/libsframe.encode/
H A Dencode-1.c94 size_t sf_size; local
112 sf_size = fread (sf_buf, 1, st.st_size, fp);
114 if (sf_size == 0 || sf_buf == NULL)
119 if (sf_size != sz)
133 size_t sf_size; local
169 sframe_buf = sframe_encoder_write (encode, &sf_size, &err);
172 match_p = data_match (sframe_buf, sf_size);
/netbsd-current/external/gpl3/gdb/dist/bfd/
H A Delf-sframe.c192 bfd_size_type sf_size; local
217 sf_size = sec->size;
219 sfd_info->sfd_ctx = sframe_decode ((const char*)sfbuf, sf_size, &decerr);
/netbsd-current/external/gpl3/gdb/dist/libsframe/
H A Dsframe.c770 sframe_decode (const char *sf_buf, size_t sf_size, int *errp) argument
785 if ((sf_buf == NULL) || (!sf_size))
787 else if (sf_size < sizeof (sframe_header))
812 tempbuf = (char *) malloc (sf_size * sizeof (char));
815 memcpy (tempbuf, sf_buf, sf_size);
821 if (flip_sframe (tempbuf, sf_size, 0))

Completed in 149 milliseconds