Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 25 of 1679) sorted by relevance

12345678910>>...68

/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
Dstring-opt-10.c19 char dst[64], *d2; in main() local
21 strcpy (dst, s1); in main()
22 if (strncat (dst, "", 100) != dst || strcmp (dst, s1)) in main()
24 strcpy (dst, s1); in main()
25 if (strncat (dst, s2, 100) != dst || strcmp (dst, s1)) in main()
27 strcpy (dst, s1); d2 = dst; in main()
28 if (strncat (++d2, s2, 100) != dst+1 || d2 != dst+1 || strcmp (dst, s1)) in main()
30 strcpy (dst, s1); d2 = dst; in main()
31 if (strncat (++d2+5, s2, 100) != dst+6 || d2 != dst+1 || strcmp (dst, s1)) in main()
33 strcpy (dst, s1); d2 = dst; in main()
[all …]
Dstring-opt-7.c19 char dst[64], *dst2; in main() local
21 memset (dst, 0, sizeof (dst)); in main()
22 if (strncpy (dst, src, 4) != dst || strncmp (dst, src, 4)) in main()
25 memset (dst, 0, sizeof (dst)); in main()
26 if (strncpy (dst+16, src, 4) != dst+16 || strncmp (dst+16, src, 4)) in main()
29 memset (dst, 0, sizeof (dst)); in main()
30 if (strncpy (dst+32, src+5, 4) != dst+32 || strncmp (dst+32, src+5, 4)) in main()
33 memset (dst, 0, sizeof (dst)); in main()
34 dst2 = dst; in main()
35 if (strncpy (++dst2, src+5, 4) != dst+1 || strncmp (dst2, src+5, 4) in main()
[all …]
Dstring-opt-9.c18 char dst[64], *d2; in main() local
20 strcpy (dst, s1); in main()
21 if (strcat (dst, "") != dst || strcmp (dst, s1)) in main()
23 strcpy (dst, s1); in main()
24 if (strcat (dst, s2) != dst || strcmp (dst, s1)) in main()
26 strcpy (dst, s1); d2 = dst; in main()
27 if (strcat (++d2, s2) != dst+1 || d2 != dst+1 || strcmp (dst, s1)) in main()
29 strcpy (dst, s1); d2 = dst; in main()
30 if (strcat (++d2+5, s2) != dst+6 || d2 != dst+1 || strcmp (dst, s1)) in main()
32 strcpy (dst, s1); d2 = dst; in main()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86InstrShiftRotate.td17 let Constraints = "$src1 = $dst" in {
19 def SHL8rCL : I<0xD2, MRM4r, (outs GR8 :$dst), (ins GR8 :$src1),
20 "shl{b}\t{%cl, $dst|$dst, cl}",
21 [(set GR8:$dst, (shl GR8:$src1, CL))]>;
22 def SHL16rCL : I<0xD3, MRM4r, (outs GR16:$dst), (ins GR16:$src1),
23 "shl{w}\t{%cl, $dst|$dst, cl}",
24 [(set GR16:$dst, (shl GR16:$src1, CL))]>, OpSize16;
25 def SHL32rCL : I<0xD3, MRM4r, (outs GR32:$dst), (ins GR32:$src1),
26 "shl{l}\t{%cl, $dst|$dst, cl}",
27 [(set GR32:$dst, (shl GR32:$src1, CL))]>, OpSize32;
[all …]
DX86InstrControl.td62 def JMP_1 : Ii8PCRel<0xEB, RawFrm, (outs), (ins brtarget8:$dst),
63 "jmp\t$dst", [(br bb:$dst)]>;
65 def JMP_2 : Ii16PCRel<0xE9, RawFrm, (outs), (ins brtarget16:$dst),
66 "jmp\t$dst", []>, OpSize16;
67 def JMP_4 : Ii32PCRel<0xE9, RawFrm, (outs), (ins brtarget32:$dst),
68 "jmp\t$dst", []>, OpSize32;
76 (ins brtarget8:$dst, ccode:$cond),
77 "j${cond}\t$dst",
78 [(X86brcond bb:$dst, timm:$cond, EFLAGS)]>;
81 (ins brtarget16:$dst, ccode:$cond),
[all …]
DX86InstrExtension.td39 def MOVSX16rr8 : I<0xBE, MRMSrcReg, (outs GR16:$dst), (ins GR8:$src),
40 "movs{bw|x}\t{$src, $dst|$dst, $src}", []>,
43 def MOVSX16rm8 : I<0xBE, MRMSrcMem, (outs GR16:$dst), (ins i8mem:$src),
44 "movs{bw|x}\t{$src, $dst|$dst, $src}", []>,
47 def MOVSX32rr8 : I<0xBE, MRMSrcReg, (outs GR32:$dst), (ins GR8:$src),
48 "movs{bl|x}\t{$src, $dst|$dst, $src}",
49 [(set GR32:$dst, (sext GR8:$src))]>, TB,
51 def MOVSX32rm8 : I<0xBE, MRMSrcMem, (outs GR32:$dst), (ins i8mem :$src),
52 "movs{bl|x}\t{$src, $dst|$dst, $src}",
53 [(set GR32:$dst, (sextloadi32i8 addr:$src))]>, TB,
[all …]
DX86InstrSSE.td26 def rr : SI<opc, MRMSrcReg, (outs RC:$dst), (ins RC:$src1, RC:$src2),
28 !strconcat(OpcodeStr, "\t{$src2, $dst|$dst, $src2}"),
29 !strconcat(OpcodeStr, "\t{$src2, $src1, $dst|$dst, $src1, $src2}")),
30 [(set RC:$dst, (OpNode RC:$src1, RC:$src2))], d>,
33 def rm : SI<opc, MRMSrcMem, (outs RC:$dst), (ins RC:$src1, x86memop:$src2),
35 !strconcat(OpcodeStr, "\t{$src2, $dst|$dst, $src2}"),
36 !strconcat(OpcodeStr, "\t{$src2, $src1, $dst|$dst, $src1, $src2}")),
37 [(set RC:$dst, (OpNode RC:$src1, (load addr:$src2)))], d>,
49 def rr_Int : SI_Int<opc, MRMSrcReg, (outs RC:$dst), (ins RC:$src1, RC:$src2),
51 !strconcat(asm, "\t{$src2, $dst|$dst, $src2}"),
[all …]
DX86InstrMMX.td28 def MMX_SET0 : I<0, Pseudo, (outs VR64:$dst), (ins), "",
29 [(set VR64:$dst, (x86mmx (MMX_X86movw2d (i32 0))))]>;
32 let Constraints = "$src1 = $dst" in {
37 def rr : MMXI<opc, MRMSrcReg, (outs VR64:$dst),
39 !strconcat(OpcodeStr, "\t{$src2, $dst|$dst, $src2}"),
40 [(set VR64:$dst, (IntId VR64:$src1, VR64:$src2))]>,
44 def rm : MMXI<opc, MRMSrcMem, (outs VR64:$dst),
46 !strconcat(OpcodeStr, "\t{$src2, $dst|$dst, $src2}"),
47 [(set VR64:$dst, (IntId VR64:$src1, (load_mmx addr:$src2)))]>,
55 def rr : MMXI<opc, MRMSrcReg, (outs VR64:$dst),
[all …]
DX86InstrCMovSetCC.td17 let Uses = [EFLAGS], Predicates = [HasCMOV], Constraints = "$src1 = $dst",
20 : I<0x40, MRMSrcRegCC, (outs GR16:$dst), (ins GR16:$src1, GR16:$src2, ccode:$cond),
21 "cmov${cond}{w}\t{$src2, $dst|$dst, $src2}",
22 [(set GR16:$dst,
26 : I<0x40, MRMSrcRegCC, (outs GR32:$dst), (ins GR32:$src1, GR32:$src2, ccode:$cond),
27 "cmov${cond}{l}\t{$src2, $dst|$dst, $src2}",
28 [(set GR32:$dst,
32 :RI<0x40, MRMSrcRegCC, (outs GR64:$dst), (ins GR64:$src1, GR64:$src2, ccode:$cond),
33 "cmov${cond}{q}\t{$src2, $dst|$dst, $src2}",
34 [(set GR64:$dst,
[all …]
DX86InstrSystem.td126 def MOV32rd : I<0x21, MRMDestReg, (outs GR32:$dst), (ins DEBUG_REG:$src),
127 "mov{l}\t{$src, $dst|$dst, $src}", []>, TB,
129 def MOV64rd : I<0x21, MRMDestReg, (outs GR64:$dst), (ins DEBUG_REG:$src),
130 "mov{q}\t{$src, $dst|$dst, $src}", []>, TB,
133 def MOV32dr : I<0x23, MRMSrcReg, (outs DEBUG_REG:$dst), (ins GR32:$src),
134 "mov{l}\t{$src, $dst|$dst, $src}", []>, TB,
136 def MOV64dr : I<0x23, MRMSrcReg, (outs DEBUG_REG:$dst), (ins GR64:$src),
137 "mov{q}\t{$src, $dst|$dst, $src}", []>, TB,
145 def MOV32rc : I<0x20, MRMDestReg, (outs GR32:$dst), (ins CONTROL_REG:$src),
146 "mov{l}\t{$src, $dst|$dst, $src}", []>, TB,
[all …]
/openbsd/src/lib/libc/gen/
Dvis.c79 vis(char *dst, int c, int flag, int nextc) in vis() argument
90 *dst++ = '\\'; in vis()
91 *dst++ = c; in vis()
92 *dst = '\0'; in vis()
93 return (dst); in vis()
99 *dst++ = '\\'; in vis()
100 *dst++ = 'n'; in vis()
103 *dst++ = '\\'; in vis()
104 *dst++ = 'r'; in vis()
107 *dst++ = '\\'; in vis()
[all …]
Dunvis.c217 strunvis(char *dst, const char *src) in strunvis() argument
220 char *start = dst; in strunvis()
225 switch (unvis(dst, c, &state, 0)) { in strunvis()
227 dst++; in strunvis()
230 dst++; in strunvis()
236 *dst = '\0'; in strunvis()
240 if (unvis(dst, c, &state, UNVIS_END) == UNVIS_VALID) in strunvis()
241 dst++; in strunvis()
242 *dst = '\0'; in strunvis()
243 return (dst - start); in strunvis()
[all …]
/openbsd/src/gnu/usr.bin/binutils/bfd/
Dnlmswap.h42 nlm_swap_fixed_header_in (abfd, realsrc, dst) in nlm_swap_fixed_header_in() argument
45 Nlm_Internal_Fixed_Header *dst;
48 memcpy (dst->signature, src->signature, NLM_SIGNATURE_SIZE);
49 memcpy (dst->moduleName, src->moduleName, NLM_MODULE_NAME_SIZE);
50 dst->version =
52 dst->codeImageOffset =
54 dst->codeImageSize =
56 dst->dataImageOffset =
58 dst->dataImageSize =
60 dst->uninitializedDataSize =
[all …]
/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
Dnlmswap.h38 Nlm_Internal_Fixed_Header *dst) in nlm_swap_fixed_header_in() argument
42 memcpy (dst->signature, src->signature, NLM_SIGNATURE_SIZE); in nlm_swap_fixed_header_in()
43 memcpy (dst->moduleName, src->moduleName, NLM_MODULE_NAME_SIZE); in nlm_swap_fixed_header_in()
44 dst->version = in nlm_swap_fixed_header_in()
46 dst->codeImageOffset = in nlm_swap_fixed_header_in()
48 dst->codeImageSize = in nlm_swap_fixed_header_in()
50 dst->dataImageOffset = in nlm_swap_fixed_header_in()
52 dst->dataImageSize = in nlm_swap_fixed_header_in()
54 dst->uninitializedDataSize = in nlm_swap_fixed_header_in()
56 dst->customDataOffset = in nlm_swap_fixed_header_in()
[all …]
/openbsd/src/lib/libc/net/
Dinet_net_ntop.c45 inet_net_ntop(int af, const void *src, int bits, char *dst, size_t size) in inet_net_ntop() argument
49 return (inet_net_ntop_ipv4(src, bits, dst, size)); in inet_net_ntop()
51 return (inet_net_ntop_ipv6(src, bits, dst, size)); in inet_net_ntop()
72 inet_net_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size) in inet_net_ntop_ipv4() argument
74 char *odst = dst; in inet_net_ntop_ipv4()
80 ep = dst + size; in inet_net_ntop_ipv4()
81 if (ep <= dst) in inet_net_ntop_ipv4()
89 if (ep - dst < sizeof "0") in inet_net_ntop_ipv4()
91 *dst++ = '0'; in inet_net_ntop_ipv4()
92 *dst = '\0'; in inet_net_ntop_ipv4()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrConv.td15 defm I32_WRAP_I64 : I<(outs I32:$dst), (ins I64:$src), (outs), (ins),
16 [(set I32:$dst, (trunc I64:$src))],
17 "i32.wrap_i64\t$dst, $src", "i32.wrap_i64", 0xa7>;
19 defm I64_EXTEND_S_I32 : I<(outs I64:$dst), (ins I32:$src), (outs), (ins),
20 [(set I64:$dst, (sext I32:$src))],
21 "i64.extend_i32_s\t$dst, $src", "i64.extend_i32_s",
23 defm I64_EXTEND_U_I32 : I<(outs I64:$dst), (ins I32:$src), (outs), (ins),
24 [(set I64:$dst, (zext I32:$src))],
25 "i64.extend_i32_u\t$dst, $src", "i64.extend_i32_u",
29 defm I32_EXTEND8_S_I32 : I<(outs I32:$dst), (ins I32:$src), (outs), (ins),
[all …]
/openbsd/src/lib/libcurses/tinfo/
Dstrings.c74 _nc_str_init(string_desc * dst, char *src, size_t len) in _nc_str_init() argument
76 if (dst != 0) { in _nc_str_init()
77 dst->s_head = src; in _nc_str_init()
78 dst->s_tail = src; in _nc_str_init()
79 dst->s_size = len - 1; in _nc_str_init()
80 dst->s_init = dst->s_size; in _nc_str_init()
84 return dst; in _nc_str_init()
91 _nc_str_null(string_desc * dst, size_t len) in _nc_str_null() argument
93 return _nc_str_init(dst, 0, len); in _nc_str_null()
100 _nc_str_copy(string_desc * dst, const string_desc * const src) in _nc_str_copy() argument
[all …]
/openbsd/src/gnu/llvm/clang/lib/Headers/
Damxintrin.h86 #define _tile_loadd(dst, base, stride) \ argument
87 __builtin_ia32_tileloadd64((dst), ((const void *)(base)), \
106 #define _tile_stream_loadd(dst, base, stride) \ argument
107 __builtin_ia32_tileloaddt164((dst), ((const void *)(base)), \
124 #define _tile_stored(dst, base, stride) \ argument
125 __builtin_ia32_tilestored64((dst), ((void *)(base)), (__SIZE_TYPE__)(stride))
153 #define _tile_dpbssd(dst, src0, src1) \ argument
154 __builtin_ia32_tdpbssd((dst), (src0), (src1))
172 #define _tile_dpbsud(dst, src0, src1) \ argument
173 __builtin_ia32_tdpbsud((dst), (src0), (src1))
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/MSP430/
DMSP430InstrInfo.td183 def ADDframe : Pseudo<(outs GR16:$dst), (ins i16imm:$base, i16imm:$offset),
189 def Select8 : Pseudo<(outs GR8:$dst), (ins GR8:$src, GR8:$src2, i8imm:$cc),
191 [(set GR8:$dst,
193 def Select16 : Pseudo<(outs GR16:$dst), (ins GR16:$src, GR16:$src2, i8imm:$cc),
195 [(set GR16:$dst,
199 def Shl8 : Pseudo<(outs GR8:$dst), (ins GR8:$src, GR8:$cnt),
201 [(set GR8:$dst, (shl GR8:$src, GR8:$cnt))]>;
202 def Shl16 : Pseudo<(outs GR16:$dst), (ins GR16:$src, GR8:$cnt),
204 [(set GR16:$dst, (shl GR16:$src, GR8:$cnt))]>;
205 def Sra8 : Pseudo<(outs GR8:$dst), (ins GR8:$src, GR8:$cnt),
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/
Dsbitmap.c154 sbitmap_copy (dst, src) in sbitmap_copy() argument
155 sbitmap dst, src; in sbitmap_copy()
157 memcpy (dst->elms, src->elms, sizeof (SBITMAP_ELT_TYPE) * dst->size);
224 sbitmap_union_of_diff_cg (dst, a, b, c) in sbitmap_union_of_diff_cg() argument
225 sbitmap dst, a, b, c; in sbitmap_union_of_diff_cg()
227 unsigned int i, n = dst->size;
228 sbitmap_ptr dstp = dst->elms;
245 sbitmap_union_of_diff (dst, a, b, c) in sbitmap_union_of_diff() argument
246 sbitmap dst, a, b, c; in sbitmap_union_of_diff()
248 unsigned int i, n = dst->size;
[all …]
/openbsd/src/lib/libc/stdlib/
Dgcvt.c35 char *digits, *dst, *src; in gcvt() local
60 dst = buf; in gcvt()
62 *dst++ = '-'; in gcvt()
73 *dst++ = *src++; in gcvt()
75 *dst++ = *lconv->decimal_point; in gcvt()
77 *dst++ = *src++; in gcvt()
80 *dst++ = 'e'; in gcvt()
82 *dst++ = '-'; in gcvt()
84 *dst++ = '+'; in gcvt()
86 *dst++ = '0'; in gcvt()
[all …]
/openbsd/src/usr.sbin/installboot/
Defi_installboot.c198 char dst[PATH_MAX]; in write_filesystem() local
206 strlcpy(dst, "/tmp/installboot.XXXXXXXXXX", sizeof(dst)); in write_filesystem()
207 if (mkdtemp(dst) == NULL) in write_filesystem()
208 err(1, "mkdtemp('%s') failed", dst); in write_filesystem()
209 mntlen = strlen(dst); in write_filesystem()
227 if (mount(MOUNT_MSDOS, dst, 0, &args) == -1) { in write_filesystem()
240 if (mount(MOUNT_MSDOS, dst, 0, &args) == -1) { in write_filesystem()
245 rslt = mount(MOUNT_MSDOS, dst, 0, &args); in write_filesystem()
254 if (strlcat(dst, "/efi", sizeof(dst)) >= sizeof(dst)) { in write_filesystem()
259 rslt = mkdir(dst, 0755); in write_filesystem()
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Encode/t/
Dfallback.t57 my $dst = $ascii->encode($src, FB_DEFAULT);
58 is($dst, $af, "FB_DEFAULT ascii");
62 $dst = $utf8->decode($src, FB_DEFAULT);
63 is($dst, $uf, "FB_DEFAULT utf8");
67 eval{ $dst = $ascii->encode($src, FB_CROAK) };
72 eval{ $dst = $utf8->decode($src, FB_CROAK) };
77 eval{ $dst = $ascii->encode($src, FB_CROAK) };
82 eval{ $dst = $utf8->decode($src, FB_CROAK) };
87 $dst = $ascii->encode($src, FB_QUIET);
88 is($dst, $aq, "FB_QUIET ascii");
[all …]
/openbsd/src/gnu/usr.bin/binutils-2.17/opcodes/
Dmsp430-dis.c95 short dst = 0; in msp430_singleoperand() local
140 dst = msp430dis_opcode (addr + 2, info); in msp430_singleoperand()
143 sprintf (op, "0x%04x", dst); in msp430_singleoperand()
145 PS ((short) (addr + 2) + dst)); in msp430_singleoperand()
150 dst = msp430dis_opcode (addr + 2, info); in msp430_singleoperand()
153 sprintf (op, "&0x%04x", PS (dst)); in msp430_singleoperand()
157 dst = msp430dis_opcode (addr + 2, info); in msp430_singleoperand()
160 sprintf (op, "%d(r%d)", dst, regd); in msp430_singleoperand()
218 dst = msp430dis_opcode (addr + 2, info); in msp430_singleoperand()
220 sprintf (op, "#%d", dst); in msp430_singleoperand()
[all …]
/openbsd/src/bin/csh/
Dstr.c51 Char **sdst, **dst; in blk2short() local
58 sdst = dst = xreallocarray(NULL, n + 1, sizeof(Char *)); in blk2short()
61 *dst++ = SAVE(*src); in blk2short()
62 *dst = NULL; in blk2short()
70 char **sdst, **dst; in short2blk() local
77 sdst = dst = xreallocarray(NULL, n + 1, sizeof(char *)); in short2blk()
80 *dst++ = xstrdup(short2str(*src)); in short2blk()
81 *dst = NULL; in short2blk()
90 Char *dst, *edst; in str2short() local
100 dst = sdst; in str2short()
[all …]

12345678910>>...68