Lines Matching defs:mode
92 // Appends |mode_char| to |mode| before the optional character set encoding; see
94 void AppendModeCharacter(char16_t mode_char, std::u16string* mode) {
95 size_t comma_pos = mode->find(L',');
96 mode->insert(comma_pos == std::u16string::npos ? mode->length() : comma_pos,
550 FILE* OpenFile(const FilePath& filename, const char* mode) {
552 // present before a comma in |mode|.
554 strchr(mode, 'N') == nullptr ||
555 (strchr(mode, ',') != nullptr && strchr(mode, 'N') > strchr(mode, ',')));
556 std::u16string w_mode = ASCIIToUTF16(mode);
561 FILE* FileToFILE(File file, const char* mode) {
569 FILE* stream = _fdopen(fd, mode);