/external/ceres-solver/examples/ |
D | bal_problem.cc | 67 void FscanfOrDie(FILE* fptr, const char* format, T* value) { in FscanfOrDie() argument 68 int num_scanned = fscanf(fptr, format, value); in FscanfOrDie() 90 FILE* fptr = fopen(filename.c_str(), "r"); in BALProblem() local 92 if (fptr == NULL) { in BALProblem() 98 FscanfOrDie(fptr, "%d", &num_cameras_); in BALProblem() 99 FscanfOrDie(fptr, "%d", &num_points_); in BALProblem() 100 FscanfOrDie(fptr, "%d", &num_observations_); in BALProblem() 114 FscanfOrDie(fptr, "%d", camera_index_ + i); in BALProblem() 115 FscanfOrDie(fptr, "%d", point_index_ + i); in BALProblem() 117 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/ceres-solver/scripts/ |
D | make_docs.py | 75 fptr = open(name) variable 76 out = fptr.read().replace(input_pattern, output_pattern) 77 fptr.close() 79 fptr = open(name, "w") variable 80 fptr.write(out) 81 fptr.close()
|
/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 40 fptr main() { in main() 41 return (fptr) 0; in main() 47 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/skia/tests/ |
D | DrawPathTest.cpp | 74 const float* fptr = (const float*)raw; in moveToH() local 75 path->moveTo(fptr[0], fptr[1]); in moveToH() 79 const float* fptr = (const float*)raw; in cubicToH() local 80 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_eliminator_specialization.py | 201 fptr = open(output, "w") 202 fptr.write(HEADER) 210 fptr.write(template % (row_block_size, e_block_size, f_block_size)) 211 fptr.close()
|
D | system_test.cc | 343 FILE * fptr = fopen(filename.c_str(), "r"); in ReadData() local 345 if (!fptr) { in ReadData() 350 FscanfOrDie(fptr, "%d", &num_cameras_); in ReadData() 351 FscanfOrDie(fptr, "%d", &num_points_); in ReadData() 352 FscanfOrDie(fptr, "%d", &num_observations_); in ReadData() 366 FscanfOrDie(fptr, "%d", camera_index_ + i); in ReadData() 367 FscanfOrDie(fptr, "%d", point_index_ + i); in ReadData() 369 FscanfOrDie(fptr, "%lf", observations_ + 2*i + j); in ReadData() 374 FscanfOrDie(fptr, "%lf", parameters_ + i); in ReadData() 416 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/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/libppp/src/ |
D | nat_cmd.c | 520 char *fptr; in nat_LayerPull() local 545 if ((fptr = malloc(bp->m_len)) == NULL) { in nat_LayerPull() 551 bp = mbuf_Read(bp, fptr, bp->m_len); in nat_LayerPull() 552 PacketAliasSaveFragment(fptr); in nat_LayerPull() 554 (unsigned long)((struct ip *)fptr)->ip_id, ++gfrags); in nat_LayerPull() 562 while ((fptr = PacketAliasGetFragment(MBUF_CTOP(bp))) != NULL) { in nat_LayerPull() 564 PacketAliasFragmentIn(MBUF_CTOP(bp), fptr); in nat_LayerPull() 565 len = ntohs(((struct ip *)fptr)->ip_len); in nat_LayerPull() 567 memcpy(MBUF_CTOP(*last), fptr, len); in nat_LayerPull() 568 free(fptr); in nat_LayerPull()
|
/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/BlocksRuntime/tests/ |
D | constassign.c | 22 void (*const fptr)(void) = foo; in main() local 25 fptr = bar; in main()
|
/external/clang/test/SemaCXX/ |
D | member-pointers-2.cpp | 45 FuncPtr X0::*fptr; member 49 (p.x0->*(p.fptr))(); in f()
|
/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
|
/external/llvm/test/CodeGen/Generic/ |
D | negintconst.ll | 42 … %fptr = getelementptr %Results* %fval, i64 %ioff.upgrd.1 ; <%Results*> [#uses=1] 44 …call i32 (i8*, ...)* @printf( i8* %castFmt, i32 %ioff, %Results* %fval, %Results* %fptr ) …
|
/external/clang/test/CodeGenObjC/ |
D | debug-info-class-extension3.m | 12 void bar(Foo *fptr) {}
|
D | debug-info-class-extension2.m | 14 void bar(Foo *fptr) {}
|