Home
last modified time | relevance | path

Searched refs:lf (Results 1 – 25 of 148) sorted by relevance

123456

/external/iproute2/misc/
Dlnstat_util.c39 static int scan_lines(struct lnstat_file *lf, int i) in scan_lines() argument
44 for (j = 0; j < lf->num_fields; j++) in scan_lines()
45 lf->fields[j].values[i] = 0; in scan_lines()
47 rewind(lf->fp); in scan_lines()
49 if (!lf->compat && !fgets(buf, sizeof(buf)-1, lf->fp)) in scan_lines()
52 while(!feof(lf->fp) && fgets(buf, sizeof(buf)-1, lf->fp)) { in scan_lines()
57 gettimeofday(&lf->last_read, NULL); in scan_lines()
59 for (j = 0; j < lf->num_fields; j++) { in scan_lines()
62 lf->fields[j].values[i] = f; in scan_lines()
64 lf->fields[j].values[i] += f; in scan_lines()
[all …]
Dlnstat.c88 struct lnstat_field *lf; member
105 const struct lnstat_field *lf = fp->params[i].lf; in print_line() local
107 fprintf(of, "%*lu|", fp->params[i].print.width, lf->result); in print_line()
120 const struct lnstat_field *lf = fp->params[i].lf; in print_json() local
122 jsonw_uint_field(jw, lf->name, lf->result); in print_json()
133 struct lnstat_file *lf; in map_field_params() local
137 for (lf = lnstat_files; lf; lf = lf->next) { in map_field_params()
138 for (i = 0; i < lf->num_fields; i++) { in map_field_params()
139 fps->params[j].lf = &lf->fields[i]; in map_field_params()
140 fps->params[j].lf->file->interval.tv_sec = in map_field_params()
[all …]
/external/icu/icu4c/source/samples/layout/
DGDIFontInstance.cpp109 LOGFONT lf; in GDIFontInstance() local
138 lf.lfHeight = - pt.y; in GDIFontInstance()
139 lf.lfWidth = 0; in GDIFontInstance()
140 lf.lfEscapement = 0; in GDIFontInstance()
141 lf.lfOrientation = 0; in GDIFontInstance()
142 lf.lfWeight = 0; in GDIFontInstance()
143 lf.lfItalic = 0; in GDIFontInstance()
144 lf.lfUnderline = 0; in GDIFontInstance()
145 lf.lfStrikeOut = 0; in GDIFontInstance()
146 lf.lfCharSet = DEFAULT_CHARSET; in GDIFontInstance()
[all …]
/external/skia/src/ports/
DSkFontHost_win.cpp44 static void call_ensure_accessible(const LOGFONT& lf) { in call_ensure_accessible() argument
46 gEnsureLOGFONTAccessibleProc(lf); in call_ensure_accessible()
101 static void dcfontname_to_skstring(HDC deviceContext, const LOGFONT& lf, SkString* familyName) { in dcfontname_to_skstring() argument
104 call_ensure_accessible(lf); in dcfontname_to_skstring()
112 call_ensure_accessible(lf); in dcfontname_to_skstring()
121 static void make_canonical(LOGFONT* lf) { in make_canonical() argument
122 lf->lfHeight = -64; in make_canonical()
123 lf->lfQuality = CLEARTYPE_QUALITY;//PROOF_QUALITY; in make_canonical()
124 lf->lfCharSet = DEFAULT_CHARSET; in make_canonical()
128 static SkFontStyle get_style(const LOGFONT& lf) { in get_style() argument
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_entropymode.c410 static void set_default_lf_deltas(struct loopfilter *lf) { in set_default_lf_deltas() argument
411 lf->mode_ref_delta_enabled = 1; in set_default_lf_deltas()
412 lf->mode_ref_delta_update = 1; in set_default_lf_deltas()
414 lf->ref_deltas[INTRA_FRAME] = 1; in set_default_lf_deltas()
415 lf->ref_deltas[LAST_FRAME] = 0; in set_default_lf_deltas()
416 lf->ref_deltas[GOLDEN_FRAME] = -1; in set_default_lf_deltas()
417 lf->ref_deltas[ALTREF_FRAME] = -1; in set_default_lf_deltas()
419 lf->mode_deltas[0] = 0; in set_default_lf_deltas()
420 lf->mode_deltas[1] = 0; in set_default_lf_deltas()
426 struct loopfilter *const lf = &cm->lf; in vp9_setup_past_independence() local
[all …]
Dvp9_alloccommon.c118 vpx_free(cm->lf.lfm); in vp9_free_context_buffers()
119 cm->lf.lfm = NULL; in vp9_free_context_buffers()
154 vpx_free(cm->lf.lfm); in vp9_alloc_context_buffers()
158 cm->lf.lfm_stride = (cm->mi_cols + (MI_BLOCK_SIZE - 1)) >> 3; in vp9_alloc_context_buffers()
159 cm->lf.lfm = (LOOP_FILTER_MASK *)vpx_calloc( in vp9_alloc_context_buffers()
160 ((cm->mi_rows + (MI_BLOCK_SIZE - 1)) >> 3) * cm->lf.lfm_stride, in vp9_alloc_context_buffers()
161 sizeof(*cm->lf.lfm)); in vp9_alloc_context_buffers()
162 if (!cm->lf.lfm) goto fail; in vp9_alloc_context_buffers()
Dvp9_loopfilter.h132 static INLINE LOOP_FILTER_MASK *get_lfm(const struct loopfilter *lf, in get_lfm() argument
134 return &lf->lfm[(mi_col >> 3) + ((mi_row >> 3) * lf->lfm_stride)]; in get_lfm()
Dvp9_loopfilter.c242 struct loopfilter *lf = &cm->lf; in vp9_loop_filter_init() local
246 update_sharpness(lfi, lf->sharpness_level); in vp9_loop_filter_init()
247 lf->last_sharpness_level = lf->sharpness_level; in vp9_loop_filter_init()
261 struct loopfilter *const lf = &cm->lf; in vp9_loop_filter_frame_init() local
265 if (lf->last_sharpness_level != lf->sharpness_level) { in vp9_loop_filter_frame_init()
266 update_sharpness(lfi, lf->sharpness_level); in vp9_loop_filter_frame_init()
267 lf->last_sharpness_level = lf->sharpness_level; in vp9_loop_filter_frame_init()
279 if (!lf->mode_ref_delta_enabled) { in vp9_loop_filter_frame_init()
285 const int intra_lvl = lvl_seg + lf->ref_deltas[INTRA_FRAME] * scale; in vp9_loop_filter_frame_init()
290 const int inter_lvl = lvl_seg + lf->ref_deltas[ref] * scale in vp9_loop_filter_frame_init()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_picklpf.c72 const struct loopfilter *const lf = &cm->lf; in search_filter_level() local
81 int filt_mid = clamp(lf->filter_level, min_filter_level, max_filter_level); in search_filter_level()
154 struct loopfilter *const lf = &cm->lf; in vp9_pick_filter_level() local
156 lf->sharpness_level = cm->frame_type == KEY_FRAME ? 0 in vp9_pick_filter_level()
159 if (method == LPF_PICK_MINIMAL_LPF && lf->filter_level) { in vp9_pick_filter_level()
160 lf->filter_level = 0; in vp9_pick_filter_level()
189 lf->filter_level = clamp(filt_guess, min_filter_level, max_filter_level); in vp9_pick_filter_level()
191 lf->filter_level = search_filter_level(sd, cpi, in vp9_pick_filter_level()
/external/skia/samplecode/
DSampleTextBox.cpp49 LOGFONT lf; in TextBoxView() local
50 sk_bzero(&lf, sizeof(lf)); in TextBoxView()
51 lf.lfHeight = 9; in TextBoxView()
52 SkTypeface* tf0 = SkCreateTypefaceFromLOGFONT(lf); in TextBoxView()
53 lf.lfHeight = 12; in TextBoxView()
54 SkTypeface* tf1 = SkCreateTypefaceFromLOGFONT(lf); in TextBoxView()
/external/curl/
D.gitattributes2 buildconf eol=lf
3 configure.ac eol=lf
4 *.m4 eol=lf
5 *.in eol=lf
/external/libvpx/libvpx/vp9/decoder/
Dvp9_dthread.c178 dst_cm->lf.last_sharpness_level = src_cm->lf.sharpness_level; in vp9_frameworker_copy_context()
179 dst_cm->lf.filter_level = src_cm->lf.filter_level; in vp9_frameworker_copy_context()
180 memcpy(dst_cm->lf.ref_deltas, src_cm->lf.ref_deltas, MAX_REF_LF_DELTAS); in vp9_frameworker_copy_context()
181 memcpy(dst_cm->lf.mode_deltas, src_cm->lf.mode_deltas, MAX_MODE_LF_DELTAS); in vp9_frameworker_copy_context()
/external/svox/pico/lib/
Dpicopr.c1317 pr_ioItemPtr lf; in pr_genCommands() local
1373 pr_startItemList(& lf,& ll); in pr_genCommands()
1374 … pr_getOutputItemList(this, pr, network,picokpr_getOutItemArgOfs(network, outitem),vars,& lf,& ll); in pr_genCommands()
1376 if (((lf != NULL) && (lf->head.type == PICODATA_ITEM_TOKEN))) { in pr_genCommands()
1377 …TA_ITEM_CMD,lcmd,PICODATA_ITEMINFO2_CMD_ABSOLUTE,picoos_atoi((picoos_char*)lf->data),(picoos_uchar… in pr_genCommands()
1394 pr_startItemList(& lf,& ll); in pr_genCommands()
1395 … pr_getOutputItemList(this, pr, network,picokpr_getOutItemArgOfs(network, outitem),vars,& lf,& ll); in pr_genCommands()
1397 if (lf != NULL) { in pr_genCommands()
1399 if (lf->head.type == PICODATA_ITEM_TOKEN) { in pr_genCommands()
1400 …s->common, pr->xsampa_parser, pr->svoxpa_parser, pr->xsampa2svoxpa_mapper, lf->data, alphabet, pr-… in pr_genCommands()
[all …]
/external/pdfium/xfa/src/fgas/src/font/
Dfx_gdifont.cpp165 LOGFONTW lf; in LoadFont() local
166 FX_memset(&lf, 0, sizeof(lf)); in LoadFont()
167 lf.lfHeight = -1000; in LoadFont()
168 lf.lfWeight = (dwFontStyles & FX_FONTSTYLE_Bold) ? FW_BOLD : FW_NORMAL; in LoadFont()
169 lf.lfItalic = (dwFontStyles & FX_FONTSTYLE_Italic) != 0; in LoadFont()
170 lf.lfPitchAndFamily = in LoadFont()
173 lf.lfPitchAndFamily |= FF_ROMAN; in LoadFont()
176 lf.lfPitchAndFamily |= FF_SCRIPT; in LoadFont()
179 lf.lfCharSet = SYMBOL_CHARSET; in LoadFont()
182 lf.lfCharSet = wCharSet != 0xFFFF ? (uint8_t)wCharSet : DEFAULT_CHARSET; in LoadFont()
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_form.cpp326 LOGFONTA lf; member
336 memcpy(&pData->lf, &lpelfe->elfLogFont, sizeof(LOGFONTA)); in EnumFontFamExProc()
340 static FX_BOOL RetrieveSpecificFont(LOGFONTA& lf) { in RetrieveSpecificFont() argument
344 EnumFontFamiliesExA(hDC, &lf, (FONTENUMPROCA)EnumFontFamExProc, (LPARAM)&fd, in RetrieveSpecificFont()
348 memcpy(&lf, &fd.lf, sizeof(LOGFONTA)); in RetrieveSpecificFont()
355 LOGFONTA& lf) { in RetrieveSpecificFont() argument
356 memset(&lf, 0, sizeof(LOGFONTA)); in RetrieveSpecificFont()
357 lf.lfCharSet = charSet; in RetrieveSpecificFont()
358 lf.lfPitchAndFamily = pitchAndFamily; in RetrieveSpecificFont()
360 strcpy(lf.lfFaceName, pcsFontName); in RetrieveSpecificFont()
[all …]
/external/lz4/
D.gitattributes2 * text eol=lf
5 *.c text eol=lf
6 *.h text eol=lf
/external/mesa3d/src/gallium/winsys/sw/dri/
Ddri_sw_winsys.c55 struct drisw_loader_funcs *lf; member
186 dri_sw_ws->lf->put_image(dri_drawable, dri_sw_dt->data, width, height); in dri_sw_displaytarget_display()
197 dri_create_sw_winsys(struct drisw_loader_funcs *lf) in dri_create_sw_winsys() argument
205 ws->lf = lf; in dri_create_sw_winsys()
/external/clang/test/FixIt/
Dformat.m11 …printf("%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'i…
17 …NSLog(@"%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'i…
27 …printf("%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'c…
33 …NSLog(@"%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'c…
43 …NSLog(@"%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'i…
54 …NSLog(@"%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'C…
65 …NSLog(@"%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'b…
75 …NSLog(@"%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'C…
102 …NSLog(@"%lf", c); // expected-warning{{format specifies type 'double' but the argument has type 'c…
115 …NSLog(@"%lf", s); // expected-warning{{format specifies type 'double' but the argument has type 's…
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/
DLazyFieldLite.java62 LazyFieldLite lf = new LazyFieldLite(); in fromValue() local
63 lf.setValue(value); in fromValue()
64 return lf; in fromValue()
/external/mesa3d/src/gallium/targets/dri-swrast/
Dswrast_drm_api.c41 drisw_create_screen(struct drisw_loader_funcs *lf) in drisw_create_screen() argument
46 winsys = dri_create_sw_winsys(lf); in drisw_create_screen()
/external/libedit/examples/
Dtc1.c98 const LineInfo *lf = el_line(el); in complete() local
105 for (ptr = lf->cursor - 1; in complete()
106 !isspace((unsigned char)*ptr) && ptr > lf->buffer; ptr--) in complete()
108 len = lf->cursor - ++ptr; in complete()
Dwtc1.c63 const LineInfoW *lf = el_wline(el); in complete() local
69 for (ptr = lf->cursor -1; !iswspace(*ptr) && ptr > lf->buffer; --ptr) in complete()
71 len = lf->cursor - ++ptr; in complete()
/external/compiler-rt/lib/asan/
Dasan_flags.cc81 __lsan::Flags *lf = __lsan::flags(); in InitializeFlags() local
82 lf->SetDefaults(); in InitializeFlags()
85 __lsan::RegisterLsanFlags(&lsan_parser, lf); in InitializeFlags()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DBase64.java118 int lf = 0; in encode() local
133 lf += 4; in encode()
134 if (didx < codeLength && lineFeed > 0 && lf % lineFeed == 0) in encode()
/external/skia/tests/
DColorFilterTest.cpp120 SkAutoTUnref<SkColorFilter> lf(SkLumaColorFilter::Create()); in DEF_TEST() local
125 lf->filterSpan(&in, 1, &out); in DEF_TEST()
135 lf->filterSpan(&in, 1, &out); in DEF_TEST()
142 lf->filterSpan(&in, 1, &out); in DEF_TEST()

123456