/dports/graphics/py-svgwrite/svgwrite-1.4.1/tests/ |
H A D | test_filters.py | 16 self.assertEqual(f.tostring(), '<filter />') 38 self.assertEqual(f.tostring(), '<feBlend in="input" />') 217 self.assertEqual(f.feFlood().tostring(), 246 self.assertEqual(f.feImage("./image.png").tostring(), 260 self.assertEqual(merge.tostring(), 268 self.assertEqual(f.feMorphology("input1").tostring(), 287 self.assertEqual(f.feOffset("input1").tostring(), 326 self.assertEqual(f.feTile("input1").tostring(), 333 self.assertEqual(f.feTurbulence().tostring(), 384 self.assertEqual(ls.tostring(), '<fePointLight />') [all …]
|
H A D | test_animate.py | 17 self.assertEqual(s.tostring(), '<set />') 21 self.assertEqual(s.tostring(), '<set xlink:href="#test" />') 45 result = s.tostring() 51 self.assertEqual(s.tostring(), '<set fill="freeze" />') 57 self.assertEqual(a.tostring(), '<animate attributeName="x" />') 62 self.assertEqual(a.tostring(), '<animate fill="freeze" />') 67 self.assertEqual(a.tostring(), 74 self.assertEqual(s.tostring(), '<animate values="1;2;3" />') 78 self.assertEqual(s.tostring(), '<animate values="1;2;3" />') 82 self.assertEqual(s.tostring(), '<animate values="3" />') [all …]
|
H A D | test_textarea.py | 19 self.assertEqual(br.tostring(), "<tbreak />") 36 self.assertEqual(textarea.tostring(), '<textArea height="20" width="10" x="1" y="2" />') 40 self.assertEqual(textarea.tostring(), '<textArea />') 42 self.assertEqual(textarea.tostring(), '<textArea><tspan>a line.</tspan></textArea>') 46 self.assertEqual(textarea.tostring(), '<textArea><tbreak /></textArea>') 48 self.assertEqual(textarea.tostring(), '<textArea><tbreak /><tbreak /></textArea>') 55 self.assertEqual(textarea.tostring(), '<textArea><tspan>line1</tspan><tbreak />' 59 self.assertEqual(textarea.tostring(), '<textArea><tspan>line1</tspan><tbreak />' 63 self.assertEqual(textarea.tostring(), '<textArea><tspan>line1</tspan><tbreak />' 76 self.assertEqual(textarea.tostring(), '<textArea><tbreak /><tspan>line1</tspan><tbreak />' [all …]
|
H A D | test_transform.py | 23 self.assertEqual(m.tostring(), '<g />') 28 self.assertEqual(m.tostring(), '<g transform="translate(10)" />') 44 self.assertEqual(m.tostring(), '<g transform="rotate(30)" />') 50 self.assertEqual(m.tostring(), '<g transform="rotate(30,1,2)" />') 61 self.assertEqual(m.tostring(), '<g transform="scale(3)" />') 66 self.assertEqual(m.tostring(), '<g transform="scale(3,2)" />') 77 self.assertEqual(m.tostring(), '<g transform="skewX(30)" />') 82 self.assertEqual(m.tostring(), '<g transform="skewX(30)" />') 92 self.assertEqual(m.tostring(), '<g transform="skewY(30)" />') 97 self.assertEqual(m.tostring(), '<g transform="skewY(30)" />') [all …]
|
H A D | test_path.py | 18 self.assertEqual(p.tostring(), '<path d="M 0 0" pathLength="100" />') 22 self.assertEqual(p.tostring(), '<path d="M 10,7" />') 26 self.assertEqual(p.tostring(), '<path d="M 9 9" />') 30 self.assertEqual(p.tostring(), '<path d="M 0 0" />') 33 self.assertEqual(p.tostring(), '<path d="M 0 0 100 100 100 200" />') 38 self.assertEqual(p.tostring(), '<path d="M 100 100 100 200" />') 44 self.assertEqual(p.tostring(), '<path d="M 10 7 l 100.0 100.0 v 100.7 200.1" />') 48 self.assertEqual(p.tostring(), '<path d="M 1,2 L 7 7 H 1 2 3 4 5" />') 53 self.assertEqual(p.tostring(), '<path d="m0,0 a 5 5 30 1,1 7 7" />') 58 self.assertEqual(p.tostring(), '<path d="m0,0 A 2 4 30 0,0 7 7" />')
|
H A D | test_text.py | 15 self.assertEqual(txt.tostring(), '<tspan>testtext</tspan>') 19 self.assertEqual(txt.tostring(), '<tspan x="1" y="1">testtext</tspan>') 29 self.assertEqual(txt.tostring(), '<tspan x="1 2 3 4">text</tspan>') 33 self.assertEqual(txt.tostring(), '<tspan y="1 2 3 4">text</tspan>') 37 self.assertEqual(txt.tostring(), '<tspan dx="1 2 3 4">text</tspan>') 41 self.assertEqual(txt.tostring(), '<tspan dy="1 2 3 4">text</tspan>') 45 self.assertEqual(txt.tostring(), '<tspan rotate="1 2 3 4">text</tspan>') 50 self.assertEqual(txt.tostring(), '<tspan>text<tspan>subtext</tspan></tspan>') 54 self.assertEqual(txt.tostring(), '<tspan>öäü</tspan>') 94 self.assertEqual(tref.tostring(), '<tref xlink:href="#test" />') [all …]
|
/dports/games/corsix-th/CorsixTH-0.65.1/CorsixTH/Lua/ |
H A D | config_finder.lua | 194 'fullscreen = ' .. tostring(config_values.fullscreen) .. '\n' .. 196 'width = ' .. tostring(config_values.width) .. '\n' .. 197 'height = ' .. tostring(config_values.height) .. '\n' .. [=[ 229 'audio = ' .. tostring(config_values.audio) .. '\n' .. [=[ 246 'play_sounds = ' .. tostring(config_values.play_sounds) .. '\n' .. 258 'play_music = ' .. tostring(config_values.play_music) .. '\n' .. 320 'movies = ' .. tostring(config_values.movies) .. '\n' .. [=[ 324 'play_intro = ' .. tostring(config_values.play_intro) .. '\n' .. [=[ 461 'debug = ' .. tostring(config_values.debug) .. '\n' .. [=[ 471 'platform = ' .. tostring(config_values.DBGp_platform) .. '\n' .. [all …]
|
/dports/devel/lua-cqueues/cqueues-rel-20200726/regress/ |
H A D | 152-thread-integer-passing.lua | 23 check(not err, "%s", tostring(err)) 44 check(not err, "%s", tostring(err)) 57 check("integer" == math.type(i), "number not an integer (%s)", tostring(i)) 59 check("float" == math.type(n), "number not a float (given %s, got %s)", tostring(i), tostring(n)) 67 info("checking integer (%s) and float (%s) equivalence", tostring(i), tostring(n)) 70 …eger, "integer argument does not equal math.maxinteger (%s, %s)", tostring(i), tostring(math.maxin… 71 … "integer argument unexpectedly equals floating point argument (%s, %s)", tostring(i), tostring(n)) 99 info("checking float (%s) and string (%s)", tostring(n), tostring(s)) 102 check(ftoa(n) == s, "floating point test failed (%s, %q)", tostring(n), tostring(s)) 103 … == n or math.abs(n) == math.huge, "floating point test failed (%s, %q)", tostring(n), tostring(s))
|
/dports/net-im/py-slixmpp/slixmpp-1.7.1/tests/ |
H A D | test_stanza_xep_0009.py | 23 from slixmpp.xmlstream.tostring import tostring 76 tostring(expected_xml), tostring(params_xml))) 99 tostring(expected_xml), tostring(params_xml))) 117 tostring(expected_xml), tostring(params_xml))) 135 tostring(expected_xml), tostring(params_xml))) 172 tostring(expected_xml), tostring(params_xml))) 193 tostring(expected_xml), tostring(params_xml))) 220 tostring(expected_xml), tostring(params_xml))) 242 tostring(expected_xml), tostring(params_xml))) 278 tostring(expected_xml), tostring(params_xml))) [all …]
|
/dports/devel/efl/efl-1.25.1/src/lib/evas/filters/lua/ |
H A D | color.lua | 139 …error('Invalid color value: ' .. tostring(A[1]) .. " , " .. tostring(A[2]) .. " , " .. tostring(A[… 164 … error('Invalid color value: ' .. tostring(A) .. " , " .. tostring(B) .. " , " .. tostring(C)) 257 assert(tostring(C) == '#000000ff') 259 assert(tostring(C) == '#feab12ff') 261 assert(tostring(C) == '#feab99ff') 263 assert(tostring(C) == '#000000ff') 265 assert(tostring(C) == '#feab12ff') 267 assert(tostring(C) == '#feab12ff') 269 assert(tostring(B) == '#feab12ff') 271 assert(tostring(B) == '#feab1280') [all …]
|
/dports/www/civetweb/civetweb-1.15/test/ |
H A D | page_shared.lua | 18 mg.write("Previous count was " .. tostring(x) .. " (type " .. type(x) .. ")\n") 22 mg.write("Store new count " .. tostring(x) .. " (type " .. type(x) .. ")\n") 24 mg.write("New count is " .. tostring(x) .. " (type " .. type(x) .. ")\n") 34 mg.write("Store new name " .. tostring(x) .. " (type " .. type(x) .. ")\n") 36 mg.write("New name is " .. tostring(x) .. " (type " .. type(x) .. ")\n") 55 mg.write(tostring(x) .. " (" .. type(x):sub(1,1) .. ") ") 64 mg.write(tostring(x) .. " (" .. type(x):sub(1,1) .. ") ") 74 .. tostring(x) .. " (type " .. type(x) .. ") / " 75 .. tostring(y) .. " (type " .. type(y) .. ")\n") 81 .. tostring(x) .. " (type " .. type(x) .. ") / " [all …]
|
/dports/devel/dmake/dmake-4.13.1/dbug/malloc/ |
H A D | dump.c | 67 (void) tostring(buffer, (int)ptr, 8, B_HEX, '0'); 68 (void) tostring(buffer+9, (int)ptr->next, 8, B_HEX, '0'); 69 (void) tostring(buffer+18, (int)ptr->prev, 8, B_HEX, '0'); 70 (void) tostring(buffer+27, (int)ptr->flag, 10, B_HEX, '0'); 71 (void) tostring(buffer+38, (int)ptr->s.size, 8, B_DEC, ' '); 72 (void) tostring(buffer+47, (int)ptr->s.size, 8, B_HEX, '0'); 73 (void) tostring(buffer+57, (int)ptr->data, 8, B_HEX, '0'); 82 (void) tostring(buffer, (int) &malloc_start, 8, B_HEX, '0'); 87 (void) tostring(buffer, (int) malloc_end, 8, B_HEX, '0'); 92 (void) tostring(buffer, (int) malloc_data_start, 8, B_HEX, '0'); [all …]
|
/dports/security/john/john-1.9.0-jumbo-1/run/ |
H A D | ccache2john.py | 53 def tostring(self): member in Header 72 def tostring(self): member in DeltaTime 96 def tostring(self): member in CCacheHeader 119 def tostring(self): member in KerbTimes 136 def tostring(self): member in CountedOctet 602 …self.krbcredinfo = self.key.tostring() + self.prealm.tostring() + self.pname.tostring() + self.fla… 603 self.starttime.tostring() + self.endtime.tostring() + \ 604 self.renew_till.tostring() + self.srealm.tostring() + \ 622 …self.krbcredinfo = self.key.tostring() + self.prealm.tostring() + self.pname.tostring() + self.fla… 623 self.starttime.tostring() + self.endtime.tostring() + \ [all …]
|
/dports/math/clingo/clingo-5.5.1/app/clingo/tests/lua/ |
H A D | domain.lp | 17 out = "universe(" .. tostring(#prg.symbolic_atoms) .. ")" 19 …out = out .. " domain(" .. tostring(x.symbol) .. "," .. tostring(x.is_fact) .. "," .. tostring(x.i… 21 …out = out .. " in_domain(p(2)," .. tostring(prg.symbolic_atoms:lookup(clingo.Function("p", {3})) ~… 22 …out = out .. " in_domain(p(4)," .. tostring(prg.symbolic_atoms:lookup(clingo.Function("p", {4})) ~… 24 …out = out .. " domain_of_p(" .. tostring(x.symbol) .. "," .. tostring(x.is_fact) .. "," .. tostrin… 27 out = out .. " sig(" .. x[1] .. "," .. tostring(x[2]) .. ")"
|
/dports/www/osrm-backend/osrm-backend-5.26.0/features/options/extract/ |
H A D | turn_function.feature | 38 return 'speed: ' .. tostring(leg.speed) 39 .. ', is_incoming: ' .. tostring(leg.is_incoming) 40 .. ', is_outgoing: ' .. tostring(leg.is_outgoing) 42 .. ', access_turn_classification: ' .. tostring(leg.access_turn_classification) 43 .. ', priority_class: ' .. tostring(leg.priority_class) 49 print ('source_is_link ' .. string.format("%s", tostring(turn.source_is_link))) 53 print ('source_speed ' .. string.format("%s", tostring(turn.source_speed))) 55 print ('source_mode ' .. string.format("%s", tostring(turn.source_mode))) 59 print ('target_is_link ' .. string.format("%s", tostring(turn.target_is_link))) 63 print ('target_speed ' .. string.format("%s", tostring(turn.target_speed))) [all …]
|
/dports/www/py-html5-parser/html5-parser-0.4.10/test/ |
H A D | namespace.py | 11 from . import TestCase, tostring, XHTML, XLINK, SVG, XML 18 def namespaces(self, parse_function=partial(parse, maybe_xhtml=True), tostring=tostring): argument 20 tostring = partial(tostring, pretty_print=True) 31 'Incorrect parsing, parsed markup:\n' + tostring(root)) 40 err = 'Incorrect parsing, parsed markup:\n' + tostring(root) 51 err = 'Incorrect parsing, parsed markup:\n' + tostring(root) 58 err = 'Namespaces not created, parsed markup:\n' + tostring(root) 65 err = 'Multiple HTML tags not handled, parsed markup:\n' + tostring(root) 114 tostring(root), 131 tostring(root), [all …]
|
/dports/cad/py-ezdxf/ezdxf-0.16.3/tests/test_05_tools/ |
H A D | test_520_mtext_context.py | 58 assert ParagraphProperties().tostring() == "" 61 assert ParagraphProperties(indent=2).tostring() == "\\pxi2;" 64 assert ParagraphProperties(left=3).tostring() == "\\pxl3;" 67 assert ParagraphProperties(right=4).tostring() == "\\pxr4;" 71 align=MTextParagraphAlignment.CENTER).tostring() == "\\pxqc;" 77 align=MTextParagraphAlignment.CENTER).tostring() == "\\pxi2.5,qc;" 81 assert p.tostring() == "\\pxt1;" 85 assert p.tostring() == "\\pxt1,2,3;" 93 assert p.tostring() == "\\pxt1,c2,r3.7;" 99 assert p.tostring() == "\\pxi1,t1,2,3;" [all …]
|
/dports/www/varnish6/varnish-cache-varnish-6.6.2/lib/libvcc/ |
H A D | vcc_types.c | 60 .tostring = "((\v1)->name)", 73 .tostring = "VRT_BACKEND_string(\v1)", 79 .tostring = "VRT_BLOB_string(ctx, \v1)", 90 .tostring = "VRT_BOOL_string(\v1)", 110 .tostring = "", 116 .tostring = "VRT_GetHdr(ctx, \v1)", 133 .tostring = "VRT_INT_string(ctx, \v1)", 139 .tostring = "VRT_IP_string(ctx, \v1)", 150 .tostring = "VRT_REAL_string(ctx, \v1)", 170 .tostring = "VRT_STEVEDORE_string(\v1)", [all …]
|
/dports/net/wireshark-lite/wireshark-3.6.1/test/lua/ |
H A D | pinfo.lua | 103 test("tostring-1", tostring(pinfo) == "a Pinfo") 176 test("Pinfo.lo-get-1",tostring(pinfo.lo) == srcip) 178 test("Pinfo.hi-get-1",tostring(pinfo.hi) == dstip) 185 test("Pinfo.cols-get-1",tostring(pinfo.cols) == "Columns") 194 test("Pinfo.src-get-1",tostring(pinfo.src) == srcip) 196 test("Pinfo.dst-get-1",tostring(pinfo.dst) == dstip) 201 test("Pinfo.net_src-get-1",tostring(pinfo.net_src) == srcip) 239 test("Pinfo.src-set-1",tostring(pinfo.src) == dstip) 241 test("Pinfo.dst-set-1",tostring(pinfo.dst) == srcip) 244 local dl_dst_val = tostring(pinfo.dl_dst) [all …]
|
/dports/net/wireshark/wireshark-3.6.1/test/lua/ |
H A D | pinfo.lua | 103 test("tostring-1", tostring(pinfo) == "a Pinfo") 176 test("Pinfo.lo-get-1",tostring(pinfo.lo) == srcip) 178 test("Pinfo.hi-get-1",tostring(pinfo.hi) == dstip) 185 test("Pinfo.cols-get-1",tostring(pinfo.cols) == "Columns") 194 test("Pinfo.src-get-1",tostring(pinfo.src) == srcip) 196 test("Pinfo.dst-get-1",tostring(pinfo.dst) == dstip) 201 test("Pinfo.net_src-get-1",tostring(pinfo.net_src) == srcip) 239 test("Pinfo.src-set-1",tostring(pinfo.src) == dstip) 241 test("Pinfo.dst-set-1",tostring(pinfo.dst) == srcip) 244 local dl_dst_val = tostring(pinfo.dl_dst) [all …]
|
/dports/net/tshark-lite/wireshark-3.6.1/test/lua/ |
H A D | pinfo.lua | 103 test("tostring-1", tostring(pinfo) == "a Pinfo") 176 test("Pinfo.lo-get-1",tostring(pinfo.lo) == srcip) 178 test("Pinfo.hi-get-1",tostring(pinfo.hi) == dstip) 185 test("Pinfo.cols-get-1",tostring(pinfo.cols) == "Columns") 194 test("Pinfo.src-get-1",tostring(pinfo.src) == srcip) 196 test("Pinfo.dst-get-1",tostring(pinfo.dst) == dstip) 201 test("Pinfo.net_src-get-1",tostring(pinfo.net_src) == srcip) 239 test("Pinfo.src-set-1",tostring(pinfo.src) == dstip) 241 test("Pinfo.dst-set-1",tostring(pinfo.dst) == srcip) 244 local dl_dst_val = tostring(pinfo.dl_dst) [all …]
|
/dports/net/tshark/wireshark-3.6.1/test/lua/ |
H A D | pinfo.lua | 103 test("tostring-1", tostring(pinfo) == "a Pinfo") 176 test("Pinfo.lo-get-1",tostring(pinfo.lo) == srcip) 178 test("Pinfo.hi-get-1",tostring(pinfo.hi) == dstip) 185 test("Pinfo.cols-get-1",tostring(pinfo.cols) == "Columns") 194 test("Pinfo.src-get-1",tostring(pinfo.src) == srcip) 196 test("Pinfo.dst-get-1",tostring(pinfo.dst) == dstip) 201 test("Pinfo.net_src-get-1",tostring(pinfo.net_src) == srcip) 239 test("Pinfo.src-set-1",tostring(pinfo.src) == dstip) 241 test("Pinfo.dst-set-1",tostring(pinfo.dst) == srcip) 244 local dl_dst_val = tostring(pinfo.dl_dst) [all …]
|
/dports/devel/allegro5/allegro5-5.2.7.0/examples/ |
H A D | ex_path.c | 9 ALLEGRO_PATH *tostring = NULL; in main() local 40 tostring = al_create_path(argv[1]); in main() 41 if (!tostring) { in main() 47 log_printf("tostring: '%s'\n", al_path_cstr(tostring, '/')); in main() 48 log_printf("tostring: drive:'%s'", al_get_path_drive(tostring)); in main() 50 for (i = 0; i < al_get_path_num_components(tostring); i++) { in main() 53 log_printf(" '%s'", al_get_path_component(tostring, i)); in main() 55 log_printf(" filename:'%s'\n", al_get_path_filename(tostring)); in main() 56 al_destroy_path(tostring); in main()
|
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/geometry/ |
H A D | Parametrization.cpp | 44 geom_p=new Segment(_v1=Point(a),_v2=Point(b),_domain_name="["+tostring(a)+", "+tostring(b)+"]"); in Parametrization() 51 geom_p=new Segment(_v1=Point(a),_v2=Point(b),_domain_name="["+tostring(a)+", "+tostring(b)+"]"); in Parametrization() 59 … _domain_name="["+tostring(a)+", "+tostring(b)+"]x["+tostring(c)+", "+tostring(d)+"]"); in Parametrization() 67 … _domain_name="["+tostring(a)+", "+tostring(b)+"]x["+tostring(c)+", "+tostring(d)+"]"); in Parametrization()
|
/dports/sysutils/terraform/terraform-1.0.11/website/docs/language/functions/ |
H A D | tostring.html.md | 3 page_title: "tostring - Functions - Configuration Language" 4 sidebar_current: "docs-funcs-conversion-tostring" 6 The tostring function converts a value to a string. 9 # `tostring` Function 11 `tostring` converts its argument to a string value. 23 > tostring("hello") 25 > tostring(1) 27 > tostring(true) 29 > tostring([])
|