Home
last modified time | relevance | path

Searched refs:ostring (Results 1 – 16 of 16) sorted by relevance

/openbsd/lib/libagentx/
H A Dax.c1279 struct ax_ostring *ostring, uint8_t *buf, size_t rawlen) in ax_pdutoostring() argument
1286 ostring->aos_slen = ax_pdutoh32(header, buf); in ax_pdutoostring()
1289 if (ostring->aos_slen > rawlen) in ax_pdutoostring()
1291 if ((ostring->aos_string = malloc(ostring->aos_slen + 1)) == NULL) in ax_pdutoostring()
1293 memcpy(ostring->aos_string, buf, ostring->aos_slen); in ax_pdutoostring()
1294 ostring->aos_string[ostring->aos_slen] = '\0'; in ax_pdutoostring()
1296 nread = 4 + ostring->aos_slen; in ax_pdutoostring()
1297 if (ostring->aos_slen % 4 != 0) in ax_pdutoostring()
1298 nread += 4 - (ostring->aos_slen % 4); in ax_pdutoostring()
/openbsd/usr.sbin/snmpd/
H A Dax.c1401 struct ax_ostring *ostring, uint8_t *buf, size_t rawlen) in ax_pdutoostring() argument
1408 ostring->aos_slen = ax_pdutoh32(header, buf); in ax_pdutoostring()
1411 if (ostring->aos_slen > rawlen) in ax_pdutoostring()
1413 if ((ostring->aos_string = malloc(ostring->aos_slen + 1)) == NULL) in ax_pdutoostring()
1415 memcpy(ostring->aos_string, buf, ostring->aos_slen); in ax_pdutoostring()
1416 ostring->aos_string[ostring->aos_slen] = '\0'; in ax_pdutoostring()
1418 nread = 4 + ostring->aos_slen; in ax_pdutoostring()
1419 if (ostring->aos_slen % 4 != 0) in ax_pdutoostring()
1420 nread += 4 - (ostring->aos_slen % 4); in ax_pdutoostring()
H A Dapplication_agentx.c1028 appl_agentx_string2ostring(const char *str, struct ax_ostring *ostring) in appl_agentx_string2ostring() argument
1035 ostring->aos_slen = strlen(str); in appl_agentx_string2ostring()
1036 if ((ostring->aos_string = strdup(str)) == NULL) in appl_agentx_string2ostring()
1038 return ostring; in appl_agentx_string2ostring()
/openbsd/regress/lib/libutil/ber/
H A Dber_test_int_i.c530 struct ber_octetstring ostring; in test_read_elements() local
625 struct ber_octetstring ostring; in test_printf_elements() local
H A Dber_test.c332 struct ber_octetstring ostring; in test() local
414 if (ober_get_ostring(elm, &ostring) == -1) { in test()
/openbsd/gnu/usr.bin/binutils/ld/
H A Dconfigure.in135 # concatenation, or ostring.sed otherwise. This is to support the
148 STRINGIFY=ostring.sed
H A DChangeLog-9899383 * emultempl/ostring.sed: Rename from stringify.sed.
H A DChangeLog-00011328 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
/openbsd/gnu/usr.bin/binutils-2.17/ld/
H A Dconfigure.in122 # concatenation, or ostring.sed otherwise. This is to support the
135 STRINGIFY=ostring.sed
H A DChangeLog-9899383 * emultempl/ostring.sed: Rename from stringify.sed.
H A DChangeLog-00011328 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
H A Dconfigure9686 STRINGIFY=ostring.sed
/openbsd/gnu/usr.bin/binutils/ld/emultempl/
H A Daix.em1234 sc="-f ${srcdir}/emultempl/ostring.sed"
/openbsd/gnu/usr.bin/binutils-2.17/ld/emultempl/
H A Daix.em1237 sc="-f ${srcdir}/emultempl/ostring.sed"
/openbsd/gnu/usr.bin/binutils/
H A Dmd5.sum4223 a8190e4a0b5cca5b8677d8bb2d39940f ld/emultempl/ostring.sed
/openbsd/gnu/usr.bin/binutils-2.17/
H A Dmd5.sum5004 a8190e4a0b5cca5b8677d8bb2d39940f ld/emultempl/ostring.sed