HomeSort by relevance Sort by last modified time
    Searched defs:mbstr (Results 1 - 2 of 2) sorted by null

  /bionic/libc/upstream-openbsd/lib/libc/stdio/
vswscanf.c 58 char *mbstr; local
68 if ((mbstr = malloc(len + 1)) == NULL)
72 if ((mlen = wcsrtombs(mbstr, &strp, len, &mbs)) == (size_t)-1) {
73 free(mbstr);
77 mbstr[len] = '\0';
80 f._bf._base = f._p = (unsigned char *)mbstr;
85 free(mbstr);
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
vswscanf.c 71 char *mbstr; local
81 if ((mbstr = malloc(wcslen(str) * MB_CUR_MAX + 1)) == NULL)
84 if ((mlen = wcsrtombs(mbstr, &rstr, SIZE_T_MAX, &mbs)) == (size_t)-1) {
85 free(mbstr);
91 f._bf._base = f._p = (unsigned char *)mbstr;
97 free(mbstr);

Completed in 902 milliseconds