Searched refs:bytelength (Results 1 – 6 of 6) sorted by relevance
1061 get_standard_encoding(const char *encoding, int *bytelength) in get_standard_encoding() argument1070 *bytelength = 3; in get_standard_encoding()1075 *bytelength = 2; in get_standard_encoding()1094 *bytelength = 4; in get_standard_encoding()1113 *bytelength = 3; in get_standard_encoding()1129 int bytelength; in PyCodec_SurrogatePassErrors() local1152 code = get_standard_encoding(encoding, &bytelength); in PyCodec_SurrogatePassErrors()1161 if (end - start > PY_SSIZE_T_MAX / bytelength) in PyCodec_SurrogatePassErrors()1162 end = start + PY_SSIZE_T_MAX / bytelength; in PyCodec_SurrogatePassErrors()1163 res = PyBytes_FromStringAndSize(NULL, bytelength*(end-start)); in PyCodec_SurrogatePassErrors()[all …]
428 size_t* bytelength,
8323 Detach the underlying data block from ArrayBuffer and set its bytelength to 0.
1741 …dejs/node/commit/dcba25082f)] - **test**: refactor and fix test-buffer-bytelength (Michaël Zasso) …
2963 …b.com/nodejs/node/commit/3d368d0322)] - **test**: refactor test-buffer-bytelength (Michaël Zasso) …