Home
last modified time | relevance | path

Searched refs:tex_escape (Results 1 – 4 of 4) sorted by relevance

/external/scapy/scapy/
Dautorun.py15 from scapy.utils import tex_escape
136 to_latex = lambda s: tex_escape(s).replace("@[@","{").replace("@]@","}").replace("@`@","\\")
Dpacket.py23 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))
Dutils.py559 def tex_escape(x): function
/external/scapy/test/
Dregression.uts329 = Test tex_escape function
330 tex_escape("$#_") == "\\$\\#\\_"
384 assert tex_escape("{scapy}\\^$~#_&%|><") == "{\\tt\\char123}scapy{\\tt\\char125}{\\tt\\char92}\\^{}…