Home
last modified time | relevance | path

Searched refs:xstr (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/CMSIS/
Dcreate_constants.py34 xstr = '#include "{}/{}.h"\n\n'.format(cmsis_path, varname)
35 xstr += 'const int g_{}_size = {};\n'.format(varname, len(x))
36 xstr += 'const int16_t g_{}[{}] = {{{}}};\n'.format(varname, len(x),
40 f.write(xstr)
46 xstr = '#ifndef {}{}_H_\n'.format(tf_prepend, varname.upper())
47 xstr += '#define {}{}_H_\n\n'.format(tf_prepend, varname.upper())
48 xstr += '#include <cstdint>\n\n'
49 xstr += 'extern const int g_{}_size;\n'.format(varname)
50 xstr += 'extern const int16_t g_{}[];\n\n'.format(varname)
51 xstr += '#endif'
[all …]
/external/freetype/src/base/
Dftsynth.c95 FT_Pos xstr, ystr; in FT_GlyphSlot_Embolden() local
109 xstr = FT_MulFix( face->units_per_EM, in FT_GlyphSlot_Embolden()
111 ystr = xstr; in FT_GlyphSlot_Embolden()
114 FT_Outline_EmboldenXY( &slot->outline, xstr, ystr ); in FT_GlyphSlot_Embolden()
119 xstr &= ~63; in FT_GlyphSlot_Embolden()
120 if ( xstr == 0 ) in FT_GlyphSlot_Embolden()
121 xstr = 1 << 6; in FT_GlyphSlot_Embolden()
140 error = FT_Bitmap_Embolden( library, &slot->bitmap, xstr, ystr ); in FT_GlyphSlot_Embolden()
146 slot->advance.x += xstr; in FT_GlyphSlot_Embolden()
151 slot->metrics.width += xstr; in FT_GlyphSlot_Embolden()
[all …]
Dftbitmap.c317 FT_Int xstr, ystr; in FT_Bitmap_Embolden() local
330 xstr = (FT_Int)FT_PIX_ROUND( xStrength ) >> 6; in FT_Bitmap_Embolden()
333 if ( xstr == 0 && ystr == 0 ) in FT_Bitmap_Embolden()
335 else if ( xstr < 0 || ystr < 0 ) in FT_Bitmap_Embolden()
358 if ( xstr > 8 ) in FT_Bitmap_Embolden()
359 xstr = 8; in FT_Bitmap_Embolden()
363 xstr *= 3; in FT_Bitmap_Embolden()
376 (FT_UInt)xstr, (FT_UInt)ystr ); in FT_Bitmap_Embolden()
405 for ( i = 1; i <= xstr; i++ ) in FT_Bitmap_Embolden()
460 bitmap->width += (FT_UInt)xstr; in FT_Bitmap_Embolden()
/external/dtc/tests/
Dsetprop_inplace.c39 char *xstr; in main() local
74 xstr = strdup(strp); in main()
75 xlen = strlen(xstr); in main()
77 xstr[i] = toupper(xstr[i]); in main()
78 err = fdt_setprop_inplace(fdt, 0, "prop-str", xstr, xlen+1); in main()
81 xstr, fdt_strerror(err)); in main()
83 strp = check_getprop(fdt, 0, "prop-str", xlen+1, xstr); in main()
/external/apache-xml/src/main/java/org/apache/xpath/objects/
DXRTreeFrag.java155 XMLString s = xstr(); in num()
178 public XMLString xstr() in xstr() method in XRTreeFrag
193 XString xstring = (XString)xstr(); in appendToFsb()
278 return xstr().equals(obj2.xstr()); in equals()
282 return xstr().equals(obj2.xstr()); in equals()
288 return xstr().equals(obj2.xstr()); in equals()
DXString.java157 public XMLString xstr() in xstr() method in XString
319 return xstr().equals(obj2.xstr()); in equals()
426 public int compareTo(XMLString xstr) in compareTo() argument
430 int len2 = xstr.length(); in compareTo()
438 char c2 = xstr.charAt(j); in compareTo()
DXStringForFSB.java472 public int compareTo(XMLString xstr) in compareTo() argument
476 int len2 = xstr.length(); in compareTo()
485 char c2 = xstr.charAt(j); in compareTo()
518 public int compareToIgnoreCase(XMLString xstr) in compareToIgnoreCase() argument
522 int len2 = xstr.length(); in compareToIgnoreCase()
531 char c2 = Character.toLowerCase(xstr.charAt(j)); in compareToIgnoreCase()
DXNodeSet.java150 XMLString xstr = m_dtmMgr.getDTM(n).getStringValue(n); in getNumberFromNode() local
151 return xstr.toDouble(); in getNumberFromNode()
253 public XMLString xstr() in xstr() method in XNodeSet
266 XString xstring = (XString)xstr(); in appendToFsb()
585 XMLString s2 = obj2.xstr(); in compare()
611 XMLString s2 = obj2.xstr(); in compare()
DXObject.java151 xstr().dispatchCharactersEvents(ch); in dispatchCharactersEvents()
289 public XMLString xstr() in xstr() method in XObject
DXRTreeFragSelectWrapper.java109 public XMLString xstr() in xstr() method in XRTreeFragSelectWrapper
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFuncStartsWith.java45 return m_arg0.execute(xctxt).xstr().startsWith(m_arg1.execute(xctxt).xstr()) in execute()
DFuncSubstringAfter.java47 XMLString s1 = m_arg0.execute(xctxt).xstr(); in execute()
48 XMLString s2 = m_arg1.execute(xctxt).xstr(); in execute()
DFuncSubstring.java49 XMLString s1 = m_arg0.execute(xctxt).xstr(); in execute()
DFunctionDef1Arg.java97 return m_arg0.execute(xctxt).xstr(); in getArg0AsString()
/external/clang/test/Preprocessor/
Dc99-6_10_3_4_p6.c6 #define xstr(s) str(s) macro
17 include xstr(INCFILE(2).h)
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DClonerToResultTree.java188 XMLString xstr = dtm.getStringValue (node); in cloneToResultTree() local
189 xstr.dispatchAsComment(rth); in cloneToResultTree()
DKeyTable.java210 XMLString exprResult = xuse.xstr(); in getRefsTable()
/external/apache-xml/src/main/java/org/apache/xpath/operations/
DString.java45 return (XString)right.xstr(); // semi-safe cast. in operate()
/external/apache-xml/src/main/java/org/apache/xpath/
DExpression.java198 public XMLString xstr(XPathContext xctxt) in xstr() method in Expression
201 return execute(xctxt).xstr(); in xstr()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemVariable.java435 XString xstr = new XString(str); in rewriteChildToExpression() local
439 return new XPath(new XRTreeFragSelectWrapper(xstr)); in rewriteChildToExpression()
DFuncKey.java142 XMLString ref = arg.xstr(); in execute()
DFuncDocument.java153 ? xctxt.getDTM(pos).getStringValue(pos) : arg.xstr(); in execute()
/external/nos/test/system-test-harness/src/
Dkeymaster-import-key-tests.cc475 std::unique_ptr<uint8_t []> xstr(new uint8_t[field_size]); in TEST_F() local
479 EXPECT_EQ(BN_bn2le_padded(xstr.get(), field_size, x.get()), 1); in TEST_F()
500 request.mutable_ec()->set_x(xstr.get(), field_size); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DInstrDocsEmitter.cpp99 #define xstr(s) str(s) in EmitInstrDocs() macro
/external/libmtp/src/
Dptp.c624 char *xstr = malloc(len+1); in parse_9301_value() local
631 xstr[i] = cx; in parse_9301_value()
633 xstr[len] = 0; in parse_9301_value()
635 ptp_debug( params, "\t%s", xstr); in parse_9301_value()
636 propval->str = xstr; in parse_9301_value()

12