Home
last modified time | relevance | path

Searched refs:codestring (Results 1 – 25 of 237) sorted by relevance

12345678910

/dports/devel/eric6/eric6-21.11/eric/eric6/Plugins/CheckerPlugins/SyntaxChecker/
H A DtomlCheckSyntax.py34 def normalizeCode(codestring): argument
43 codestring = codestring.replace("\r\n", "\n").replace("\r", "\n")
45 if codestring and codestring[-1] != '\n':
46 codestring += '\n'
48 return codestring
51 def tomlSyntaxCheck(file, codestring): argument
65 return __tomlSyntaxCheck(file, codestring)
154 def __tomlSyntaxCheck(file, codestring): argument
174 codestring = normalizeCode(codestring)
177 toml.loads(codestring)
[all …]
H A DjsonCheckSyntax.py34 def normalizeCode(codestring): argument
43 codestring = codestring.replace("\r\n", "\n").replace("\r", "\n")
45 if codestring and codestring[-1] != '\n':
46 codestring += '\n'
48 return codestring
51 def jsonSyntaxCheck(file, codestring): argument
65 return __jsonSyntaxCheck(file, codestring)
154 def __jsonSyntaxCheck(file, codestring): argument
170 codestring = normalizeCode(codestring)
173 json.loads(codestring)
[all …]
H A DyamlCheckSyntax.py34 def normalizeCode(codestring): argument
43 codestring = codestring.replace("\r\n", "\n").replace("\r", "\n")
45 if codestring and codestring[-1] != '\n':
46 codestring += '\n'
48 return codestring
51 def yamlSyntaxCheck(file, codestring): argument
65 return __yamlSyntaxCheck(file, codestring)
154 def __yamlSyntaxCheck(file, codestring): argument
174 codestring = normalizeCode(codestring)
177 for _obj in safe_load_all(codestring):
[all …]
H A DjsCheckSyntax.py38 def normalizeCode(codestring): argument
45 codestring = codestring.replace("\r\n", "\n").replace("\r", "\n")
47 if codestring and codestring[-1] != '\n':
48 codestring += '\n'
50 return codestring
53 def jsSyntaxCheck(file, codestring): argument
64 return __jsSyntaxCheck(file, codestring)
151 def __jsSyntaxCheck(file, codestring): argument
165 codestring = normalizeCode(codestring)
168 jsParser.parse(codestring, file)
[all …]
H A DSyntaxCheck.py51 def normalizeCode(codestring): argument
58 codestring = codestring.replace("\r\n", "\n").replace("\r", "\n")
60 if codestring and codestring[-1] != '\n':
61 codestring += '\n'
63 return codestring
95 def syntaxAndPyflakesCheck(filename, codestring, checkFlakes=True, argument
226 codestring = normalizeCode(codestring)
230 conflict = conflictMarkerRe.search(codestring)
233 lineindex = 1 + codestring.count("\n", 0, start)
249 codestring, filename, 'exec', ast.PyCF_ONLY_AST)
[all …]
/dports/net/ntpsec/ntpsec-NTPsec_1_2_1/libntp/
H A Dstatestr.c21 struct codestring { struct
29 static const struct codestring leap_codes[] = { argument
40 static const struct codestring sync_codes[] = {
57 static const struct codestring select_codes[] = {
72 static const struct codestring clock_codes[] = {
88 static const struct codestring flash_codes[] = {
110 static const struct codestring sys_codes[] = {
133 static const struct codestring peer_codes[] = {
192 static const struct codestring k_st_bits[] = {
229 const struct codestring * codetab in getcode()
[all …]
/dports/net/ntp/ntp-4.2.8p15/libntp/
H A Dstatestr.c23 struct codestring { struct
32 static const struct codestring leap_codes[] = { argument
43 static const struct codestring sync_codes[] = {
60 static const struct codestring select_codes[] = {
75 static const struct codestring clock_codes[] = {
91 static const struct codestring flash_codes[] = {
113 static const struct codestring sys_codes[] = {
136 static const struct codestring peer_codes[] = {
233 static const struct codestring k_st_bits[] = {
297 const struct codestring * codetab in getcode()
[all …]
/dports/comms/lirc/lirc-0.9.0/daemons/
H A Dhw_irman.c42 unsigned char *codestring; variable
109 codestring = ir_get_code(); in irman_rec()
111 if (codestring == NULL) { in irman_rec()
127 text = ir_code_to_text(codestring); in irman_rec()
137 code = code | (ir_code) (unsigned char)codestring[i]; in irman_rec()
/dports/comms/libirman/libirman-0.5.2/lirc-plugin/
H A Dirman.c35 unsigned char* codestring; variable
116 codestring = ir_get_code(); in irman_rec()
118 if (codestring == NULL) { in irman_rec()
131 text = ir_code_to_text(codestring); in irman_rec()
141 code = code | (ir_code)(unsigned char)codestring[i]; in irman_rec()
/dports/lang/python-legacy/Python-2.7.18/Lib/test/
H A Dtest_new.py115 codestring = c.co_code
126 d = new.code(argcount, nlocals, stacksize, flags, codestring,
131 d = new.code(argcount, nlocals, stacksize, flags, codestring,
137 -argcount, nlocals, stacksize, flags, codestring,
142 argcount, -nlocals, stacksize, flags, codestring,
147 argcount, nlocals, stacksize, flags, codestring,
154 d = new.code(argcount, nlocals, stacksize, flags, codestring,
/dports/lang/python27/Python-2.7.18/Lib/test/
H A Dtest_new.py115 codestring = c.co_code
126 d = new.code(argcount, nlocals, stacksize, flags, codestring,
131 d = new.code(argcount, nlocals, stacksize, flags, codestring,
137 -argcount, nlocals, stacksize, flags, codestring,
142 argcount, -nlocals, stacksize, flags, codestring,
147 argcount, nlocals, stacksize, flags, codestring,
154 d = new.code(argcount, nlocals, stacksize, flags, codestring,
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_new.py115 codestring = c.co_code
126 d = new.code(argcount, nlocals, stacksize, flags, codestring,
131 d = new.code(argcount, nlocals, stacksize, flags, codestring,
137 -argcount, nlocals, stacksize, flags, codestring,
142 argcount, -nlocals, stacksize, flags, codestring,
147 argcount, nlocals, stacksize, flags, codestring,
154 d = new.code(argcount, nlocals, stacksize, flags, codestring,
/dports/math/gap/gap-4.11.0/pkg/unitlib-4.0.0/lib/
H A Dgenlib.g28 # codestring:=ReadAsFunction(filein)()[1];
32 # PrintTo( output, codestring );
39 # codestring:=ReadAsFunction(filein)();
40 # Unbind(codestring[1]);
44 # PrintTo( output, "return ", codestring, ";" );
/dports/math/R/R-4.1.2/src/main/
H A Dg_alab_her.c162 unsigned short *codestring; in R_GE_VStrWidth() local
172 codestring = _controlify (dd, (const unsigned char *) s, in R_GE_VStrWidth()
175 label_width = _label_width_hershey (gc, dd, codestring); in R_GE_VStrWidth()
199 unsigned short *codestring; in R_GE_VStrHeight() local
204 codestring = _controlify (dd, (const unsigned char *) s, in R_GE_VStrHeight()
207 label_height = _label_height_hershey (gc, dd, codestring); in R_GE_VStrHeight()
231 unsigned short *codestring; in R_GE_VText() local
260 codestring = _controlify (dd, (const unsigned char *)s, in R_GE_VText()
275 label_width = _label_width_hershey (gc, dd, codestring); in R_GE_VText()
276 label_height = _label_height_hershey(gc, dd, codestring); in R_GE_VText()
[all …]
H A Dg_cntrlify.c698 _codestring_len (const unsigned short *codestring) in _codestring_len() argument
700 _codestring_len (codestring) in _codestring_len()
701 const unsigned short *codestring; in _codestring_len()
706 while (*codestring)
709 codestring++;
/dports/math/libRmath/R-4.1.1/src/main/
H A Dg_alab_her.c162 unsigned short *codestring; in R_GE_VStrWidth() local
172 codestring = _controlify (dd, (const unsigned char *) s, in R_GE_VStrWidth()
175 label_width = _label_width_hershey (gc, dd, codestring); in R_GE_VStrWidth()
199 unsigned short *codestring; in R_GE_VStrHeight() local
204 codestring = _controlify (dd, (const unsigned char *) s, in R_GE_VStrHeight()
207 label_height = _label_height_hershey (gc, dd, codestring); in R_GE_VStrHeight()
231 unsigned short *codestring; in R_GE_VText() local
260 codestring = _controlify (dd, (const unsigned char *)s, in R_GE_VText()
275 label_width = _label_width_hershey (gc, dd, codestring); in R_GE_VText()
276 label_height = _label_height_hershey(gc, dd, codestring); in R_GE_VText()
[all …]
H A Dg_cntrlify.c698 _codestring_len (const unsigned short *codestring) in _codestring_len() argument
700 _codestring_len (codestring) in _codestring_len()
701 const unsigned short *codestring; in _codestring_len()
706 while (*codestring)
709 codestring++;
/dports/devel/bit/bit-1.1.2/scripts/
H A Dparse_zsh_output_and_generate_suggestions_tree.go98 codestring := printSuggestionTreeCode(bittree)
99 codestring = `package cmd
103 var b = ` + codestring
109 f.WriteString(codestring)
/dports/graphics/plotutils/plotutils-2.6/libplot/
H A Dg_alab_her.c77 unsigned short *codestring; in _pl_g_alabel_hershey() local
86 codestring = _pl_g_controlify (R___(_plotter) s); in _pl_g_alabel_hershey()
89 label_width = HERSHEY_UNITS_TO_USER_UNITS(label_width_hershey (codestring)); in _pl_g_alabel_hershey()
185 _pl_g_draw_hershey_string (R___(_plotter) codestring); in _pl_g_alabel_hershey()
212 free (codestring); in _pl_g_alabel_hershey()
223 unsigned short *codestring; in _pl_g_flabelwidth_hershey() local
226 codestring = _pl_g_controlify (R___(_plotter) s); in _pl_g_flabelwidth_hershey()
228 label_width = HERSHEY_UNITS_TO_USER_UNITS(label_width_hershey (codestring)); in _pl_g_flabelwidth_hershey()
229 free (codestring); in _pl_g_flabelwidth_hershey()
H A Dg_alabel.c65 static bool simple_string (const unsigned short *codestring);
229 unsigned short *codestring; in _pl_g_render_non_hershey_string() local
252 codestring = _pl_g_controlify (R___(_plotter) (const unsigned char *)s); in _pl_g_render_non_hershey_string()
341 && simple_string (codestring)) in _pl_g_render_non_hershey_string()
356 && simple_string (codestring)) in _pl_g_render_non_hershey_string()
427 cptr = codestring; in _pl_g_render_non_hershey_string()
814 free (codestring); in _pl_g_render_non_hershey_string()
1287 simple_string (const unsigned short *codestring) in simple_string() argument
1289 const unsigned short *cptr = codestring; in simple_string()
1293 if (*codestring == 0) in simple_string()
[all …]
/dports/lang/python-legacy/Python-2.7.18/Lib/
H A Dimputil.py425 codestring = open(pathname, 'rU').read()
426 if codestring and codestring[-1] != '\n':
427 codestring = codestring + '\n'
428 code = __builtin__.compile(codestring, pathname, 'exec')
/dports/lang/python27/Python-2.7.18/Lib/
H A Dimputil.py425 codestring = open(pathname, 'rU').read()
426 if codestring and codestring[-1] != '\n':
427 codestring = codestring + '\n'
428 code = __builtin__.compile(codestring, pathname, 'exec')
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dimputil.py425 codestring = open(pathname, 'rU').read()
426 if codestring and codestring[-1] != '\n':
427 codestring = codestring + '\n'
428 code = __builtin__.compile(codestring, pathname, 'exec')
/dports/emulators/vba/VisualBoyAdvance-1.7.2/src/
H A DCheats.cpp548 strcpy(cheatsList[x].codestring, codeStr); in cheatsAdd()
1296 return (cheatsList[i].codestring[0] == '9'); in cheatsCBAShouldDecrypt()
1467 if(!cheatsList[i].codestring[0]) { in cheatsReadGame()
1470 sprintf(cheatsList[i].codestring, "%08x:%02x", cheatsList[i].address, in cheatsReadGame()
1474 sprintf(cheatsList[i].codestring, "%08x:%04x", cheatsList[i].address, in cheatsReadGame()
1478 sprintf(cheatsList[i].codestring, "%08x:%08x", cheatsList[i].address, in cheatsReadGame()
1491 strncpy(buffer, cheatsList[i].codestring, 8); in cheatsReadGame()
1496 strncpy(buffer, &cheatsList[i].codestring[9], 4); in cheatsReadGame()
1577 if(!cheatsList[i].codestring[0]) { in cheatsLoadCheatList()
1597 strncpy(buffer, cheatsList[i].codestring, 8); in cheatsLoadCheatList()
[all …]
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/
H A DgdcmSurface.cxx57 CodeString codestring = stateClear; in GetSTATES() local
58 std::string cs = codestring.GetAsString(); in GetSTATES()
104 CodeString codestring = typeClear; in GetVIEWType() local
105 std::string cs = codestring.GetAsString(); in GetVIEWType()

12345678910