Home
last modified time | relevance | path

Searched refs:targetsize (Results 1 - 5 of 5) sorted by relevance

/third_party/libsnd/src/
H A Dogg_vcomment.c181 vorbiscomment_write_tags (SF_PRIVATE *psf, ogg_packet *packet, vorbiscomment_ident *ident, const char *vendor, int targetsize) in vorbiscomment_write_tags() argument
214 if (targetsize > 0 && tag_name_len + tag_body_len + psf->header.indx > targetsize) in vorbiscomment_write_tags()
226 if (targetsize < 0) in vorbiscomment_write_tags()
230 ** Pad to a minimum of -targetsize, but make sure length % 255 in vorbiscomment_write_tags()
233 psf_binheader_writef (psf, "z", BHWz ((psf->header.indx + -targetsize + 255) / 255 * 255 - 1)) ; in vorbiscomment_write_tags()
235 else if (targetsize > 0) in vorbiscomment_write_tags()
236 psf_binheader_writef (psf, "z", BHWz (targetsize - psf->header.indx)) ; in vorbiscomment_write_tags()
H A Dogg_vcomment.h43 int vorbiscomment_write_tags (SF_PRIVATE *psf, ogg_packet *packet, vorbiscomment_ident *ident, const char *vendor, int targetsize) ;
/third_party/icu/icu4c/source/test/cintltst/
H A Dccapitst.c282 int32_t targetsize; in TestConvert() local
901 targetsize = ucnv_toUChars(myConverter, in TestConvert()
912 uchar2=(UChar*)malloc((targetsize+1) * sizeof(UChar)); in TestConvert()
913 targetsize = ucnv_toUChars(myConverter, in TestConvert()
915 targetsize+1, in TestConvert()
957 targetsize = ucnv_toUChars(myConverter, uchar2, targetsize, output_cp_buffer, (int32_t)strlen(output_cp_buffer), &err); in TestConvert()
958 if(targetsize != 0){ in TestConvert()
962 targetsize = ucnv_toUChars(myConverter, uchar2, -1, output_cp_buffer, (int32_t)strlen(output_cp_buffer), &err); in TestConvert()
963 if(targetsize ! in TestConvert()
[all...]
/third_party/tzdata/
H A Dzic.c1411 size_t targetsize = strlen(target) + 1; in relname() local
1412 linksize = size_sum(lenslash, targetsize); in relname()
1416 memcpy(result + lenslash, target, targetsize); in relname()
/third_party/python/Objects/
H A Dunicodeobject.c2648 as_ucs4(PyObject *string, Py_UCS4 *target, Py_ssize_t targetsize, in as_ucs4() argument
2670 if (targetsize < targetlen) { in as_ucs4()
2673 if (copy_null && 0 < targetsize) in as_ucs4()
2698 PyUnicode_AsUCS4(PyObject *string, Py_UCS4 *target, Py_ssize_t targetsize, in PyUnicode_AsUCS4() argument
2701 if (target == NULL || targetsize < 0) { in PyUnicode_AsUCS4()
2705 return as_ucs4(string, target, targetsize, copy_null); in PyUnicode_AsUCS4()

Completed in 27 milliseconds