Home
last modified time | relevance | path

Searched refs:fptr (Results 1 – 25 of 61) sorted by relevance

123

/external/ceres-solver/examples/
Dbal_problem.cc49 void FscanfOrDie(FILE* fptr, const char* format, T* value) { in FscanfOrDie() argument
50 int num_scanned = fscanf(fptr, format, value); in FscanfOrDie()
72 FILE* fptr = fopen(filename.c_str(), "r"); in BALProblem() local
74 if (fptr == NULL) { in BALProblem()
80 FscanfOrDie(fptr, "%d", &num_cameras_); in BALProblem()
81 FscanfOrDie(fptr, "%d", &num_points_); in BALProblem()
82 FscanfOrDie(fptr, "%d", &num_observations_); in BALProblem()
96 FscanfOrDie(fptr, "%d", camera_index_ + i); in BALProblem()
97 FscanfOrDie(fptr, "%d", point_index_ + i); in BALProblem()
99 FscanfOrDie(fptr, "%lf", observations_ + 2*i + j); in BALProblem()
[all …]
Dsimple_bundle_adjuster.cc68 FILE* fptr = fopen(filename, "r"); in LoadFile() local
69 if (fptr == NULL) { in LoadFile()
73 FscanfOrDie(fptr, "%d", &num_cameras_); in LoadFile()
74 FscanfOrDie(fptr, "%d", &num_points_); in LoadFile()
75 FscanfOrDie(fptr, "%d", &num_observations_); in LoadFile()
85 FscanfOrDie(fptr, "%d", camera_index_ + i); in LoadFile()
86 FscanfOrDie(fptr, "%d", point_index_ + i); in LoadFile()
88 FscanfOrDie(fptr, "%lf", observations_ + 2*i + j); in LoadFile()
93 FscanfOrDie(fptr, "%lf", parameters_ + i); in LoadFile()
100 void FscanfOrDie(FILE *fptr, const char *format, T *value) { in FscanfOrDie() argument
[all …]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreeFilter.java79 public interface fptr { interface in TreeFilter
95 public void applyOnce(Object t, fptr whichRule) { in applyOnce()
118 fptr topdown_fptr = new fptr() {
124 fptr bottomup_fptr = new fptr() {
DTreeRewriter.java35 public interface fptr { interface in TreeRewriter
53 public Object applyOnce(Object t, fptr whichRule) { in applyOnce()
76 public Object applyRepeatedly(Object t, fptr whichRule) { in applyRepeatedly()
107 fptr topdown_fptr = new fptr() {
111 fptr bottomup_ftpr = new fptr() {
/external/clang/test/Sema/
Dwarn-main-return-type.c36 typedef void *(*fptr)(int a); typedef
41 fptr main() { in main()
43 return (fptr) 0; in main()
49 return (fptr) 0; in main()
Ddeclspec.c20 typedef f* fptr; typedef
23 __restrict__ fptr v3; // expected-error {{pointer to function type 'f' (aka 'int (void)') may not b…
Dreturn.c161 void (*fptr)() __attribute__((noreturn)); variable
183 fptr(); in test27()
/external/chromium_org/third_party/skia/tests/
DDrawPathTest.cpp54 const float* fptr = (const float*)raw; in moveToH() local
55 path->moveTo(fptr[0], fptr[1]); in moveToH()
59 const float* fptr = (const float*)raw; in cubicToH() local
60 path->cubicTo(fptr[0], fptr[1], fptr[2], fptr[3], fptr[4], fptr[5]); in cubicToH()
/external/skia/tests/
DDrawPathTest.cpp54 const float* fptr = (const float*)raw; in moveToH() local
55 path->moveTo(fptr[0], fptr[1]); in moveToH()
59 const float* fptr = (const float*)raw; in cubicToH() local
60 path->cubicTo(fptr[0], fptr[1], fptr[2], fptr[3], fptr[4], fptr[5]); in cubicToH()
/external/mesa3d/src/mesa/tnl/
Dt_draw.c71 *fptr++ = MACRO(*in); \
80 *fptr++ = (GLfloat)(*in); \
96 const GLubyte *ptr, GLfloat *fptr, in convert_bgra_to_float() argument
104 *fptr++ = UBYTE_TO_FLOAT(in[2]); /* red */ in convert_bgra_to_float()
105 *fptr++ = UBYTE_TO_FLOAT(in[1]); /* green */ in convert_bgra_to_float()
106 *fptr++ = UBYTE_TO_FLOAT(in[0]); /* blue */ in convert_bgra_to_float()
107 *fptr++ = UBYTE_TO_FLOAT(in[3]); /* alpha */ in convert_bgra_to_float()
114 const GLubyte *ptr, GLfloat *fptr, in convert_half_to_float() argument
123 *fptr++ = _mesa_half_to_float(in[j]); in convert_half_to_float()
141 const GLubyte *ptr, GLfloat *fptr, in convert_fixed_to_float() argument
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
Dt_draw.c71 *fptr++ = MACRO(*in); \
80 *fptr++ = (GLfloat)(*in); \
96 const GLubyte *ptr, GLfloat *fptr, in convert_bgra_to_float() argument
104 *fptr++ = UBYTE_TO_FLOAT(in[2]); /* red */ in convert_bgra_to_float()
105 *fptr++ = UBYTE_TO_FLOAT(in[1]); /* green */ in convert_bgra_to_float()
106 *fptr++ = UBYTE_TO_FLOAT(in[0]); /* blue */ in convert_bgra_to_float()
107 *fptr++ = UBYTE_TO_FLOAT(in[3]); /* alpha */ in convert_bgra_to_float()
114 const GLubyte *ptr, GLfloat *fptr, in convert_half_to_float() argument
123 *fptr++ = _mesa_half_to_float(in[j]); in convert_half_to_float()
141 const GLubyte *ptr, GLfloat *fptr, in convert_fixed_to_float() argument
[all …]
/external/ceres-solver/internal/ceres/
Dgenerate_partitioned_matrix_view_specializations.py208 fptr = open(output, "w")
209 fptr.write(HEADER)
217 fptr.write(template % (row_block_size, e_block_size, f_block_size))
218 fptr.close()
Dgenerate_eliminator_specialization.py207 fptr = open(output, "w")
208 fptr.write(HEADER)
216 fptr.write(template % (row_block_size, e_block_size, f_block_size))
217 fptr.close()
Dsystem_test.cc347 FILE * fptr = fopen(filename.c_str(), "r"); in ReadData() local
349 if (!fptr) { in ReadData()
354 FscanfOrDie(fptr, "%d", &num_cameras_); in ReadData()
355 FscanfOrDie(fptr, "%d", &num_points_); in ReadData()
356 FscanfOrDie(fptr, "%d", &num_observations_); in ReadData()
370 FscanfOrDie(fptr, "%d", camera_index_ + i); in ReadData()
371 FscanfOrDie(fptr, "%d", point_index_ + i); in ReadData()
373 FscanfOrDie(fptr, "%lf", observations_ + 2*i + j); in ReadData()
378 FscanfOrDie(fptr, "%lf", parameters_ + i); in ReadData()
420 void FscanfOrDie(FILE *fptr, const char *format, T *value) { in FscanfOrDie() argument
[all …]
Dlinear_least_squares_problems.cc537 FILE* fptr = fopen(filename.c_str(), "w"); in WriteArrayToFileOrDie() local
538 CHECK_NOTNULL(fptr); in WriteArrayToFileOrDie()
540 fprintf(fptr, "%17f\n", x[i]); in WriteArrayToFileOrDie()
542 fclose(fptr); in WriteArrayToFileOrDie()
564 FILE* fptr = fopen(filename.c_str(), "w"); in DumpLinearLeastSquaresProblemToTextFile() local
565 CHECK_NOTNULL(fptr); in DumpLinearLeastSquaresProblemToTextFile()
566 A->ToTextFile(fptr); in DumpLinearLeastSquaresProblemToTextFile()
567 fclose(fptr); in DumpLinearLeastSquaresProblemToTextFile()
/external/ceres-solver/scripts/
Dmake_docs.py104 with open(name) as fptr:
105 out = fptr.read()
121 with open(name, 'w') as fptr:
122 fptr.write(out)
/external/clang/test/CodeGenCXX/
Dfunction-template-specialization.cpp10 void test(int *iptr, float *fptr, int diff) { in test() argument
15 fptr = next(fptr, diff); in test()
/external/clang/test/CodeGen/
Dfunc-ptr-cast-decl.c6 typedef int (*fptr)(double); typedef
7 void a() { ((fptr)q_sk_num)(0); } in a()
Dattributes.c78 void (__attribute__((fastcall)) *fptr)(int); variable
80 fptr(10); in t21()
/external/clang/test/CodeGenObjCXX/
Dlambda-expressions.mm69 typedef int (^fptr)(); typedef
71 static fptr f;
74 fptr StaticMembers<T>::f = [] { auto f = []{return 5;}; return fptr(f); }();
75 template fptr StaticMembers<float>::f;
/external/compiler-rt/test/BlocksRuntime/
Dconstassign.c22 void (*const fptr)(void) = foo; in main() local
25 fptr = bar; in main()
/external/llvm/test/DebugInfo/
Dvarargs.ll36 ; void (*fptr)(int, ...);
52 %fptr = alloca void (i32, ...)*, align 8
56 call void @llvm.dbg.declare(metadata !{void (i32, ...)** %fptr}, metadata !25), !dbg !27
57 store void (i32, ...)* @_Z1biz, void (i32, ...)** %fptr, align 8, !dbg !27
96 …86688, metadata !14, metadata !"fptr", metadata !15, i32 18, metadata !26, i32 0, i32 0} ; [ DW_TA…
/external/clang/test/SemaCXX/
Dmember-pointers-2.cpp45 FuncPtr X0::*fptr; member
49 (p.x0->*(p.fptr))(); in f()
/external/libunwind/tests/
Dia64-test-dyn1.c42 void *mem, *memend, *addr, *fptr; in create_func() local
59 fptr = mem; in create_func()
62 fptr = mem; in create_func()
81 return fptr; in create_func()
/external/llvm/test/Feature/
Dtestalloca.ll18 %fptr = getelementptr %struct* %sptr, i64 0, i32 1, i32 0 ; <float*> [#uses=1]
19 store float 4.000000e+00, float* %fptr

123