Searched refs:fn (Results 26 - 50 of 148) sorted by relevance

123456

/haiku-fatelf/src/system/libroot/posix/glibc/arch/generic/
H A De_rem_pio2.c93 double z,w,t,r,fn; local
130 fn = (double)n;
131 r = t-fn*pio2_1;
132 w = fn*pio2_1t; /* 1st round good to 85 bit */
143 w = fn*pio2_2;
145 w = fn*pio2_2t-((t-r)-w);
151 w = fn*pio2_3;
153 w = fn*pio2_3t-((t-r)-w);
H A De_rem_pio2f.c109 float z,w,t,r,fn; local
145 fn = (float)n;
146 r = t-fn*pio2_1;
147 w = fn*pio2_1t; /* 1st round good to 40 bit */
158 w = fn*pio2_2;
160 w = fn*pio2_2t-((t-r)-w);
166 w = fn*pio2_3;
168 w = fn*pio2_3t-((t-r)-w);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
H A D2-1.c50 static void* fn(void *arg) function
113 if(pthread_create(&thread1, NULL, fn, NULL) != 0)
/haiku-fatelf/src/system/libroot/posix/
H A Dftw.c33 ftw(const char *path, int (*fn)(const char *, const struct stat *, int),
80 error = fn(cur->fts_path, cur->fts_statp, fnflag);
H A Dnftw.c33 nftw(const char *path, int (*fn)(const char *, const struct stat *, int,
98 error = fn(cur->fts_path, cur->fts_statp, fnflag, &ftw);
/haiku-fatelf/src/bin/fwcontrol/
H A Dfwmpegts.c89 |0|0| sid | dbs |fn | qpc |S|RSV| dbc |
118 fn = 3
225 if (ciph->fn != 3) {
227 "unsupported MPEG TS stream, fn=%d (only fn=3 is supported)",
228 ciph->fn);
246 ciph->fn, (1<<ciph->fn) );
256 if (ciph->dbc % (1<<ciph->fn) == 0)
/haiku-fatelf/src/libs/pdflib/libs/pdflib/
H A Dp_annots.c608 static const char fn[] = "pdf__attach_file"; local
621 ann = (pdf_annot *) pdc_malloc(p->pdc, sizeof(pdf_annot), fn);
660 static const char fn[] = "PDF_attach_file"; local
662 if (pdf_enter_api(p, fn, pdf_state_page,
691 static const char fn[] = "PDF_attach_file2"; local
693 if (pdf_enter_api(p, fn, pdf_state_page,
731 static const char fn[] = "pdf__add_note"; local
734 ann = (pdf_annot *) pdc_malloc(p->pdc, sizeof(pdf_annot), fn);
769 static const char fn[] = "PDF_add_note"; local
771 if (pdf_enter_api(p, fn, pdf_state_pag
798 static const char fn[] = "PDF_add_note2"; local
824 static const char fn[] = "PDF_add_pdflink"; local
862 static const char fn[] = "PDF_add_launchlink"; local
914 static const char fn[] = "PDF_add_locallink"; local
947 static const char fn[] = "PDF_add_weblink"; local
975 static const char fn[] = "PDF_set_border_style"; local
1003 static const char fn[] = "PDF_set_border_color"; local
1030 static const char fn[] = "PDF_set_border_dash"; local
[all...]
H A Dp_type3.c32 static char fn[] = "pdf_init_t3font_struct"; local
42 pdc_malloc(p->pdc, t3font->capacity * sizeof (pdc_t3glyph), fn);
77 static const char fn[] = "pdf_handle_t3font"; local
92 fname = (char *) pdc_malloc(p->pdc, namlen, fn);
130 newfont->t3font = (pdc_t3font*)pdc_malloc(p->pdc, sizeof(pdc_t3font), fn);
154 newfont->numOfCodes * sizeof(int), fn);
181 static const char fn[] = "pdf__begin_font"; local
234 font->numOfCodes * sizeof(int), fn);
236 font->t3font = (pdc_t3font*) pdc_malloc(p->pdc, sizeof(pdc_t3font), fn);
324 static const char fn[] local
419 static const char fn[] = "PDF_begin_font"; local
435 static const char fn[] = "PDF_end_font"; local
449 static const char fn[] = "PDF_begin_glyph"; local
462 static const char fn[] = "PDF_end_glyph"; local
[all...]
H A Dp_pattern.c100 static const char fn[] = "PDF_begin_pattern"; local
103 if (!pdf_enter_api(p, fn, pdf_state_document,
129 PDF_PUSH_STATE(p, fn, pdf_state_pattern);
179 static const char fn[] = "PDF_end_pattern"; local
181 if (!pdf_enter_api(p, fn, pdf_state_pattern, "(p[%p])\n", (void *) p))
212 PDF_POP_STATE(p, fn);
H A Dp_basic.c341 static const char fn[] = "PDF_get_errnum"; local
344 if (!pdf_enter_api2(p, fn, "(p[%p])", (void *) p))
358 static const char fn[] = "PDF_get_errmsg"; local
361 if (!pdf_enter_api2(p, fn, "(p[%p])", (void *) p))
375 static const char fn[] = "PDF_get_apiname"; local
378 if (!pdf_enter_api2(p, fn, "(p[%p])", (void *) p))
392 static const char fn[] = "PDF_get_opaque"; local
399 if (!pdf_enter_api2(p, fn, "(p[%p])", (void *) p))
612 static const char fn[] = "PDF_delete"; local
614 if (!pdf_enter_api2(p, fn, "(
661 static const char *fn = "pdf_init_document"; local
766 static const char fn[] = "PDF_open_file"; local
804 static const char fn[] = "PDF_open_fp"; local
860 static const char fn[] = "PDF_open_mem"; local
891 static const char fn[] = "PDF_get_buffer"; local
941 static const char fn[] = "pdf_get_pnode_id"; local
1197 static const char fn[] = "PDF_close"; local
1278 static const char fn[] = "PDF_begin_page"; local
1331 static const char fn[] = "PDF_end_page"; local
[all...]
H A Dp_resource.c263 static const char fn[] = "pdf_add_resource"; local
295 cat = (pdf_category *) pdc_malloc(p->pdc, sizeof(pdf_category), fn);
328 name = (char *) pdc_malloc(p->pdc, len + 1, fn);
348 res = (pdf_res *) pdc_calloc(p->pdc, sizeof(pdf_res), fn);
374 res->value = (char *) pdc_malloc(p->pdc, len, fn);
489 static const char fn[] = "pdf__create_pvf"; local
510 vfile = (pdf_virtfile *) pdc_calloc(p->pdc, sizeof(pdf_virtfile), fn);
520 vfile->data = (const void *) pdc_malloc(p->pdc, size, fn);
571 static const char fn[] = "PDF_create_pvf"; local
573 if (!pdf_enter_api(p, fn, pdf_state_al
595 static const char fn[] = "PDF_delete_pvf"; local
[all...]
H A Dp_type1.c54 static const char *fn = "PFA_data_fill"; local
71 src->buffer_start = (pdc_byte *) pdc_malloc(p->pdc, LINEBUFLEN + 1, fn);
206 static const char *fn = "pdf_read_pfb_segment"; local
216 src->buffer_start = (pdc_byte *) pdc_malloc(p->pdc, length, fn);
309 static const char *fn = "pdf_make_t1src"; local
328 pdc_malloc(p->pdc, sizeof(t1_private_data), fn);
H A Dp_color.c241 static const char fn[] = "pdf_add_colorspace"; local
285 (pdf_colormap *) pdc_malloc(p->pdc, sizeof(pdf_colormap), fn);
360 static const char fn[] = "PDF_setgray_fill"; local
363 if (!pdf_enter_api(p, fn, pdf_state_content, "(p[%p], %g)\n",
376 static const char fn[] = "PDF_setgray_stroke"; local
379 if (!pdf_enter_api(p, fn, pdf_state_content, "(p[%p], %g)\n",
392 static const char fn[] = "PDF_setgray"; local
395 if (!pdf_enter_api(p, fn, pdf_state_content, "(p[%p], %g)\n",
410 static const char fn[] = "PDF_setrgbcolor_fill"; local
413 if (!pdf_enter_api(p, fn, pdf_state_conten
428 static const char fn[] = "PDF_setrgbcolor_stroke"; local
446 static const char fn[] = "PDF_setrgbcolor"; local
751 static const char fn[] = "PDF_makespotcolor"; local
916 static const char fn[] = "PDF_setcolor"; local
[all...]
H A Dp_truetype.c239 static const char *fn = "tt_get_cmap0"; local
252 pdc_malloc(p->pdc, (size_t) (sizeof (tt_ushort) * 256), fn);
264 static const char *fn = "tt_get_cmap6"; local
276 pdc_malloc(p->pdc, (size_t) (sizeof (tt_ushort) * last), fn);
290 static const char *fn = "tt_get_cmap4"; local
319 pdc_malloc(p->pdc, (size_t) (sizeof (tt_ushort) * segs), fn);
322 pdc_malloc(p->pdc, (size_t) (sizeof (tt_ushort) * segs), fn);
325 pdc_malloc(p->pdc, (size_t) (sizeof (tt_ushort) * segs), fn);
328 pdc_malloc(p->pdc, (size_t) (sizeof (tt_ushort) * segs), fn);
334 (size_t) (sizeof (tt_ushort) * cm4->numGlyphIds), fn);
479 static const char *fn = "tt_get_tab_cmap"; local
555 static const char *fn = "tt_get_tab_head"; local
588 static const char *fn = "tt_get_tab_hhea"; local
619 static const char *fn = "tt_get_tab_hmtx"; local
669 static const char *fn = "tt_get_tab_CFF_"; local
727 static const char *fn = "tt_get_tab_maxp"; local
756 static const char *fn = "tt_get_tab_name"; local
954 static const char *fn = "tt_get_tab_OS_2"; local
1042 static const char *fn = "tt_get_tab_post"; local
1065 static const char *fn = "pdf_init_tt"; local
1161 static const char *fn = "pdf_get_tab_offset"; local
1470 static const char *fn = "pdf_get_metrics_tt"; local
1699 static const char *fn = "pdf_check_and_read_ttc"; local
[all...]
H A Dp_text.c252 static const char fn[] = "PDF_set_text_matrix"; local
254 if (!pdf_enter_api(p, fn,
278 static const char fn[] = "PDF_set_text_pos"; local
280 if (!pdf_enter_api(p, fn, pdf_state_content, "(p[%p], %g, %g)\n",
435 static const char fn[] = "PDF_stringwidth"; local
438 if (pdf_enter_api(p, fn,
454 static const char fn[] = "PDF_stringwidth2"; local
457 if (pdf_enter_api(p, fn,
583 static const char fn[] = "PDF_setfont"; local
585 if (!pdf_enter_api(p, fn, pdf_state_conten
695 static const char *fn = "pdf_show_text"; local
772 static const char fn[] = "PDF_show"; local
784 static const char fn[] = "PDF_show2"; local
796 static const char fn[] = "PDF_show_xy"; local
808 static const char fn[] = "PDF_show_xy2"; local
819 static const char fn[] = "PDF_continue_text"; local
831 static const char fn[] = "PDF_continue_text2"; local
1160 static const char fn[] = "PDF_fit_textline"; local
1575 static const char fn[] = "PDF_show_boxed"; local
1610 static const char fn[] = "PDF_show_boxed2"; local
[all...]
/haiku-fatelf/src/bin/network/tcpdump/
H A Dprint-smb.c37 void (*fn)(const u_char *, const u_char *, const u_char *, const u_char *); member in struct:smbdescript
45 void (*fn)(const u_char *, const u_char *, int, int); member in struct:smbdescriptint
176 static struct smbfnsint *fn = &trans2_fns[0]; local
189 fn = smbfindint(EXTRACT_LE_16BITS(w + 14 * 2), trans2_fns);
192 printf("%s\n", fn->name);
203 printf("%s param_length=%d data_length=%d\n", fn->name, pcnt, dcnt);
216 f1 = fn->descript.req_f1;
217 f2 = fn->descript.req_f2;
222 f1 = fn->descript.rep_f1;
223 f2 = fn
802 struct smbfns *fn; local
[all...]
/haiku-fatelf/src/libs/termcap/
H A Dtermcap.c407 valid_filename_p (fn)
408 char *fn;
414 fab.fab$l_fna = fn;
415 fab.fab$b_fns = strlen(fn);
429 valid_filename_p (fn)
430 char *fn;
432 return *fn == '/' || fn[1] == ':';
435 #define valid_filename_p(fn) (*(fn)
[all...]
/haiku-fatelf/src/libs/pdflib/libs/pdcore/
H A Dpc_file.c189 static const char *fn = "pdc_read_file"; local
202 content = (char *) pdc_malloc(pdc, filelen + 1, fn);
208 content = (char *) pdc_realloc(pdc, content, filelen + 1, fn);
215 content = (char *) pdc_realloc(pdc, content, filelen + 1, fn);
230 content = (char *) pdc_malloc(pdc, filelen + 1, fn);
251 static const char fn[] = "pdc_fopen"; local
254 sfile = (pdc_file *) pdc_calloc(pdc, sizeof(pdc_file), fn);
440 static const char fn[] = "pdc_ungetc"; local
449 sfp->capacity * sizeof(pdc_byte), fn);
455 sfp->capacity * sizeof(pdc_byte), fn);
640 static const char *fn = "pdc_read_textfile"; local
[all...]
H A Dpc_corefont.c146 static const char fn[] = "pdc_fill_core_metric"; local
172 font->numOfGlyphs * sizeof(pdc_glyphwidth), fn);
187 static const char fn[] = "pdc_fill_font_metric"; local
216 font->numOfWidths * sizeof(pdc_widthdata), fn);
229 metric->numOfGlyphs * sizeof(pdc_glyphwidth), fn);
H A Dpc_util.c249 static const char fn[] = "pdc_strdup"; local
252 pdc_error(pdc, PDC_E_INT_NULLARG, fn, 0, 0, 0);
255 buf = (char *) pdc_malloc(pdc, len, fn);
313 static const char fn[] = "pdc_split_stringlist"; local
320 pdc_error(pdc, PDC_E_INT_NULLARG, fn, 0, 0, 0);
333 newtext = (char *) pdc_malloc(pdc, (size_t) (len + 1), fn);
352 (char **) pdc_malloc(pdc, maxk * sizeof(char *), fn):
354 sizeof(char *), fn);
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c1653 FILE_NAME_ATTR *fn; local
1675 fn = ntfs_malloc(fn_size);
1676 if (!fn) {
1680 fn->parent_directory = parent_dir;
1682 fn->creation_time = si->creation_time;
1683 fn->last_data_change_time = si->last_data_change_time;
1684 fn->last_mft_change_time = si->last_mft_change_time;
1685 fn->last_access_time = si->last_access_time;
1688 fn->allocated_size = cpu_to_sle64(allocated_size);
1689 fn
2802 FILE_NAME_ATTR *fn; local
2918 FILE_NAME_ATTR *fn; local
[all...]
/haiku-fatelf/src/add-ons/print/drivers/pdf/source/
H A DFonts.cpp246 char fn[512]; local
259 fn[0] = 0;
263 status = ttf_get_fontname(name.Path(), fn, sizeof(fn));
268 status = psf_get_fontname(name.Path(), fn, sizeof(fn));
281 REPORT(kDebug, -1, "Installed font %s -> %s", fn, name.Path());
282 fFontFiles.AddItem(new FontFile(fn, name.Path(), size, ft, size < 100*1024));
/haiku-fatelf/src/bin/gdb/libiberty/
H A Dsplay-tree.c208 splay_tree_foreach_helper (sp, node, fn, data)
211 splay_tree_foreach_fn fn;
219 val = splay_tree_foreach_helper (sp, node->left, fn, data);
223 val = (*fn)(node, data);
227 return splay_tree_foreach_helper (sp, node->right, fn, data);
523 splay_tree_foreach (sp, fn, data)
525 splay_tree_foreach_fn fn;
528 return splay_tree_foreach_helper (sp, sp->root, fn, data);
/haiku-fatelf/src/add-ons/translators/hpgs/lib/
H A Dhpgsostream.c112 hpgs_ostream *hpgs_new_file_ostream (const char *fn) argument
114 FILE *out = fn ? fopen (fn,"wb") : stdout;
129 if (fn)
/haiku-fatelf/src/bin/gdb/gdb/rdi-share/
H A Dardi.h86 extern int angel_RDI_OnTargetStopping(angel_RDI_TargetStoppedProc *fn,

Completed in 127 milliseconds

123456