Home
last modified time | relevance | path

Searched refs:format_string (Results 1 – 25 of 47) sorted by relevance

12

/netbsd-src/external/bsd/file/dist/src/
H A Dvasprintf.c206 const char *format_string, ...) in print_it() argument
215 va_start(varg, format_string); in print_it()
216 vsprintf_len = vsprintf(s->dest_string, format_string, varg); in print_it()
245 const char *format_string, const char *arg_string) in type_s() argument
261 return print_it(s, string_len, format_string, arg_string); in type_s()
301 char format_string[24]; /* max length may be something like "% +-#032768.32768Ld" */ in dispatch() local
417 format_string[0] = '%'; in dispatch()
418 format_ptr = &(format_string[1]); in dispatch()
484 return print_it(s, (size_t)approx_width, format_string, va_arg(s->vargs, int)); in dispatch()
486 return print_it(s, (size_t)approx_width, format_string, va_arg(s->vargs, long long int)); in dispatch()
[all …]
/netbsd-src/external/bsd/elftosb/dist/elftosb2/
H A DConversionController.cpp178 …throw runtime_error(format_string("unable to find command file %s\n", m_commandFilePath->c_str())); in parseCommandFile()
241 throw semantic_error(format_string("line %d: option already set", (*it)->getFirstLine())); in processOptions()
274 …throw semantic_error(format_string("line %d: constant value is an invalid type", (*it)->getFirstLi… in processConstants()
304 …throw semantic_error(format_string("line %d: source definition node is an unexpected type", node->… in processSources()
312 throw semantic_error(format_string("line %d: source already defined", node->getFirstLine())); in processSources()
361 …throw semantic_error(format_string("line %d: expression didn't evaluate to an integer", expr->getF… in processSources()
387 …throw semantic_error(format_string("line %d: unexpected source definition node type", node->getFir… in processSources()
415 …throw semantic_error(format_string("line %d: section definition is unexpected type", node->getFirs… in processSections()
423 …throw semantic_error(format_string("line %d: section number did not evaluate to an integer", idExp… in processSections()
478 …throw semantic_error(format_string("line %d: unexpected section contents type", node->getFirstLine… in processSections()
[all …]
H A DElftosbAST.cpp247 …throw std::runtime_error(format_string("line %d: undefined variable '%s'", getFirstLine(), m_varia… in reduce()
299 …throw semantic_error(format_string("line %d: no source file named %s", getFirstLine(), sourceName-… in reduce()
307 throw semantic_error(format_string("line %d: no default source file is set", getFirstLine())); in reduce()
320 …throw semantic_error(format_string("line %d: source file %s does not support symbols", getFirstLin… in reduce()
325 …throw semantic_error(format_string("line %d: source file %s does not have an entry point", getFirs… in reduce()
405 …throw semantic_error(format_string("line %d: expression did not evaluate to an integer", m_expr->g… in reduce()
534 …throw semantic_error(format_string("line %d: invalid source file: %s", getFirstLine(), sourceName-… in reduce()
542 throw semantic_error(format_string("line %d: no default source file is set", getFirstLine())); in reduce()
568 …throw semantic_error(format_string("line %d: cannot get size of undefined constant %s", getFirstLi… in reduce()
683 …throw semantic_error(format_string("left hand side of %s operator failed to evaluate to an integer… in reduce()
[all …]
H A Delftosb.cpp592 throw std::runtime_error(format_string("could not open output file %s", m_outputFilePath)); in convert()
610 throw std::runtime_error(format_string("unable to find key file %s\n", keyPath.c_str())); in addCryptoKeys()
616 throw std::runtime_error(format_string("unable to read key file %s\n", keyPath.c_str())); in addCryptoKeys()
/netbsd-src/crypto/external/bsd/heimdal/dist/kadmin/
H A Ddump.c72 if (!opt->format_string || strcmp(opt->format_string, "Heimdal") == 0) { in dump()
74 } else if (opt->format_string && strcmp(opt->format_string, "MIT") == 0) { in dump()
/netbsd-src/external/bsd/elftosb/dist/common/
H A DSourceFile.cpp39 throw std::runtime_error(format_string("unable to find file %s\n", path.c_str())); in openFile()
45 throw std::runtime_error(format_string("failed to open file: %s", actualPath.c_str())); in openFile()
95 throw std::runtime_error(format_string("failed to open file: %s", m_path.c_str())); in open()
173 throw std::runtime_error(format_string("unexpected end of file: %s", m_path.c_str())); in createDataSource()
H A DEvalContext.cpp34 throw std::runtime_error(format_string("undefined variable '%s'", name.c_str())); in getVariableValue()
45 throw std::runtime_error(format_string("undefined variable '%s'", name.c_str())); in getVariableSize()
73 throw std::runtime_error(format_string("undefined variable '%s'", name.c_str())); in isVariableLocked()
84 throw std::runtime_error(format_string("undefined variable '%s'", name.c_str())); in lockVariable()
H A Dformat_string.h16 std::string format_string(const char * fmt, ...);
H A Dformat_string.cpp56 std::string format_string(const char * fmt, ...) in format_string() function
/netbsd-src/external/bsd/elftosb/dist/encryptgpk/
H A Dencryptgpk.cpp318 throw std::runtime_error(format_string("could not open output file %s", m_outputPath.c_str())); in generateOutput()
355 throw std::runtime_error(format_string("unable to read key file %s\n", keyPath.c_str())); in readKeyFile()
379 …std::string text = format_string("%s%sunsigned char %s[%d] = {", m_outputPrefix.c_str(), m_outputP… in writeCArray()
387 text = format_string("%s\n 0x%02x", i == 0 ? "" : ",", (*dataPtr++) & 0xff); in writeCArray()
/netbsd-src/external/gpl3/gcc/dist/libgfortran/io/
H A Dformat.c195 c = safe_toupper (*fmt->format_string++); in next_char()
207 { fmt->format_string--; fmt->format_string_len++; }
239 f->source = fmt->format_string; in get_fnode()
458 fmt->string = fmt->format_string; in format_lex()
838 tail->u.string.p = fmt->format_string; in parse_format_list()
842 fmt->format_string++; in parse_format_list()
1130 tail->u.string.p = fmt->format_string; in parse_format_list()
1134 fmt->format_string += fmt->value; in parse_format_list()
1385 fmt->format_string = dtp->format; in parse_format()
H A Dformat.h100 char *format_string, *string; member
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/io/
H A Dformat.c196 c = toupper (*fmt->format_string++); in next_char()
208 { fmt->format_string--; fmt->format_string_len++; }
240 f->source = fmt->format_string; in get_fnode()
459 fmt->string = fmt->format_string; in format_lex()
838 tail->u.string.p = fmt->format_string; in parse_format_list()
842 fmt->format_string++; in parse_format_list()
1123 tail->u.string.p = fmt->format_string; in parse_format_list()
1127 fmt->format_string += fmt->value; in parse_format_list()
1378 fmt->format_string = dtp->format; in parse_format()
H A Dformat.h100 char *format_string, *string; member
/netbsd-src/external/bsd/elftosb/dist/elftosb.xcodeproj/
H A Dproject.pbxproj93 …B940A925C61003B9C11 /* format_string.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02C5DB920A…
94 …B950A925C61003B9C11 /* format_string.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02C5DB920A…
95 …B960A925C61003B9C11 /* format_string.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02C5DB920A…
262 …5C61003B9C11 /* format_string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
263 …1003B9C11 /* format_string.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =…
364 02C5DB920A925C61003B9C11 /* format_string.cpp */,
365 02C5DB910A925C61003B9C11 /* format_string.h */,
654 02C5DB950A925C61003B9C11 /* format_string.cpp in Sources */,
669 02C5DB960A925C61003B9C11 /* format_string.cpp in Sources */,
715 02C5DB940A925C61003B9C11 /* format_string.cpp in Sources */,
H A Dcreed.pbxuser497 fRef = 02C5DB920A925C61003B9C11 /* format_string.cpp */;
505 fRef = 02C5DB920A925C61003B9C11 /* format_string.cpp */;
506 name = "format_string.cpp: 21";
515 fRef = 02C5DB920A925C61003B9C11 /* format_string.cpp */;
516 name = "format_string.cpp: 21";
642 fRef = 02C5DB920A925C61003B9C11 /* format_string.cpp */;
643 name = "format_string.cpp: 21";
662 fRef = 02C5DB920A925C61003B9C11 /* format_string.cpp */;
663 name = "format_string.cpp: 21";
2977 02C5DB910A925C61003B9C11 /* format_string.h */ = {
[all …]
/netbsd-src/lib/libexecinfo/
H A Dbacktrace.c134 format_string(char **buf, size_t *bufsiz, size_t offs, const char *fmt, in format_string()
194 return format_string(buf, bufsiz, offs, fmt, &dli, addr); in backtrace_symbols_fmt()
115 format_string(char **buf, size_t *bufsiz, size_t offs, const char *fmt, format_string() function
/netbsd-src/external/bsd/elftosb/lib/
H A DMakefile39 format_string.cpp \
/netbsd-src/external/bsd/elftosb/dist/
H A Dmakefile.rules77 format_string.o \
/netbsd-src/external/bsd/elftosb/dist/sbtool/
H A Dsbtool.cpp303 …throw std::runtime_error(format_string("boot image format version is too new (format version %d.%d… in readBootImage()
479 throw std::runtime_error(format_string("failed to write data to stdout (%d)", ferror(stdout))); in extractSection()
/netbsd-src/external/gpl3/autoconf/dist/build-aux/
H A Dgitlog-to-changelog194 my $format_string = '%s%n%b%n';
203 'format=s' => \$format_string,
218 '--pretty=format:%H:%ct %an <%ae>%n%n'.$format_string, @ARGV);
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/
H A Dfloating_to_chars.cc890 sprintf_ld(char* buffer, const char* format_string, T value, Extra... args) in sprintf_ld() argument
902 len = __sprintfieee128(buffer, format_string, args..., value); in sprintf_ld()
905 len = sprintf(buffer, format_string, args..., value); in sprintf_ld()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dio.c131 static gfc_char_t *format_string; variable
160 c = *format_string++; in next_char()
180 *format_string++ = c; in next_char()
1141 format_string += value; in check_format()
1332 format_string = e->value.character.string; in check_format_string()
1415 format_string = e->value.character.string; in gfc_match_format()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dio.cc131 static gfc_char_t *format_string; variable
160 c = *format_string++; in next_char()
180 *format_string++ = c; in next_char()
1141 format_string += value; in check_format()
1332 format_string = e->value.character.string; in check_format_string()
1415 format_string = e->value.character.string; in gfc_match_format()
/netbsd-src/external/apache2/llvm/dist/libcxx/src/filesystem/
H A Dfilesystem_common.h87 format_string(const char* msg, ...) { in format_string() function

12