Lines Matching defs:dst
50 // dst (and allocate with malloc() instead of new)? Is 2 * srcLen
53 char* dst = new (nothrow) char[dstLen + 1];
54 if (dst == NULL)
57 convert_to_utf8(encode, src, &srcLen, dst, &dstLen, &cookie);
58 dst[dstLen] = '\0';
59 char* dup = strdup(dst);
60 delete[] dst;
63 ") dst allocate smalled(%" B_PRId32 ")\n", encode, length, dstLen);
74 char* dst = new (nothrow) char[dstLen + 1];
75 if (dst == NULL)
78 convert_from_utf8(encode, src, &srcLen, dst, &dstLen, &cookie);
80 dst[dstLen] = '\0';
81 char* dup = strdup(dst);
82 delete[] dst;
85 ") dst allocate smalled(%" B_PRId32 ")\n", encode, length, dstLen);