/external/ceres-solver/examples/ |
D | bal_problem.cc | 49 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 …]
|
D | simple_bundle_adjuster.cc | 68 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/ |
D | TreeFilter.java | 79 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() {
|
D | TreeRewriter.java | 35 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/ |
D | warn-main-return-type.c | 36 typedef void *(*fptr)(int a); typedef 41 fptr main() { in main() 43 return (fptr) 0; in main() 49 return (fptr) 0; in main()
|
D | declspec.c | 20 typedef f* fptr; typedef 23 __restrict__ fptr v3; // expected-error {{pointer to function type 'f' (aka 'int (void)') may not b…
|
D | return.c | 161 void (*fptr)() __attribute__((noreturn)); variable 183 fptr(); in test27()
|
/external/chromium_org/third_party/skia/tests/ |
D | DrawPathTest.cpp | 54 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/ |
D | DrawPathTest.cpp | 54 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/ |
D | t_draw.c | 71 *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/ |
D | t_draw.c | 71 *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/ |
D | generate_partitioned_matrix_view_specializations.py | 208 fptr = open(output, "w") 209 fptr.write(HEADER) 217 fptr.write(template % (row_block_size, e_block_size, f_block_size)) 218 fptr.close()
|
D | generate_eliminator_specialization.py | 207 fptr = open(output, "w") 208 fptr.write(HEADER) 216 fptr.write(template % (row_block_size, e_block_size, f_block_size)) 217 fptr.close()
|
D | system_test.cc | 347 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 …]
|
D | linear_least_squares_problems.cc | 537 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/ |
D | make_docs.py | 104 with open(name) as fptr: 105 out = fptr.read() 121 with open(name, 'w') as fptr: 122 fptr.write(out)
|
/external/clang/test/CodeGenCXX/ |
D | function-template-specialization.cpp | 10 void test(int *iptr, float *fptr, int diff) { in test() argument 15 fptr = next(fptr, diff); in test()
|
/external/clang/test/CodeGen/ |
D | func-ptr-cast-decl.c | 6 typedef int (*fptr)(double); typedef 7 void a() { ((fptr)q_sk_num)(0); } in a()
|
D | attributes.c | 78 void (__attribute__((fastcall)) *fptr)(int); variable 80 fptr(10); in t21()
|
/external/clang/test/CodeGenObjCXX/ |
D | lambda-expressions.mm | 69 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/ |
D | constassign.c | 22 void (*const fptr)(void) = foo; in main() local 25 fptr = bar; in main()
|
/external/llvm/test/DebugInfo/ |
D | varargs.ll | 36 ; 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/ |
D | member-pointers-2.cpp | 45 FuncPtr X0::*fptr; member 49 (p.x0->*(p.fptr))(); in f()
|
/external/libunwind/tests/ |
D | ia64-test-dyn1.c | 42 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/ |
D | testalloca.ll | 18 %fptr = getelementptr %struct* %sptr, i64 0, i32 1, i32 0 ; <float*> [#uses=1] 19 store float 4.000000e+00, float* %fptr
|