Home
last modified time | relevance | path

Searched refs:fpi (Results 1 – 25 of 41) sorted by relevance

12

/third_party/ltp/testcases/misc/math/float/exp_log/
Dgenldexp.c56 int fp, fpi, fpd; in create_Result_file() local
63 fpi = open(F_namini, O_RDONLY, 0777); in create_Result_file()
66 if (!fpi || !fpd) { in create_Result_file()
68 close(fpi); in create_Result_file()
73 read(fpi, &(tabInpi[i]), sizeof(int)); in create_Result_file()
77 close(fpi); in create_Result_file()
108 int fp, fpi; in create_Data_file() local
122 fpi = open(F_namei, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
123 if (!fp || !fpi) { in create_Data_file()
126 close(fpi); in create_Data_file()
[all …]
/third_party/FreeBSD/contrib/gdtoa/
Dgethex.c40 gethex(sp, fpi, exp, bp, sign) in gethex() argument
41 CONST char **sp; FPI *fpi; Long *exp; Bigint **bp; int sign; in gethex()
43 gethex( CONST char **sp, FPI *fpi, Long *exp, Bigint **bp, int sign)
157 switch(fpi->rounding) {
174 switch(fpi->rounding) {
187 nbits = fpi->nbits;
198 *exp = fpi->emin;
232 nbits = fpi->nbits;
255 if (e > fpi->emax) {
265 if (e < fpi->emin) {
[all …]
Dstrtodg.c174 (d, fpi, exp, bits, exact, rd, irv) in rvOK() argument
175 U *d; FPI *fpi; Long *exp; ULong *bits; int exact, rd, *irv; in rvOK()
177 (U *d, FPI *fpi, Long *exp, ULong *bits, int exact, int rd, int *irv)
186 bdif -= nb = fpi->nbits;
198 fpi->rounding ==
250 if (e < fpi->emin) {
251 k = fpi->emin - e;
252 e = fpi->emin;
253 if (k > nb || fpi->sudden_underflow) {
275 else if (e > fpi->emax) {
[all …]
Dstrtord.c80 FPI *fpi, fpi1; local
85 fpi = &fpi0;
89 fpi = &fpi1;
91 k = strtodg_l(s, sp, fpi, &exp, bits, locale);
Dgdtoa_fltrnds.h1 FPI *fpi, fpi1; variable
13 fpi = &fpi0;
16 fpi = &fpi1;
Dhexnan.c54 hexnan(sp, fpi, x0) in hexnan() argument
55 CONST char **sp; FPI *fpi; ULong *x0; in hexnan()
57 hexnan( CONST char **sp, FPI *fpi, ULong *x0)
66 nbits = fpi->nbits;
Dstrtof.c51 #define fpi &fpi0 macro
54 k = strtodg_l(s, sp, fpi, &exp, bits, loc);
Dstrtod.c171 static FPI fpi = { 53, 1-1023-53+1, 2046-1023-53+1, 1, SI }; local
179 FPI fpi1 = fpi;
182 #define fpi1 fpi
192 copybits(bits, fpi.nbits, bb);
/third_party/ltp/testcases/misc/math/float/power/
Dgenfabs.c43 int fp, fpi; in create_Result_file() local
49 fpi = open(F_naminp, O_RDONLY, 0777); in create_Result_file()
50 if (!fpi) { in create_Result_file()
52 close(fpi); in create_Result_file()
56 read(fpi, &Val, sizeof(double)); in create_Result_file()
59 close(fpi); in create_Result_file()
Dgenpow.c43 int fp, fpi1, fpi; in create_Result_file() local
50 fpi = open(F_namei, O_RDONLY, 0777); in create_Result_file()
52 if (!fpi || !fpi1) { in create_Result_file()
54 close(fpi); in create_Result_file()
59 read(fpi, &Val_X, sizeof(double)); in create_Result_file()
63 close(fpi); in create_Result_file()
Dgenfmod.c51 int fp, fpi1, fpi; in create_Result_file() local
58 fpi = open(F_namei, O_RDONLY, 0777); in create_Result_file()
60 if (!fpi || !fpi1) { in create_Result_file()
62 close(fpi); in create_Result_file()
67 read(fpi, &Val, sizeof(double)); in create_Result_file()
72 close(fpi); in create_Result_file()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DFormattedValueTest.java169 AttributedCharacterIterator fpi = fv.toCharacterIterator(); in checkFormattedValue() local
170 Set<AttributedCharacterIterator.Attribute> allAttributes = fpi.getAllAttributeKeys(); in checkFormattedValue()
172 …als(baseMessage + "Iterator should have length of string output", stringLength, fpi.getEndIndex()); in checkFormattedValue()
174 for (char c = fpi.first(); c != AttributedCharacterIterator.DONE; c = fpi.next(), i++) { in checkFormattedValue()
175 … Set<AttributedCharacterIterator.Attribute> currentAttributes = fpi.getAttributes().keySet(); in checkFormattedValue()
191 int actualBeginIndex = fpi.getRunStart(expectedField); in checkFormattedValue()
192 int actualEndIndex = fpi.getRunLimit(expectedField); in checkFormattedValue()
193 Object actualValue = fpi.getAttribute(expectedField); in checkFormattedValue()
/third_party/node/deps/icu-small/source/i18n/
Dscientificnumberformatter.cpp130 FieldPositionIterator &fpi, in format() argument
139 while (fpi.next(fp)) { in format()
204 FieldPositionIterator &fpi, in format() argument
213 while (fpi.next(fp)) { in format()
285 FieldPositionIterator fpi; in format() local
286 fDecimalFormat->format(number, original, &fpi, status); in format()
289 fpi, in format()
/third_party/icu/icu4c/source/i18n/
Dscientificnumberformatter.cpp130 FieldPositionIterator &fpi, in format() argument
139 while (fpi.next(fp)) { in format()
204 FieldPositionIterator &fpi, in format() argument
213 while (fpi.next(fp)) { in format()
285 FieldPositionIterator fpi; in format() local
286 fDecimalFormat->format(number, original, &fpi, status); in format()
289 fpi, in format()
Dnumber_capi.cpp198 auto* fpi = reinterpret_cast<FieldPositionIterator*>(ufpositer); in unumf_resultGetAllFieldPositions() local
199 FieldPositionIteratorHandler fpih(fpi, *ec); in unumf_resultGetAllFieldPositions()
/third_party/skia/third_party/externals/icu/source/i18n/
Dscientificnumberformatter.cpp130 FieldPositionIterator &fpi, in format() argument
139 while (fpi.next(fp)) { in format()
204 FieldPositionIterator &fpi, in format() argument
213 while (fpi.next(fp)) { in format()
285 FieldPositionIterator fpi; in format() local
286 fDecimalFormat->format(number, original, &fpi, status); in format()
289 fpi, in format()
Dnumber_capi.cpp195 auto* fpi = reinterpret_cast<FieldPositionIterator*>(ufpositer); in unumf_resultGetAllFieldPositions() local
196 FieldPositionIteratorHandler fpih(fpi, *ec); in unumf_resultGetAllFieldPositions()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DFormattedValueTest.java171 AttributedCharacterIterator fpi = fv.toCharacterIterator(); in checkFormattedValue() local
172 Set<AttributedCharacterIterator.Attribute> allAttributes = fpi.getAllAttributeKeys(); in checkFormattedValue()
174 …als(baseMessage + "Iterator should have length of string output", stringLength, fpi.getEndIndex()); in checkFormattedValue()
176 for (char c = fpi.first(); c != AttributedCharacterIterator.DONE; c = fpi.next(), i++) { in checkFormattedValue()
183 … Set<AttributedCharacterIterator.Attribute> currentAttributes = fpi.getAttributes().keySet(); in checkFormattedValue()
199 int actualBeginIndex = fpi.getRunStart(expectedField); in checkFormattedValue()
200 int actualEndIndex = fpi.getRunLimit(expectedField); in checkFormattedValue()
201 Object actualValue = fpi.getAttribute(expectedField); in checkFormattedValue()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_alu.c48 struct rc_instruction *fpi = rc_insert_new_instruction(c, after); in emit1() local
51 memcpy(&fpi->U.I, base, sizeof(struct rc_sub_instruction)); in emit1()
54 fpi->U.I.Opcode = Opcode; in emit1()
55 fpi->U.I.DstReg = DstReg; in emit1()
56 fpi->U.I.SrcReg[0] = SrcReg; in emit1()
57 return fpi; in emit1()
66 struct rc_instruction *fpi = rc_insert_new_instruction(c, after); in emit2() local
69 memcpy(&fpi->U.I, base, sizeof(struct rc_sub_instruction)); in emit2()
72 fpi->U.I.Opcode = Opcode; in emit2()
73 fpi->U.I.DstReg = DstReg; in emit2()
[all …]
/third_party/python/Tools/scripts/
Difdef.py51 def process(fpi, fpo): argument
56 line = fpi.readline()
59 nextline = fpi.readline()
Dpindent.py100 def __init__(self, fpi = sys.stdin, fpo = sys.stdout, argument
102 self.fpi = fpi
129 line = self.fpi.readline()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_program.c210 struct ir2_shader_info *fpi, *vpi; in fd2_program_emit() local
238 fpi = &fp->variant[0].info; in fd2_program_emit()
245 patch_fetches(ctx, fpi, NULL, &ctx->tex[PIPE_SHADER_FRAGMENT]); in fd2_program_emit()
252 emit(ring, MESA_SHADER_FRAGMENT, fpi, NULL); in fd2_program_emit()
253 fs_gprs = (fpi->max_reg < 0) ? 0x80 : fpi->max_reg; in fd2_program_emit()
/third_party/node/deps/icu-small/source/i18n/unicode/
Dscientificnumberformatter.h152 FieldPositionIterator &fpi,
166 FieldPositionIterator &fpi,
184 FieldPositionIterator &fpi,
/third_party/icu/icu4c/source/i18n/unicode/
Dscientificnumberformatter.h152 FieldPositionIterator &fpi,
166 FieldPositionIterator &fpi,
184 FieldPositionIterator &fpi,
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dscientificnumberformatter.h152 FieldPositionIterator &fpi,
166 FieldPositionIterator &fpi,
184 FieldPositionIterator &fpi,

12