| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | hashassign.t | 32 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/sys/dev/pci/drm/i915/display/ |
| H A D | intel_fdi.c | 287 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/texinfo/makeinfo/ |
| H A D | float.c | 89 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 D | sectioning.c | 182 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/ext/Hash-Util-FieldHash/t/ |
| H A D | 11_hashassign.t | 28 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/gnu/usr.bin/perl/dist/Env/lib/ |
| H A D | Env.pm | 141 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/gnu/usr.bin/cvs/src/ |
| H A D | mkmodules.c | 16 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/gnu/gcc/gcc/config/pa/ |
| H A D | milli64.S | 289 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 D | milli64.S | 270 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/gnu/usr.bin/texinfo/info/ |
| H A D | filesys.c | 86 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/usr.bin/gcc/gcc/config/ |
| H A D | darwin.c | 81 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/intl/ |
| H A D | Makefile.in | 164 sed -f ref-add.sed $$orig > $$temp; \ 165 $(INSTALL_DATA) $$temp $$dest; \ 166 rm -f $$temp; \ 170 sed -f ref-add.sed $$orig > $$temp; \ 171 $(INSTALL_DATA) $$temp $$dest; \ 172 rm -f $$temp; \ 181 sed -f ref-add.sed $$orig > $$temp; \ 182 $(INSTALL_DATA) $$temp $$dest; \ 183 rm -f $$temp; \ 228 sed -f ref-del.sed $$dest > $$temp; \ [all …]
|
| /openbsd-src/usr.sbin/tcpdump/ |
| H A D | parsenfsfh.c | 105 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/lib/libedit/ |
| H A D | filecomplete.c | 66 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/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
| H A D | 20010122-1.c | 16 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/sys/dev/ic/ |
| H A D | smc93cx6.c | 101 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/lib/libm/src/ |
| H A D | e_jn.c | 53 double a, b, temp, di; in jn() local 91 case 0: temp = cos(x)+sin(x); break; in jn() 92 case 1: temp = -cos(x)+sin(x); break; in jn() 93 case 2: temp = -cos(x)-sin(x); break; in jn() 94 case 3: temp = cos(x)-sin(x); break; in jn() 96 b = invsqrtpi*temp/sqrt(x); in jn() 101 temp = b; in jn() 103 a = temp; in jn() 114 temp = x*0.5; b = temp; in jn() 117 b *= temp; /* b = (x/2)^n */ in jn() [all …]
|
| /openbsd-src/gnu/lib/libreadline/ |
| H A D | histexpand.c | 137 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 …]
|
| H A D | misc.c | 237 HIST_ENTRY *temp; in rl_maybe_replace_line() local 239 temp = current_history (); in rl_maybe_replace_line() 241 if (temp && ((UNDO_LIST *)(temp->data) != rl_undo_list)) in rl_maybe_replace_line() 243 temp = replace_history_entry (where_history (), rl_line_buffer, (histdata_t)rl_undo_list); in rl_maybe_replace_line() 244 free (temp->line); in rl_maybe_replace_line() 245 free (temp); in rl_maybe_replace_line() 358 HIST_ENTRY *temp; local 372 temp = (HIST_ENTRY *)NULL; 375 temp = next_history (); 376 if (!temp) [all …]
|
| /openbsd-src/games/monop/ |
| H A D | houses.c | 113 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/texinfo/intl/ |
| H A D | Makefile.in | 291 sed -f ref-add.sed $$orig > $$temp; \ 292 $(INSTALL_DATA) $$temp $$dest; \ 293 rm -f $$temp; \ 297 sed -f ref-add.sed $$orig > $$temp; \ 298 $(INSTALL_DATA) $$temp $$dest; \ 299 rm -f $$temp; \ 308 sed -f ref-add.sed $$orig > $$temp; \ 309 $(INSTALL_DATA) $$temp $$dest; \ 310 rm -f $$temp; \ 388 sed -f ref-del.sed $$dest > $$temp; \ [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Math-BigInt-FastCalc/ |
| H A D | FastCalc.xs | 146 SV* temp; 166 temp = *av_fetch(a, index, 0); /* fetch ptr to current element */ 167 if (SvNV(temp) != 0) 191 SV* temp; 205 temp = *av_fetch(a, index, 0); /* fetch ptr to current element */ 206 sv_setnv (temp, SvNV(temp)-1); /* decrement */ 207 if (SvNV(temp) >= 0) 211 sv_setnv (temp, MAX); /* overflow, so set this to $MAX */ 218 temp = *av_fetch(a, elems, 0); /* fetch last element */ 219 if (SvIV(temp) == 0) /* did last elem overflow? */ [all …]
|
| /openbsd-src/gnu/lib/libreadline/examples/ |
| H A D | rltest.c | 46 char *temp, *prompt; in main() local 49 temp = (char *)NULL; in main() 55 temp = readline (prompt); in main() 58 if (!temp) in main() 62 if (*temp) in main() 64 fprintf (stderr, "%s\r\n", temp); in main() 65 add_history (temp); in main() 69 if (strcmp (temp, "quit") == 0) in main() 72 if (strcmp (temp, "list") == 0) in main() 84 free (temp); in main()
|
| /openbsd-src/games/sail/ |
| H A D | dr_2.c | 137 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/gnu/usr.bin/perl/ext/ExtUtils-Miniperl/lib/ExtUtils/ |
| H A D | Miniperl.pm | 11 my $temp; 14 return if !defined $temp || !-e $temp; 15 unlink $temp or warn "Can't unlink '$temp': $!"; 23 $temp = $real; 24 $temp =~ s/(?:.c)?\z/.new/; 25 open $fh, '>', $temp 26 or die "Can't open '$temp' for writing: $!"; 190 close $fh or die "Can't close '$temp' [all...] |