Searched refs:tex_escape (Results 1 – 4 of 4) sorted by relevance
/external/scapy/scapy/ |
D | autorun.py | 15 from scapy.utils import tex_escape 136 to_latex = lambda s: tex_escape(s).replace("@[@","{").replace("@]@","}").replace("@`@","\\")
|
D | packet.py | 23 from scapy.utils import import_hexcap,tex_escape,colgen,get_temp_file, \ 636 …yx.text.text(XSTART, (YTXT-y)*YMUL, r"\font\cmssfont=cmss10\cmssfont{%s}" % tex_escape(fname.name)) 642 … = pyx.text.text(XSTART+3, (YTXT-y)*YMUL, r"\font\cmssfont=cmss10\cmssfont{%s}" % tex_escape(fval))
|
D | utils.py | 559 def tex_escape(x): function
|
/external/scapy/test/ |
D | regression.uts | 329 = Test tex_escape function 330 tex_escape("$#_") == "\\$\\#\\_" 384 assert tex_escape("{scapy}\\^$~#_&%|><") == "{\\tt\\char123}scapy{\\tt\\char125}{\\tt\\char92}\\^{}…
|