/external/pdfium/xfa/src/fxbarcode/ |
D | BC_UtilRSS.cpp | 34 CBC_AutoPtr<CFX_Int32Array> widths(iTemp); in GetRssWidths() local 66 (*widths)[bar] = elmWidth; in GetRssWidths() 68 (*widths)[bar] = n; in GetRssWidths() 69 return widths.release(); in GetRssWidths() 71 int32_t CBC_UtilRSS::GetRSSvalue(CFX_Int32Array& widths, in GetRSSvalue() argument 74 int32_t elements = widths.GetSize(); in GetRSSvalue() 77 n += widths[i]; in GetRSSvalue() 83 for (elmWidth = 1, narrowMask |= (1 << bar); elmWidth < widths[bar]; in GetRSSvalue() 134 CFX_Int32Array* widths = new CFX_Int32Array; in Elements() local 135 widths->SetSize(eDist.GetSize() + 2); in Elements() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _h_d_m_x.py | 23 widths = {} 25 widths[glyphOrder[glyphID]] = byteord(data[glyphID+2]) 26 self.hdmx[ppem] = widths 39 for ppem, widths in items: 40 data = data + bytechr(ppem) + bytechr(max(widths.values())) 42 width = widths[glyphOrder[glyphID]] 54 widths = self.hdmx[ppem] 55 records.append(widths) 67 widths = self.hdmx[ppem] 68 row.append(widths[glyphName])
|
/external/skia/gm/ |
D | glyph_pos_align.cpp | 45 SkScalar widths[kMaxStringLength]; in drawTestCase() local 51 paint.getTextWidths(text, length, widths); in drawTestCase() 63 posX[i] = x + originX * widths[i]; in drawTestCase() 65 x += widths[i]; in drawTestCase()
|
D | skbug_257.cpp | 36 SkAutoTArray<SkScalar> widths(count); in exercise_draw_pos_text() local 37 paint.getTextWidths(text, textLen, &widths[0]); in exercise_draw_pos_text() 41 x += widths[i]; in exercise_draw_pos_text() 52 SkAutoTArray<SkScalar> widths(count); in exercise_draw_pos_text_h() local 53 paint.getTextWidths(text, textLen, &widths[0]); in exercise_draw_pos_text_h() 57 x += widths[i]; in exercise_draw_pos_text_h()
|
D | pdf_never_embed.cpp | 17 SkAutoTArray<SkScalar> widths(SkToInt(textLen)); in excercise_draw_pos_text() local 18 paint.getTextWidths(text, textLen, &widths[0]); in excercise_draw_pos_text() 22 x += widths[i]; in excercise_draw_pos_text()
|
D | getpostextpath.cpp | 41 SkAutoTArray<SkScalar> widths(len); 42 paint.getTextWidths(text, len, &widths[0]); 49 x += widths[i];
|
D | texteffects.cpp | 323 SkTDArray<SkScalar> widths; variable 324 widths.setCount(widthCount); 325 (void) paint.getTextWidths(test, sizeof(test) - 1, widths.begin()); 331 posX += widths[index]; 364 SkTDArray<SkScalar> widths; variable 365 widths.setCount(widthCount); 366 (void) paint.getTextWidths(test, sizeof(test) - 1, widths.begin()); 371 posX += widths[0]; 374 posX += widths[index];
|
D | glyph_pos.cpp | 119 SkScalar widths[sizeof(kText) - 1]; in drawTestCase() local 120 paint.getTextWidths(kText, sizeof(kText) - 1, widths, nullptr); in drawTestCase() 130 w += widths[i]; in drawTestCase()
|
D | typeface.cpp | 19 SkScalar* widths = widthStorage.get(); in getGlyphPositions() local 20 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths); in getGlyphPositions() 24 x += widths[i]; in getGlyphPositions()
|
D | dftext.cpp | 124 SkAutoTArray<SkScalar> widths(SkToInt(textLen)); in onDraw() local 127 paint.getTextWidths(text, textLen, &widths[0]); in onDraw() 133 x += widths[i]; in onDraw()
|
D | blurrect.cpp | 177 const int widths[] = {25, 5, 5, 100, 150, 25}; variable 189 for (size_t i = 0 ; i < SK_ARRAY_COUNT(widths) ; i++) { 190 int width = widths[i];
|
D | path_stroke_with_zero_length.cpp | 116 SkScalar widths[] = { 0, .999f, 1, 1.001f, 20 }; in onDraw() local 120 for (SkScalar width : widths) { in onDraw()
|
/external/pdfium/xfa/src/fxbarcode/oned/ |
D | BC_OnedCode39Writer.cpp | 276 int32_t widths[9] = {0}; in Encode() local 290 ToIntArray(CBC_OnedCode39Reader::CHARACTER_ENCODINGS[i], widths); in Encode() 292 codeWidth += widths[k]; in Encode() 299 ToIntArray(CBC_OnedCode39Reader::CHARACTER_ENCODINGS[39], widths); in Encode() 300 int32_t pos = AppendPattern(result, 0, widths, 9, 1, e); in Encode() 314 ToIntArray(CBC_OnedCode39Reader::CHARACTER_ENCODINGS[i], widths); in Encode() 315 pos += AppendPattern(result, pos, widths, 9, 1, e); in Encode() 328 ToIntArray(CBC_OnedCode39Reader::CHARACTER_ENCODINGS[39], widths); in Encode() 329 pos += AppendPattern(result, pos, widths, 9, 1, e); in Encode()
|
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/bench/ |
D | write.py | 96 pythons, widths = [], [0] * (benched_per_table + 1) 146 widths[idx] = max(widths[idx], max(map(len, row))) 158 c * (width + 2) for width in widths 181 for width, col in zip(widths, row) 187 ' %s%*s ' % (col, len(col) - widths[j], '') 189 ['%*s ', ' %*s '][idx == 1] % (widths[j], col)
|
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/bench/ |
D | write.py | 93 pythons, widths = [], [0] * (benched_per_table + 1) 143 widths[idx] = max(widths[idx], max(map(len, row))) 155 c * (width + 2) for width in widths 178 for width, col in zip(widths, row) 184 ' %s%*s ' % (col, len(col) - widths[j], '') 186 ['%*s ', ' %*s '][idx == 1] % (widths[j], col)
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_doc.cpp | 192 int* widths = FX_Alloc(int, size); in _InsertWidthArray() local 193 GetCharWidth(hDC, start, end, widths); in _InsertWidthArray() 196 if (widths[i] != *widths) { in _InsertWidthArray() 202 pWidthArray->AddInteger(*widths); in _InsertWidthArray() 207 pWidthArray1->AddInteger(widths[i]); in _InsertWidthArray() 210 FX_Free(widths); in _InsertWidthArray() 528 int* widths = FX_Alloc(int, size); in _InsertWidthArray() local 529 FX_GetCharWidth(font, start, end, widths); in _InsertWidthArray() 532 if (widths[i] != *widths) { in _InsertWidthArray() 538 pWidthArray->AddInteger(*widths); in _InsertWidthArray() [all …]
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
D | Relay.java | 103 float[] widths = null; in run() local 106 widths = new float[BUFFER_SIZE]; in run() 143 bridge.getPaint().getTextWidths(charArray, 0, offset, widths); in run() 145 wideAttribute[i] = (byte) (((int) widths[i] != charWidth) ? 1 : 0); in run()
|
D | TerminalBridge.java | 416 float[] widths = new float[1]; in setFontSize() local 417 defaultPaint.getTextWidths("X", widths); in setFontSize() 418 charWidth = (int) Math.ceil(widths[0]); in setFontSize() 722 float[] widths = new float[1]; in fontSizeCompare() local 723 defaultPaint.getTextWidths("X", widths); in fontSizeCompare() 724 int termWidth = (int) widths[0] * cols; in fontSizeCompare()
|
/external/freetype/src/autofit/ |
D | aflatin.h | 88 AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]; /* widths array */ member 168 AF_WidthRec* widths, 178 AF_WidthRec* widths,
|
D | aflatin.c | 203 axis->widths[num_widths++].org = dist; in af_latin_metrics_init_widths() 209 af_sort_and_quantize_widths( &num_widths, axis->widths, in af_latin_metrics_init_widths() 221 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org in af_latin_metrics_init_widths() 240 FT_TRACE5(( " %d", axis->widths[i].org )); in af_latin_metrics_init_widths() 1008 AF_Width width = axis->widths + nn; in af_latin_metrics_scale_dim() 1377 AF_WidthRec* widths, in af_latin_hints_link_segments() argument 1388 max_width = widths[width_count - 1].org; in af_latin_hints_link_segments() 1809 AF_WidthRec* widths, in af_latin_hints_detect_features() argument 1818 af_latin_hints_link_segments( hints, width_count, widths, dim ); in af_latin_hints_detect_features() 2032 af_latin_snap_width( AF_Width widths, in af_latin_snap_width() argument [all …]
|
/external/skia/samplecode/ |
D | SampleMeasure.cpp | 42 SkScalar* widths = autoWidths.get(); in doMeasure() local 52 int n = p.getTextWidths(text, len, widths, rects); in doMeasure() 69 x += widths[j]; in doMeasure()
|
/external/skia/experimental/ChromeUtils/ |
D | SkBorder.cpp | 21 const SkScalar widths[4], in SkBorder() 28 memcpy(fWidths, widths, sizeof(fWidths)); in SkBorder()
|
/external/pdfium/core/src/fpdftext/ |
D | fpdf_text.cpp | 237 int* widths = FX_Alloc(int, m_BaseLines.GetSize()); in WriteOutput() local 239 widths[i] = 0; in WriteOutput() 247 widths[i] = (int)((MaxRightX - MinLeftX) / charwidth); in WriteOutput() 249 if (widths[i] > 1000) { in WriteOutput() 250 widths[i] = 1000; in WriteOutput() 252 if (widths[i] < minchars) { in WriteOutput() 253 widths[i] = minchars; in WriteOutput() 258 if (widths[i]) { in WriteOutput() 259 AvgWidth += widths[i]; in WriteOutput() 265 if (MaxWidth < widths[i]) { in WriteOutput() [all …]
|
/external/skia/tools/ |
D | create_test_font.cpp | 132 SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) { in output_path_data() argument 171 *widths->append() = width; in output_path_data() 227 SkTDArray<SkScalar> widths; in output_font() local 229 output_path_data(paint, emSize, &ptsOut, &verbs, &charCodes, &widths); in output_font() 282 output_fixed(widths[index], emSize, &widthsStr); in output_font()
|
/external/skia/tests/ |
D | SwizzlerTest.cpp | 76 const uint32_t widths[] = { 0, 10, 50 }; in DEF_TEST() local 86 for (uint32_t width : widths) { in DEF_TEST()
|