Home
last modified time | relevance | path

Searched full:temp (Results 1 – 25 of 1681) sorted by relevance

12345678910>>...68

/openbsd-src/gnu/usr.bin/perl/ext/Hash-Util-FieldHash/t/
H A D11_hashassign.t28 my @temp = (key=>undef);
29 is ($comma{$temp[0]}, "value", 'is key present? (using LHS of =>)');
31 @temp = %comma;
32 is_deeply (\@comma, \@temp, 'list from comma hash');
34 @temp = each %comma;
35 is_deeply (\@comma, \@temp, 'first each from comma hash');
36 @temp = each %comma;
37 is_deeply ([], \@temp, 'last each from comma hash');
39 my %temp = %comma;
41 ok (keys %temp == 1, 'keys on copy of comma hash');
[all …]
/openbsd-src/sys/dev/pci/drm/i915/display/
H A Dintel_fdi.c287 u32 temp; in cpt_set_fdi_bc_bifurcation() local
289 temp = intel_de_read(dev_priv, SOUTH_CHICKEN1); in cpt_set_fdi_bc_bifurcation()
290 if (!!(temp & FDI_BC_BIFURCATION_SELECT) == enable) in cpt_set_fdi_bc_bifurcation()
300 temp &= ~FDI_BC_BIFURCATION_SELECT; in cpt_set_fdi_bc_bifurcation()
302 temp |= FDI_BC_BIFURCATION_SELECT; in cpt_set_fdi_bc_bifurcation()
306 intel_de_write(dev_priv, SOUTH_CHICKEN1, temp); in cpt_set_fdi_bc_bifurcation()
340 u32 temp; in intel_fdi_normal_train() local
344 temp = intel_de_read(dev_priv, reg); in intel_fdi_normal_train()
346 temp &= ~FDI_LINK_TRAIN_NONE_IVB; in intel_fdi_normal_train()
347 temp |= FDI_LINK_TRAIN_NONE_IVB | FDI_TX_ENHANCE_FRAME_ENABLE; in intel_fdi_normal_train()
[all …]
/openbsd-src/gnu/usr.bin/perl/t/op/
H A Dhashassign.t32 my @temp = (key=>undef);
33 is ($comma{$temp[0]}, "value", 'is key present? (using LHS of =>)');
35 @temp = %comma;
36 ok (eq_array (\@comma, \@temp), 'list from comma hash');
38 @temp = each %comma;
39 ok (eq_array (\@comma, \@temp), 'first each from comma hash');
40 @temp = each %comma;
41 ok (eq_array ([], \@temp), 'last each from comma hash');
43 my %temp = %comma;
45 ok (keys %temp == 1, 'keys on copy of comma hash');
[all …]
/openbsd-src/gnu/gcc/gcc/config/pa/
H A Dmilli64.S289 RDEFINE(temp,r1)
314 ldo -1(arg1),temp /* is there at most one bit set ? */
315 and,<> arg1,temp,r0 /* if not, don't use power of 2 divide */
320 add arg0,temp,retreg /* (denominaotr -1) to correct for shifts */
321 extru,= arg1,15,16,temp /* test denominator with 0xffff0000 */
323 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 16) */
325 extru,= arg1,23,8,temp /* test denominator with 0xff00 */
327 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 8) */
328 ldi 0xaa,temp /* setup 0xaa in temp */
333 and,= arg1,temp,r0 /* test denominator with 0xaa */
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/config/pa/
H A Dmilli64.S270 RDEFINE(temp,r1)
295 ldo -1(arg1),temp /* is there at most one bit set ? */
296 and,<> arg1,temp,r0 /* if not, don't use power of 2 divide */
301 add arg0,temp,retreg /* (denominaotr -1) to correct for shifts */
302 extru,= arg1,15,16,temp /* test denominator with 0xffff0000 */
304 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 16) */
306 extru,= arg1,23,8,temp /* test denominator with 0xff00 */
308 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 8) */
309 ldi 0xaa,temp /* setup 0xaa in temp */
314 and,= arg1,temp,r0 /* test denominator with 0xaa */
[all …]
/openbsd-src/sys/lib/libkern/arch/hppa/
H A Dmilli.S458 temp: .EQU r1 label
478 sub r0,arg1,temp ; clear carry, negate the divisor
479 ds r0,temp,r0 ; set V-bit to 1
482 ds r0,arg1,temp ; 1st divide step, if no carry
484 ds temp,arg1,temp ; 2nd divide step
486 ds temp,arg1,temp ; 3rd divide step
488 ds temp,arg1,temp ; 4th divide step
490 ds temp,arg1,temp ; 5th divide step
492 ds temp,arg1,temp ; 6th divide step
494 ds temp,arg1,temp ; 7th divide step
[all …]
/openbsd-src/gnu/usr.bin/texinfo/makeinfo/
H A Dfloat.c89 FLOAT_ELT *temp = float_stack; in count_floats_of_type_in_chapter() local
91 while (temp && strncmp (temp->number, chapter, l) == 0) in count_floats_of_type_in_chapter()
93 if (strlen (temp->id) > 0 && STREQ (text_expansion (temp->type), type)) in count_floats_of_type_in_chapter()
95 temp = temp->next; in count_floats_of_type_in_chapter()
140 FLOAT_ELT *temp = float_stack; in get_float_ref() local
142 while (temp) in get_float_ref()
144 if (STREQ (id, temp->id)) in get_float_ref()
146 char *s = xmalloc (strlen (temp->type) + strlen (temp->number) + 2); in get_float_ref()
147 sprintf (s, "%s %s", temp->type, temp->number); in get_float_ref()
150 temp = temp->next; in get_float_ref()
[all …]
H A Dsectioning.c182 char *temp; in what_section() local
207 temp = xmalloc (1 + j); in what_section()
208 strncpy (temp, text, j); in what_section()
209 temp[j] = 0; in what_section()
211 index = search_sectioning (temp); in what_section()
212 free (temp); in what_section()
322 char *temp, *secname; in sectioning_underscore() local
330 temp = xmalloc (2 + strlen (cmd)); in sectioning_underscore()
331 temp[0] = COMMAND_PREFIX; in sectioning_underscore()
332 strcpy (&temp[1], cmd); in sectioning_underscore()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/File-Temp/t/
H A Dobject.t2 # Test for File::Temp - OO interface
31 # the ones that File::Temp configures since END blocks are evaluated
32 # in reverse order and we need to check the files *after* File::Temp
34 BEGIN {use_ok( "File::Temp" ); }
37 eval { File::Temp->tempfile };
38 like( $@, qr/can't be called as a method/, "File::Temp->tempfile error" );
39 eval { File::Temp->tempdir };
40 like( $@, qr/can't be called as a method/, "File::Temp->tempfile error" );
44 my $fh = File::Temp->new( SUFFIX => '.txt' );
54 my $tdir = File::Temp->newdir();
[all …]
H A Dsecurity.t2 # Test for File::Temp - Security levels
14 # File::Temp since this END block must be evaluated after the
15 # END block configured by File::Temp
19 use File::Temp qw/ tempfile unlink0 /;
43 File::Temp->safe_level( File::Temp::STANDARD );
54 File::Temp->safe_level( File::Temp::MEDIUM );
63 File::Temp->safe_level( File::Temp::HIGH );
73 # one is opened in the current dir and the other in the temp dir
80 DIR => File::Temp::_wrap_file_spec_tmpdir(),
90 } elsif (File::Temp->safe_level() != File::Temp::STANDARD) {
[all …]
H A Dseekable.t3 # `make test'. After `make install' it should work as `perl File-Temp.t'
10 BEGIN { use_ok('File::Temp') };
18 $tmp = File::Temp->new;
19 isa_ok( $tmp, 'File::Temp' );
30 ok( File::Temp->can('seek'), 'tmp can seek' );
34 ok( File::Temp->can('print'), 'tmp can print' );
37 $c = scalar @File::Temp::EXPORT;
38 $l = join ' ', @File::Temp::EXPORT;
41 ok(defined eval { SEEK_SET() }, 'SEEK_SET defined by File::Temp') or diag $@;
42 ok(defined eval { SEEK_END() }, 'SEEK_END defined by File::Temp') or diag $@;
[all …]
H A Dtempfile.t2 # Test for File::Temp - tempfile function
33 # the ones that File::Temp configures since END blocks are evaluated
34 # in revers order and we need to check the files *after* File::Temp
36 use File::Temp qw/ tempfile tempdir/;
57 # Create temp directory in current dir
80 # Create file in the temp dir
89 ok( (-f $tempfile), "Local temp file exists with .dat extension");
162 ok( -f $tempfile, "Long-lived temp file" );
163 ok( close( $fh ), "Close long-lived temp file" );
166 # Would like to create a temp file and just retrieve the handle
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/config/
H A Ddarwin.c81 tree temp; local
97 for (temp = machopic_defined_list;
98 temp != NULL_TREE;
99 temp = TREE_CHAIN (temp))
101 if (ident == TREE_VALUE (temp))
133 for (temp = machopic_defined_list; temp != NULL_TREE; temp = TREE_CHAIN (temp))
135 if (ident == TREE_VALUE (temp))
267 tree temp, ident = get_identifier (name); local
269 for (temp = machopic_non_lazy_pointers;
270 temp != NULL_TREE;
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20010122-1.c16 void * temp; in test1() local
17 temp = __builtin_return_address (0); in test1()
18 return temp; in test1()
23 void * temp; in test2() local
25 temp = __builtin_return_address (0); in test2()
26 return temp; in test2()
31 void * temp; in test3() local
32 temp = __builtin_return_address (0); in test3()
34 return temp; in test3()
46 void * temp; in test4a() local
[all …]
/openbsd-src/gnu/usr.bin/perl/dist/Env/lib/
H A DEnv.pm141 my @temp = split($sep, $ENV{$$self});
142 $#temp = $size - 1;
143 $ENV{$$self} = join($sep, @temp);
158 my @temp = split($sep, $ENV{$$self});
159 $temp[$index] = $value;
160 $ENV{$$self} = join($sep, @temp);
171 my @temp = split($sep, $ENV{$$self});
172 my $value = splice(@temp, $index, 1, ());
173 $ENV{$$self} = join($sep, @temp);
179 my @temp = split($sep, $ENV{$$self});
[all …]
/openbsd-src/games/sail/
H A Ddr_2.c137 char temp[10]; in closeon() local
139 temp[0] = command[0] = '\0'; in closeon()
141 try(command, commandl, temp, sizeof temp, ma, ta, af, ma, from->file->dir, in closeon()
221 try(char command[], size_t commandl, char temp[], size_t templ, int ma, int ta, in try() argument
229 if ((n = str_end(temp)) < '1' || n > '9') in try()
232 (void) strlcat(temp, st, templ); in try()
233 new = score(temp, templ, f, t, rakeme); in try()
236 (void) strlcpy(command, temp, commandl); in try()
238 try(command, commandl, temp, templ, ma-n, ta, af, vma-n, in try()
240 rmend(temp); in try()
[all …]
/openbsd-src/lib/libedit/
H A Dfilecomplete.c66 char *temp; in fn_tilde_expand() local
73 temp = strchr(txt + 1, '/'); in fn_tilde_expand()
74 if (temp == NULL) { in fn_tilde_expand()
75 temp = strdup(txt + 1); in fn_tilde_expand()
76 if (temp == NULL) in fn_tilde_expand()
79 len = temp - txt + 1; /* text until string after slash */ in fn_tilde_expand()
80 temp = malloc(len); in fn_tilde_expand()
81 if (temp == NULL) in fn_tilde_expand()
83 (void)strncpy(temp, txt + 1, len - 2); in fn_tilde_expand()
84 temp[len - 2] = '\0'; in fn_tilde_expand()
[all …]
/openbsd-src/games/monop/
H A Dhouses.c113 shrt input[3],temp[3]; in buy_h() local
142 temp[i] = 5; in buy_h()
148 temp[i] = input[i] + pp->houses; in buy_h()
149 if (temp[i] > 5 || temp[i] < 0) { in buy_h()
155 if (mp->num_in == 3 && (abs(temp[0] - temp[1]) > 1 || in buy_h()
156 abs(temp[0] - temp[2]) > 1 || abs(temp[1] - temp[2]) > 1)) { in buy_h()
160 else if (mp->num_in == 2 && abs(temp[0] - temp[1]) > 1) in buy_h()
163 if (temp[i] == 5 && input[i]) in buy_h()
191 mp->sq[i]->desc->houses = temp[i]; in buy_h()
248 shrt input[3],temp[3]; in sell_h() local
[all …]
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Djv-lang.c208 struct value *temp = name; in get_java_utf8_name() local
211 temp = value_struct_elt (&temp, NULL, "length", NULL, "structure"); in get_java_utf8_name()
212 name_length = (int) value_as_long (temp); in get_java_utf8_name()
213 data_addr = VALUE_ADDRESS (temp) + VALUE_OFFSET (temp) in get_java_utf8_name()
214 + TYPE_LENGTH (VALUE_TYPE (temp)); in get_java_utf8_name()
253 struct value *temp; in type_from_class() local
285 temp = clas; in type_from_class()
286 sig = value_struct_elt (&temp, NULL, "method_count", NULL, "structure"); in type_from_class()
292 temp = clas; in type_from_class()
293 utf8_name = value_struct_elt (&temp, NULL, "name", NULL, "structure"); in type_from_class()
[all …]
/openbsd-src/gnu/usr.bin/texinfo/info/
H A Dfilesys.c86 char *temp; in info_find_fullpath() local
105 temp = info_absolute_file (partial); in info_find_fullpath()
111 temp = info_absolute_file (expansion); in info_find_fullpath()
115 temp = expansion; in info_find_fullpath()
136 temp = info_absolute_file (local_temp_filename); /* try extensions */ in info_find_fullpath()
137 if (!temp) in info_find_fullpath()
141 temp = info_file_in_path (partial, infopath); in info_find_fullpath()
143 if (temp) in info_find_fullpath()
145 remember_info_filename (partial, temp); in info_find_fullpath()
146 if (strlen (temp) > (unsigned int) local_temp_filename_size) in info_find_fullpath()
[all …]
/openbsd-src/gnu/lib/libreadline/
H A Dhistexpand.c137 char *temp; local
231 temp = (char *)xmalloc (1 + which);
233 strncpy (temp, string + local_index, which);
234 temp[which] = '\0';
243 history_offset = history_length; free (temp) ; return (char *)NULL; \
248 if (*temp == '\0' && substring_okay)
252 free (temp);
253 temp = savestring (search_string);
262 local_index = (*search_func) (temp, -1);
277 search_string = temp;
[all …]
/openbsd-src/usr.sbin/tcpdump/
H A Dparsenfsfh.c105 u_int32_t temp; in Parse_fh() local
217 temp = make_uint32(fhp[12], fhp[13], fhp[14], fhp[15]); in Parse_fh()
218 *inop = temp; in Parse_fh()
228 temp = make_uint32(fhp[3], fhp[2], fhp[1], fhp[0]); in Parse_fh()
229 fsidp->Fsid_dev.Minor = temp & 0xFFFFF; in Parse_fh()
230 fsidp->Fsid_dev.Major = (temp>>20) & 0xFFF; in Parse_fh()
232 temp = make_uint32(fhp[15], fhp[14], fhp[13], fhp[12]); in Parse_fh()
233 *inop = temp; in Parse_fh()
243 temp = make_uint32(fhp[8], fhp[9], fhp[10], fhp[11]); in Parse_fh()
244 *inop = temp; in Parse_fh()
[all …]
/openbsd-src/gnu/usr.bin/cvs/src/
H A Dmkmodules.c16 static int checkout_file PROTO((char *file, char *temp));
18 static void rename_rcsfile PROTO((char *temp, char *real));
21 static void rename_dbmfile PROTO((char *temp));
22 static void write_dbmfile PROTO((char *temp));
387 char *temp; local
409 temp = make_tempfile ();
410 switch (checkout_file (CVSROOTADM_MODULES, temp))
416 if ((db = dbm_open (temp, O_RDONLY, 0666)) != NULL)
419 write_dbmfile (temp);
420 rename_dbmfile (temp);
[all …]
/openbsd-src/sys/dev/ic/
H A Dsmc93cx6.c101 u_int32_t temp; in read_seeprom() local
109 temp = sd->sd_MS ^ sd->sd_CS; in read_seeprom()
110 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in read_seeprom()
119 temp ^= sd->sd_DO; in read_seeprom()
120 SEEPROM_OUTB(sd, temp); in read_seeprom()
122 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in read_seeprom()
125 temp ^= sd->sd_DO; in read_seeprom()
130 temp ^= sd->sd_DO; in read_seeprom()
131 SEEPROM_OUTB(sd, temp); in read_seeprom()
133 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in read_seeprom()
[all …]
/openbsd-src/gnu/lib/libiberty/src/testsuite/
H A Dtest-pexecute.c236 remove ("temp.x"); in main()
237 remove ("temp.y"); in main()
266 TEST_PEX_RUN (pex1, PEX_LAST, "./test-pexecute", subargv, NULL, "temp.z"); in main()
271 remove ("temp.z"); in main()
273 pex1 = TEST_PEX_INIT (PEX_USE_PIPES, "temp"); in main()
284 pex1 = TEST_PEX_INIT (PEX_USE_PIPES, "temp"); in main()
299 if (fopen ("temp.x", "r") != NULL || fopen ("temp.y", "r") != NULL) in main()
302 pex1 = TEST_PEX_INIT (0, "temp"); in main()
317 if (fopen ("temp.x", "r") != NULL || fopen ("temp.y", "r") != NULL) in main()
320 pex1 = TEST_PEX_INIT (PEX_SAVE_TEMPS, "temp"); in main()
[all …]

12345678910>>...68