Searched refs:num_chars (Results 1 – 8 of 8) sorted by relevance
221 int num = 0, num_chars, found_newline; in readbuffer_gets() local238 for (num_chars = 0; in readbuffer_gets()239 (num_chars < ctx->ibuf_len) && (num_chars < size); in readbuffer_gets()240 num_chars++) { in readbuffer_gets()241 *buf++ = p[num_chars]; in readbuffer_gets()242 if (p[num_chars] == '\n') { in readbuffer_gets()244 num_chars++; in readbuffer_gets()248 num += num_chars; in readbuffer_gets()249 size -= num_chars; in readbuffer_gets()250 ctx->ibuf_len -= num_chars; in readbuffer_gets()[all …]
143 int num_chars = m_opaque_up->SetErrorStringWithVarArg(format, args); in SetErrorStringWithFormat() local145 return num_chars; in SetErrorStringWithFormat()
386 size_t num_chars = python_file_spec.GetPath(python_path, PATH_MAX); in ProcessArgs() local387 if (num_chars < PATH_MAX) { in ProcessArgs()
937 size_t num_chars = process->ReadCStringFromMemory(error_addr + addr_size, in DoLoadImage() local940 if (utility_error.Success() && num_chars > 0) in DoLoadImage()
1312 size_t num_chars = num_bytes / 6; in Read() local1319 m_py_obj.CallMethod("read", (unsigned long long)num_chars)); in Read()
241 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
2082 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() argument2083 if (num_chars == -1) num_chars = static_cast<int>(wcslen(str)); in WideStringToUtf8()2086 for (int i = 0; i < num_chars; ++i) { in WideStringToUtf8()2091 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) { in WideStringToUtf8()
1180 __le16 num_chars; member