Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/CMSIS/
Dcreate_constants.py35 xstr = '#include "{}/{}.h"\n\n'.format(cmsis_path, varname)
36 xstr += 'const int g_{}_size = {};\n'.format(varname, len(x))
37 xstr += 'const int16_t g_{}[{}] = {{{}}};\n'.format(varname, len(x),
41 f.write(xstr)
47 xstr = '#ifndef {}{}_H_\n'.format(tf_prepend, varname.upper())
48 xstr += '#define {}{}_H_\n\n'.format(tf_prepend, varname.upper())
49 xstr += '#include <cstdint>\n\n'
50 xstr += 'extern const int g_{}_size;\n'.format(varname)
51 xstr += 'extern const int16_t g_{}[];\n\n'.format(varname)
52 xstr += '#endif // {}{}_H_'.format(tf_prepend, varname.upper())
[all …]
/external/freetype/src/base/
Dftsynth.c94 FT_Pos xstr, ystr; in FT_GlyphSlot_Embolden() local
108 xstr = FT_MulFix( face->units_per_EM, in FT_GlyphSlot_Embolden()
110 ystr = xstr; in FT_GlyphSlot_Embolden()
113 FT_Outline_EmboldenXY( &slot->outline, xstr, ystr ); in FT_GlyphSlot_Embolden()
118 xstr &= ~63; in FT_GlyphSlot_Embolden()
119 if ( xstr == 0 ) in FT_GlyphSlot_Embolden()
120 xstr = 1 << 6; in FT_GlyphSlot_Embolden()
139 error = FT_Bitmap_Embolden( library, &slot->bitmap, xstr, ystr ); in FT_GlyphSlot_Embolden()
145 slot->advance.x += xstr; in FT_GlyphSlot_Embolden()
150 slot->metrics.width += xstr; in FT_GlyphSlot_Embolden()
[all …]
Dftbitmap.c316 FT_Int xstr, ystr; in FT_Bitmap_Embolden() local
329 xstr = (FT_Int)FT_PIX_ROUND( xStrength ) >> 6; in FT_Bitmap_Embolden()
332 if ( xstr == 0 && ystr == 0 ) in FT_Bitmap_Embolden()
334 else if ( xstr < 0 || ystr < 0 ) in FT_Bitmap_Embolden()
357 if ( xstr > 8 ) in FT_Bitmap_Embolden()
358 xstr = 8; in FT_Bitmap_Embolden()
362 xstr *= 3; in FT_Bitmap_Embolden()
375 (FT_UInt)xstr, (FT_UInt)ystr ); in FT_Bitmap_Embolden()
404 for ( i = 1; i <= xstr; i++ ) in FT_Bitmap_Embolden()
459 bitmap->width += (FT_UInt)xstr; in FT_Bitmap_Embolden()
/external/dtc/tests/
Dsetprop_inplace.c26 char *xstr; in main() local
61 xstr = strdup(strp); in main()
62 xlen = strlen(xstr); in main()
64 xstr[i] = toupper(xstr[i]); in main()
65 err = fdt_setprop_inplace(fdt, 0, "prop-str", xstr, xlen+1); in main()
68 xstr, fdt_strerror(err)); in main()
70 strp = check_getprop(fdt, 0, "prop-str", xlen+1, xstr); in main()
/external/tpm2-tss/src/util/
Dlog.h49 #define xstr(s) str(s) macro
67 xstr(LOGMODULE), LOGDEFAULT, \
72 xstr(LOGMODULE), LOGDEFAULT, \
85 xstr(LOGMODULE), LOGDEFAULT, \
90 xstr(LOGMODULE), LOGDEFAULT, \
103 xstr(LOGMODULE), LOGDEFAULT, \
108 xstr(LOGMODULE), LOGDEFAULT, \
121 xstr(LOGMODULE), LOGDEFAULT, \
126 xstr(LOGMODULE), LOGDEFAULT, \
139 xstr(LOGMODULE), LOGDEFAULT, \
[all …]
/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()
DXRTreeFragSelectWrapper.java109 public XMLString xstr() in xstr() method in XRTreeFragSelectWrapper
DXObject.java151 xstr().dispatchCharactersEvents(ch); in dispatchCharactersEvents()
289 public XMLString xstr() in xstr() method in XObject
/external/llvm-project/compiler-rt/test/memprof/TestCases/
Dlog_path_test.cpp33 #define xstr(s) str(s) macro
35 char __memprof_profile_filename[] = xstr(PROFILE_NAME_VAR);
/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/llvm-project/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/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()
/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/llvm-project/llvm/utils/TableGen/
DInstrDocsEmitter.cpp98 #define xstr(s) str(s) in EmitInstrDocs() macro

12