/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/cstr-macros-0.1.6/src/ |
H A D | lib.rs | 15 let bytes = build_bytes(input); 30 fn build_bytes(input: &str) -> String { in build_bytes() function 45 use super::build_bytes; 47 macro_rules! build_bytes { macro 49 build_bytes("e!($($t)*).to_string()) 60 assert_eq!(build_bytes!("aaa"), result!(b"aaa\0")); in test_build_bytes() 61 assert_eq!(build_bytes!("\t\n\r\"\\'"), result!(b"\t\n\r\"\\\'\0")); in test_build_bytes() 62 assert_eq!(build_bytes!("\x01\x02 \x7f"), result!(b"\x01\x02 \x7f\0")); in test_build_bytes() 63 assert_eq!(build_bytes!("你好"), result!(b"\xe4\xbd\xa0\xe5\xa5\xbd\0")); in test_build_bytes() 64 assert_eq!(build_bytes!(foobar), result!(b"foobar\0")); in test_build_bytes() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/cstr-macros/src/ |
H A D | lib.rs | 15 let bytes = build_bytes(input); 30 fn build_bytes(input: &str) -> String { in build_bytes() function 45 use super::build_bytes; 47 macro_rules! build_bytes { macro 49 build_bytes("e!($($t)*).to_string()) 60 assert_eq!(build_bytes!("aaa"), result!(b"aaa\0")); in test_build_bytes() 61 assert_eq!(build_bytes!("\t\n\r\"\\'"), result!(b"\t\n\r\"\\\'\0")); in test_build_bytes() 62 assert_eq!(build_bytes!("\x01\x02 \x7f"), result!(b"\x01\x02 \x7f\0")); in test_build_bytes() 63 assert_eq!(build_bytes!("你好"), result!(b"\xe4\xbd\xa0\xe5\xa5\xbd\0")); in test_build_bytes() 64 assert_eq!(build_bytes!(foobar), result!(b"foobar\0")); in test_build_bytes() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/cstr-macros/src/ |
H A D | lib.rs | 15 let bytes = build_bytes(input); 20 fn build_bytes(input: &str) -> String { in build_bytes() function 38 use super::build_bytes; 40 macro_rules! build_bytes { macro 42 build_bytes("e!($($t)*).to_string()) 53 assert_eq!(build_bytes!("aaa"), result!(b"aaa\0")); in test_build_bytes() 54 assert_eq!(build_bytes!("\t\n\r\"\\'"), result!(b"\t\n\r\"\\\'\0")); in test_build_bytes() 55 assert_eq!(build_bytes!("\x01\x02 \x7f"), result!(b"\x01\x02 \x7f\0")); in test_build_bytes() 56 assert_eq!(build_bytes!("你好"), result!(b"\xe4\xbd\xa0\xe5\xa5\xbd\0")); in test_build_bytes() 62 build_bytes!("a\x00a"); in test_build_bytes_nul_inside()
|
/dports/devel/elixir-msgpax/msgpax-2.1.1/test/ |
H A D | msgpax_test.exs | 49 assert_format build_bytes(1), [0xC4, 1], build_string(1) 50 assert_format build_bytes(255), [0xC4, 255], build_string(255) 52 assert_format build_bytes(1), [0xC4, 1], {build_bytes(1), [binary: true]} 53 assert_format build_bytes(255), [0xC4, 255], {build_bytes(255), [binary: true]} 57 assert_format build_bytes(0x100), [0xC5, 0x100::16], build_string(0x100) 58 assert_format build_bytes(0xFFFF), [0xC5, 0xFFFF::16], build_string(0xFFFF) 62 assert_format build_bytes(0x10000), [0xC6, 0x10000::32], build_string(0x10000) 256 defp build_bytes(size) do function
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/binutils/gas/config/ |
H A D | tc-h8500.c | 937 static void build_bytes PARAMS ((h8500_opcode_info *, h8500_operand_info *)); 940 build_bytes (opcode, operand) in build_bytes() function 1132 build_bytes (opcode, operand);
|
H A D | tc-z8k.c | 1001 build_bytes (opcode_entry_type *this_try, struct z8k_op *operand ATTRIBUTE_UNUSED) in build_bytes() function 1262 build_bytes (opcode, operand); in md_assemble()
|
H A D | tc-h8300.c | 322 static void build_bytes (const struct h8_instruction *, struct h8_op *); 1417 build_bytes (const struct h8_instruction *this_try, struct h8_op *operand) in build_bytes() function 2026 build_bytes (instruction, operand); in md_assemble()
|
/dports/devel/tigcc/tigcc-0.96.b8_10/gnu/binutils-2.16.1/gas/config/ |
H A D | tc-h8500.c | 937 static void build_bytes PARAMS ((h8500_opcode_info *, h8500_operand_info *)); 940 build_bytes (opcode, operand) in build_bytes() function 1132 build_bytes (opcode, operand);
|
H A D | tc-z8k.c | 997 build_bytes (opcode_entry_type *this_try, struct z8k_op *operand ATTRIBUTE_UNUSED) in build_bytes() function 1259 build_bytes (opcode, operand); in md_assemble()
|
H A D | tc-h8300.c | 322 static void build_bytes (const struct h8_instruction *, struct h8_op *); 1409 build_bytes (const struct h8_instruction *this_try, struct h8_op *operand) in build_bytes() function 2018 build_bytes (instruction, operand); in md_assemble()
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/binutils/gas/config/ |
H A D | tc-h8500.c | 937 static void build_bytes PARAMS ((h8500_opcode_info *, h8500_operand_info *)); 940 build_bytes (opcode, operand) 1132 build_bytes (opcode, operand);
|
H A D | tc-z8k.c | 1001 build_bytes (opcode_entry_type *this_try, struct z8k_op *operand ATTRIBUTE_UNUSED) in build_bytes() function 1262 build_bytes (opcode, operand); in md_assemble()
|
H A D | tc-h8300.c | 322 static void build_bytes (const struct h8_instruction *, struct h8_op *); 1417 build_bytes (const struct h8_instruction *this_try, struct h8_op *operand) in build_bytes() function 2026 build_bytes (instruction, operand); in md_assemble()
|
/dports/lang/gnatdroid-binutils-x86/binutils-2.27/gas/config/ |
H A D | tc-z8k.c | 1013 build_bytes (opcode_entry_type *this_try, struct z8k_op *operand ATTRIBUTE_UNUSED) in build_bytes() function 1274 build_bytes (opcode, operand); in md_assemble()
|
H A D | tc-h8300.c | 355 static void build_bytes (const struct h8_instruction *, struct h8_op *); 1468 build_bytes (const struct h8_instruction *this_try, struct h8_op *operand) in build_bytes() function 2090 build_bytes (instruction, operand); in md_assemble()
|
/dports/devel/arm-elf-binutils/binutils-2.37/gas/config/ |
H A D | tc-z8k.c | 1031 build_bytes (opcode_entry_type *this_try, struct z8k_op *operand ATTRIBUTE_UNUSED) in build_bytes() function 1292 build_bytes (opcode, operand); in md_assemble()
|
H A D | tc-h8300.c | 349 static void build_bytes (const struct h8_instruction *, struct h8_op *); 1456 build_bytes (const struct h8_instruction *this_try, struct h8_op *operand) in build_bytes() function 2060 build_bytes (instruction, operand); in md_assemble()
|
/dports/devel/gnulibiberty/binutils-2.37/gas/config/ |
H A D | tc-z8k.c | 1031 build_bytes (opcode_entry_type *this_try, struct z8k_op *operand ATTRIBUTE_UNUSED) in build_bytes() function 1292 build_bytes (opcode, operand); in md_assemble()
|
H A D | tc-h8300.c | 349 static void build_bytes (const struct h8_instruction *, struct h8_op *); 1456 build_bytes (const struct h8_instruction *this_try, struct h8_op *operand) in build_bytes() function 2060 build_bytes (instruction, operand); in md_assemble()
|
/dports/lang/gnatdroid-binutils/binutils-2.27/gas/config/ |
H A D | tc-z8k.c | 1013 build_bytes (opcode_entry_type *this_try, struct z8k_op *operand ATTRIBUTE_UNUSED) in build_bytes() function 1274 build_bytes (opcode, operand); in md_assemble()
|
H A D | tc-h8300.c | 355 static void build_bytes (const struct h8_instruction *, struct h8_op *); 1468 build_bytes (const struct h8_instruction *this_try, struct h8_op *operand) in build_bytes() function 2090 build_bytes (instruction, operand); in md_assemble()
|
/dports/devel/djgpp-binutils/binutils-2.17/gas/config/ |
H A D | tc-z8k.c | 992 build_bytes (opcode_entry_type *this_try, struct z8k_op *operand ATTRIBUTE_UNUSED) in build_bytes() function 1253 build_bytes (opcode, operand); in md_assemble()
|
H A D | tc-h8300.c | 303 static void build_bytes (const struct h8_instruction *, struct h8_op *); 1390 build_bytes (const struct h8_instruction *this_try, struct h8_op *operand) in build_bytes() function 1999 build_bytes (instruction, operand); in md_assemble()
|
/dports/devel/binutils/binutils-2.37/gas/config/ |
H A D | tc-z8k.c | 1031 build_bytes (opcode_entry_type *this_try, struct z8k_op *operand ATTRIBUTE_UNUSED) in build_bytes() function 1292 build_bytes (opcode, operand); in md_assemble()
|
H A D | tc-h8300.c | 349 static void build_bytes (const struct h8_instruction *, struct h8_op *); 1456 build_bytes (const struct h8_instruction *this_try, struct h8_op *operand) in build_bytes() function 2060 build_bytes (instruction, operand); in md_assemble()
|