/external/e2fsprogs/lib/quota/ |
H A D | mkquota.c | 53 int quota_file_exists(ext2_filsys fs, int qtype, int fmt) argument 127 int fmt = QFMT_VFS_V1; local 149 retval = quota_file_create(h, fs, i, fmt);
|
H A D | quotaio.c | 47 const char *quota_get_qf_name(int type, int fmt, char *buf) argument 52 basenames[fmt], extensions[type]); 57 const char *quota_get_qf_path(const char *mntpt, int qtype, int fmt, argument 67 strncat(path_buf, quota_get_qf_name(qtype, fmt, qf_name), 200 ext2_ino_t qf_ino, int type, int fmt, int flags) 205 if (fmt == -1) 206 fmt = QFMT_VFS_V1; 226 h->qh_fmt = fmt; 231 (h->qh_ops->check_file(h, type, fmt) == 0)) { 282 errcode_t quota_file_create(struct quota_handle *h, ext2_filsys fs, int type, int fmt) argument 199 quota_file_open(struct quota_handle *h, ext2_filsys fs, ext2_ino_t qf_ino, int type, int fmt, int flags) argument [all...] |
/external/eigen/Eigen/src/Core/ |
H A D | IO.h | 22 std::ostream & print_matrix(std::ostream & s, const Derived& _m, const IOFormat& fmt); 109 * format \a fmt. 117 DenseBase<Derived>::format(const IOFormat& fmt) const 119 return WithFormat<Derived>(derived(), fmt); 151 * print the matrix \a _m to the output stream \a s using the output format \a fmt */ 153 std::ostream & print_matrix(std::ostream & s, const Derived& _m, const IOFormat& fmt) argument 157 s << fmt.matPrefix << fmt.matSuffix; 168 if(fmt.precision == StreamPrecision) 172 else if(fmt [all...] |
/external/icu/icu4c/source/common/ |
H A D | udataswp.c | 270 const char *fmt, 275 va_start(args, fmt); 276 ds->printError(ds->printErrorContext, fmt, args); 269 udata_printError(const UDataSwapper *ds, const char *fmt, ...) argument
|
/external/icu/icu4c/source/i18n/unicode/ |
H A D | fmtable.h | 604 * @param fmt a valid UFormattable 609 static inline Formattable *fromUFormattable(UFormattable *fmt); 613 * @param fmt a valid UFormattable 618 static inline const Formattable *fromUFormattable(const UFormattable *fmt); 750 inline Formattable* Formattable::fromUFormattable(UFormattable *fmt) { argument 751 return reinterpret_cast<Formattable *>(fmt); 754 inline const Formattable* Formattable::fromUFormattable(const UFormattable *fmt) { argument 755 return reinterpret_cast<const Formattable *>(fmt);
|
/external/icu/icu4c/source/i18n/ |
H A D | winnmfmt.cpp | 79 static void getNumberFormat(NUMBERFMTW *fmt, int32_t lcid) argument 83 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_IDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); 84 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)); 87 fmt->Grouping = getGrouping(buf); 89 fmt->lpDecimalSep = NEW_ARRAY(UChar, 6); 90 GetLocaleInfoW(lcid, LOCALE_SDECIMAL, fmt->lpDecimalSep, 6); 92 fmt->lpThousandSep = NEW_ARRAY(UChar, 6); 93 GetLocaleInfoW(lcid, LOCALE_STHOUSAND, fmt->lpThousandSep, 6); 95 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_INEGNUMBER, (LPWSTR) &fmt->NegativeOrder, sizeof(UINT)); 98 static void freeNumberFormat(NUMBERFMTW *fmt) argument 106 getCurrencyFormat(CURRENCYFMTW *fmt, int32_t lcid) argument 129 freeCurrencyFormat(CURRENCYFMTW *fmt) argument 245 format(int32_t numDigits, UnicodeString &appendTo, wchar_t *fmt, ...) const argument [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | cdtdptst.c | 49 UDateFormat *fullFmt, *fmt; local 69 fmt= udat_open(UDAT_PATTERN,UDAT_PATTERN,"en_US", NULL, 0,pattern, u_strlen(pattern), &status); 75 d = udat_parse(fmt, s, u_strlen(s), &pos, &status); 97 udat_close(fmt); 232 UDateFormat *fmt; local 239 fmt = udat_open(UDAT_FULL, UDAT_FULL, "cs", NULL, 0, NULL, 0, &status); 246 lneed=udat_toPattern(fmt, TRUE, NULL, lneed, &status); 250 udat_toPattern(fmt, TRUE, pattern, lneed+1, &status); 263 juneStr = myDateFormat(fmt, june); 264 julyStr = myDateFormat(fmt, jul [all...] |
H A D | currtest.c | 159 UNumberFormat *fmt = unum_open(UNUM_CURRENCY, NULL, 0, "hu_HU", NULL, &status); local 170 unum_formatDouble(fmt, 123.456, buffer, sizeof(buffer)/sizeof(buffer[0]), NULL, &status); 176 unum_setAttribute(fmt, UNUM_FRACTION_DIGITS, 2); 177 unum_formatDouble(fmt, 123.456, buffer, sizeof(buffer)/sizeof(buffer[0]), NULL, &status); 183 unum_setAttribute(fmt, UNUM_FRACTION_DIGITS, 3); 184 unum_formatDouble(fmt, 123.456, buffer, sizeof(buffer)/sizeof(buffer[0]), NULL, &status); 189 unum_close(fmt);
|
H A D | tracetst.c | 132 const char *fmt, va_list args) { 148 utrace_vformat(buf, sizeof(buf), 0, fmt, args); 158 const char *fmt, va_list args) { 174 utrace_vformat(buf, sizeof(buf), 0, fmt, args); 131 testTraceExit(const void *context, int32_t fnNumber, const char *fmt, va_list args) argument 157 testTraceData(const void *context, int32_t fnNumber, int32_t level, const char *fmt, va_list args) argument
|
/external/icu/icu4c/source/test/intltest/ |
H A D | calcasts.cpp | 176 DateFormat *fmt = DateFormat::createDateInstance(DateFormat::kFull, Locale("ar_JO@calendar=islamic-civil")); local 177 if (fmt == NULL) { 183 fmt->setTimeZone(*TimeZone::getGMT()); 184 fmt->format((UDate)2486076.5, result); 189 delete fmt;
|
H A D | dadrfmt.cpp | 94 const DataMap * /* settings */, UBool fmt) { 236 if (fmt) { 93 testConvertDate(TestData *testData, const DataMap * , UBool fmt) argument
|
H A D | dtfmapts.cpp | 328 NumberFormat *fmt = NumberFormat::createInstance(status); local 329 if (fmt) { 330 fmt->format(numObj, str, status); 331 fmt->format(numObj, str, fpos, status); 332 delete fmt; 342 DecimalFormat fmt(status); 345 fmt.format(numObj, str, status); 346 fmt.format(numObj, str, fpos, status); 348 fmt.format(2.71828, str); 349 fmt [all...] |
H A D | nmfmtrt.cpp | 92 NumberFormat *fmt = NULL; local 96 fmt = NumberFormat::createInstance(status); 98 test(fmt); 100 delete fmt; 102 fmt = NumberFormat::createCurrencyInstance(status); 104 test(fmt); 106 delete fmt; 108 fmt = NumberFormat::createPercentInstance(status); 110 test(fmt); 112 delete fmt; 147 test(NumberFormat *fmt) argument 218 test(NumberFormat *fmt, double value) argument 224 test(NumberFormat *fmt, int32_t value) argument 230 test(NumberFormat *fmt, const Formattable& value) argument [all...] |
H A D | tfsmalls.cpp | 90 DecimalFormat* fmt = (DecimalFormat*) NumberFormat::createInstance(status); local 95 fmt->setDecimalSeparatorAlwaysShown(TRUE); 104 //ToCharString(fmt->format(doubleNum[i], buf, pos), fmtText); 105 UnicodeString res = fmt->format(doubleNum[i], buf, pos); 112 delete fmt;
|
H A D | winnmtst.cpp | 132 static UnicodeString &getWindowsFormat(int32_t lcid, UBool currency, UnicodeString &appendTo, const wchar_t *fmt, ...) argument 143 va_start(args, fmt); 144 result = _vsnwprintf(nBuffer, STACK_BUFFER_SIZE, fmt, args); 153 va_start(args, fmt); 154 newLength = _vscwprintf(fmt, args); 159 va_start(args, fmt); 160 result = _vsnwprintf(nBuffer, newLength + 1, fmt, args);
|
/external/icu/icu4c/source/test/perf/DateFmtPerf/ |
H A D | DateFmtPerf.h | 174 DateFormat *fmt; local 175 fmt = DateFormat::createDateTimeInstance( 188 fmt->setCalendar(*cal); 192 fmt->format(date, str, status2); 201 delete fmt; 259 NumberFormat *fmt = NumberFormat::createInstance(loc, status); local 268 fmt->parse(str, result, status); 276 fmt->format(result, str, status); 282 delete fmt; // Release the storage used by the formatter
|
/external/iproute2/misc/ |
H A D | lnstat.c | 174 char fmt[12]; local 177 snprintf(fmt, sizeof(fmt)-1, "%%%u.%us|", width, width); 179 snprintf(th.hdr[0]+ofs, width+2, fmt, 185 snprintf(th.hdr[h]+ofs, width+2, fmt, ""); 188 snprintf(th.hdr[h]+ofs, width+2, fmt, cname);
|
/external/libcxx/src/ |
H A D | string.cpp | 360 as_string(P sprintf_like, S s, const typename S::value_type* fmt, V a) argument 366 int status = sprintf_like(&s[0], available + 1, fmt, a);
|
/external/libedit/src/ |
H A D | keymacro.c | 590 static const char fmt[] = "%-15s-> %s\n"; local 599 (void) fprintf(el->el_outfile, fmt, 607 (void) fprintf(el->el_outfile, fmt, 623 (void) fprintf(el->el_outfile, fmt, ct_encode_string(key,
|
/external/libpcap/tests/ |
H A D | selpolltest.c | 284 error(const char *fmt, ...) argument 289 va_start(ap, fmt); 290 (void)vfprintf(stderr, fmt, ap); 292 if (*fmt) { 293 fmt += strlen(fmt); 294 if (fmt[-1] != '\n') 303 warning(const char *fmt, ...) argument 308 va_start(ap, fmt); 309 (void)vfprintf(stderr, fmt, a [all...] |
H A D | valgrindtest.c | 141 error(const char *fmt, ...) argument 146 va_start(ap, fmt); 147 (void)vfprintf(stderr, fmt, ap); 149 if (*fmt) { 150 fmt += strlen(fmt); 151 if (fmt[-1] != '\n') 160 warning(const char *fmt, ...) argument 165 va_start(ap, fmt); 166 (void)vfprintf(stderr, fmt, a [all...] |
/external/libvpx/libvpx/examples/ |
H A D | decode_with_partial_drops.c | 82 static void die(const char *fmt, ...) { argument 85 va_start(ap, fmt); 86 vprintf(fmt, ap); 87 if(fmt[strlen(fmt)-1] != '\n')
|
H A D | vp8_multi_resolution_encoder.c | 48 static void die(const char *fmt, ...) { argument 51 va_start(ap, fmt); 52 vprintf(fmt, ap); 53 if(fmt[strlen(fmt)-1] != '\n') 102 ptr = img->planes[img->fmt==VPX_IMG_FMT_YV12? VPX_PLANE_V : VPX_PLANE_U]; 105 ptr = img->planes[img->fmt==VPX_IMG_FMT_YV12?VPX_PLANE_U : VPX_PLANE_V];
|
/external/libvpx/libvpx/ |
H A D | tools_common.c | 41 va_start(ap, fmt);\ 44 vfprintf(stderr, fmt, ap);\ 58 void die(const char *fmt, ...) { argument 63 void fatal(const char *fmt, ...) { argument 68 void warn(const char *fmt, ...) { argument 100 yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_V : VPX_PLANE_U]; 104 yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_U : VPX_PLANE_V];
|
/external/libvterm/src/ |
H A D | vterm.c | 138 void vterm_push_output_sprintf_ctrl(VTerm *vt, unsigned char ctrl, const char *fmt, ...) argument 146 va_start(args, fmt); 147 vterm_push_output_vsprintf(vt, fmt, args); 151 void vterm_push_output_sprintf_dcs(VTerm *vt, const char *fmt, ...) argument 159 va_start(args, fmt); 160 vterm_push_output_vsprintf(vt, fmt, args);
|