Lines Matching refs:text
47 text = r'''/*
63 text = '%s#ifndef %s\n' % (text, header_macro)
64 text = '%s#define %s\n' % (text, header_macro)
65 text = '%s\n' % (text)
66 text = '%s#ifdef __cplusplus\n#if __cplusplus\nextern "C" {\n#endif\n#endif\n' % (text)
68 fd_out.write(text)
109 text = '%s#define %s %s\n%s' %(prefix ,macro, value.strip('"'), suffix)
111 fd_out.write(text.rstrip() + "\n\n")
131 text = '#define %-35s NO \n\n' %(str)
133 fd_in.write(text)
140 text = '#define OS_LITTLE_ENDIAN 0x1234\n\n#define OS_BIG_ENDIAN 0x4321\n\n#define OS_CORTEX_M4 0x1\n\n#define OS_STM32F407 0x1\n\n'
142 fd_out.write(text)
150 text = '#ifdef __cplusplus\n#if __cplusplus\n}\n#endif\n#endif\n'
152 fd_out.write(text)
159 text = '\n#endif\n'
161 fd_out.write(text)