Searched refs:tempbuf (Results 1 - 23 of 23) sorted by relevance

/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/rand/
H A Drand_egd.c65 unsigned char tempbuf[255];
67 if (bytes > (int)sizeof(tempbuf))
112 tempbuf[0] = 1;
113 tempbuf[1] = bytes;
114 if (fwrite(tempbuf, sizeof(char), 2, fp) != 2 || fflush(fp) == EOF)
116 if (fread(tempbuf, sizeof(char), 1, fp) != 1 || tempbuf[0] == 0)
118 numbytes = tempbuf[0];
123 buf = tempbuf;
131 RAND_add(tempbuf,
[all...]
/netbsd-current/sys/arch/hpcmips/stand/pbsdboot/
H A Dpreference.c182 char tempbuf[1024]; local
226 tempbuf[i] = c;
244 tempbuf[i] = '\0';
245 length = MultiByteToWideChar(CP_ACP,0,tempbuf,-1,identif,0);
246 MultiByteToWideChar(CP_ACP,0,tempbuf,-1,identif,length);
262 tempbuf[i] = c;
270 tempbuf[i] = '\0';
271 length = MultiByteToWideChar(CP_ACP,0,tempbuf,-1,unidata,0);
272 MultiByteToWideChar(CP_ACP,0,tempbuf,-1,unidata,length);
469 char tempbuf[102 local
[all...]
H A Dmain.c698 TCHAR tempbuf[PATHBUFLEN]; local
716 wsprintf(tempbuf, TEXT("%d"), boot_times[i]);
718 0, (LPARAM)tempbuf);
722 wsprintf(tempbuf,TEXT("%d"),pref.boot_time);
723 SetDlgItemText(hWnd,IDC_BOOT_TIME,tempbuf);
726 wsprintf(tempbuf, TEXT("%d"), boot_times[0]);
728 0, (LPARAM)tempbuf);
792 GetDlgItemText(hWnd,IDC_BOOT_TIME,tempbuf,PATHBUFLEN);
793 pref.boot_time = _wtoi(tempbuf);
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/rand/
H A Drand_egd.c114 unsigned char tempbuf[255]; local
116 if (bytes > (int)sizeof(tempbuf))
177 tempbuf[0] = 1;
178 tempbuf[1] = bytes;
179 if (fwrite(tempbuf, sizeof(char), 2, fp) != 2 || fflush(fp) == EOF)
181 if (fread(tempbuf, sizeof(char), 1, fp) != 1 || tempbuf[0] == 0)
183 numbytes = tempbuf[0];
188 buf = tempbuf;
196 RAND_add(tempbuf,
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dgo-lang.c357 auto_obstack tempbuf;
364 obstack_grow_str (&tempbuf, "(*");
365 obstack_grow_str (&tempbuf, method_type_package_name);
366 obstack_grow_str (&tempbuf, ".");
367 obstack_grow_str (&tempbuf, method_type_object_name);
369 obstack_grow_str (&tempbuf, ")");
370 obstack_grow_str (&tempbuf, ".");
371 obstack_grow_str (&tempbuf, object_name);
375 obstack_grow_str (&tempbuf, package_name);
376 obstack_grow_str (&tempbuf, "
[all...]
H A Dp-exp.y1060 static char *tempbuf;
1259 /* Build the gdb internal form of the input string in tempbuf,
1276 tempbuf = (char *) realloc (tempbuf, tempbufsize += 64);
1292 tempbuf[tempbufindex++] = c;
1295 tempbuf[tempbufindex++] = *tokptr++;
1303 tempbuf[tempbufindex] = '\0'; /* See note above. */
1304 yylval.sval.ptr = tempbuf;
1492 tempbuf = (char *) realloc (tempbuf, namele
[all...]
H A Df-exp.y1333 static char *tempbuf; /* Current buffer contents */
1358 if (tempbuf == NULL)
1359 tempbuf = (char *) malloc (tempbufsize);
1361 tempbuf = (char *) realloc (tempbuf, tempbufsize);
1388 tempbuf[tempbufindex++] = *tokptr;
1395 tempbuf[tempbufindex] = '\0';
1396 yylval.sval.ptr = tempbuf;
H A Dd-exp.y861 static struct obstack tempbuf;
877 /* Build the gdb internal form of the input string in tempbuf. Note
889 obstack_free (&tempbuf, NULL);
890 obstack_init (&tempbuf);
904 *host_chars += c_parse_escape (&tokptr, &tempbuf);
910 obstack_1grow (&tempbuf, c);
935 value->ptr = (char *) obstack_base (&tempbuf);
936 value->length = obstack_object_size (&tempbuf);
H A Dgo-exp.y829 static struct obstack tempbuf;
845 /* Build the gdb internal form of the input string in tempbuf. Note
857 obstack_free (&tempbuf, NULL);
858 obstack_init (&tempbuf);
872 *host_chars += c_parse_escape (&tokptr, &tempbuf);
878 obstack_1grow (&tempbuf, c);
897 value->ptr = (char *) obstack_base (&tempbuf);
898 value->length = obstack_object_size (&tempbuf);
H A Dnto-procfs.c947 gdb_byte *const tempbuf = alloca (sizeof_tempbuf); local
949 if (tempbuf == NULL)
960 tempread = nto_read_auxv_from_initial_stack (initial_stack, tempbuf,
964 memcpy (readbuf, tempbuf + offset, tempread);
H A Dc-exp.y2164 static struct obstack tempbuf;
2346 /* Build the gdb internal form of the input string in tempbuf. Note
2358 obstack_free (&tempbuf, NULL);
2359 obstack_init (&tempbuf);
2401 *host_chars += c_parse_escape (&tokptr, &tempbuf);
2407 obstack_1grow (&tempbuf, c);
2426 value->ptr = (char *) obstack_base (&tempbuf);
2427 value->length = obstack_object_size (&tempbuf);
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dgo-lang.c339 struct obstack tempbuf; local
359 obstack_init (&tempbuf);
366 obstack_grow_str (&tempbuf, "(*");
367 obstack_grow_str (&tempbuf, method_type_package_name);
368 obstack_grow_str (&tempbuf, ".");
369 obstack_grow_str (&tempbuf, method_type_object_name);
371 obstack_grow_str (&tempbuf, ")");
372 obstack_grow_str (&tempbuf, ".");
373 obstack_grow_str (&tempbuf, object_name);
377 obstack_grow_str (&tempbuf, package_nam
[all...]
H A Dp-exp.y1134 static char *tempbuf;
1333 /* Build the gdb internal form of the input string in tempbuf,
1350 tempbuf = (char *) realloc (tempbuf, tempbufsize += 64);
1366 tempbuf[tempbufindex++] = c;
1369 tempbuf[tempbufindex++] = *tokptr++;
1377 tempbuf[tempbufindex] = '\0'; /* See note above. */
1378 yylval.sval.ptr = tempbuf;
1577 tempbuf = (char *) realloc (tempbuf, namele
[all...]
H A Df-exp.y994 static char *tempbuf; /* Current buffer contents */
1019 if (tempbuf == NULL)
1020 tempbuf = (char *) malloc (tempbufsize);
1022 tempbuf = (char *) realloc (tempbuf, tempbufsize);
1049 tempbuf[tempbufindex++] = *tokptr;
1056 tempbuf[tempbufindex] = '\0';
1057 yylval.sval.ptr = tempbuf;
H A Dd-exp.y870 static struct obstack tempbuf;
886 /* Build the gdb internal form of the input string in tempbuf. Note
898 obstack_free (&tempbuf, NULL);
899 obstack_init (&tempbuf);
913 *host_chars += c_parse_escape (&tokptr, &tempbuf);
919 obstack_1grow (&tempbuf, c);
944 value->ptr = (char *) obstack_base (&tempbuf);
945 value->length = obstack_object_size (&tempbuf);
H A Dgo-exp.y861 static struct obstack tempbuf;
877 /* Build the gdb internal form of the input string in tempbuf. Note
889 obstack_free (&tempbuf, NULL);
890 obstack_init (&tempbuf);
904 *host_chars += c_parse_escape (&tokptr, &tempbuf);
910 obstack_1grow (&tempbuf, c);
929 value->ptr = (char *) obstack_base (&tempbuf);
930 value->length = obstack_object_size (&tempbuf);
H A Dnto-procfs.c969 gdb_byte *const tempbuf = alloca (sizeof_tempbuf); local
971 if (tempbuf == NULL)
982 tempread = nto_read_auxv_from_initial_stack (initial_stack, tempbuf,
986 memcpy (readbuf, tempbuf + offset, tempread);
H A Dc-exp.y2158 static struct obstack tempbuf;
2340 /* Build the gdb internal form of the input string in tempbuf. Note
2352 obstack_free (&tempbuf, NULL);
2353 obstack_init (&tempbuf);
2395 *host_chars += c_parse_escape (&tokptr, &tempbuf);
2401 obstack_1grow (&tempbuf, c);
2420 value->ptr = (char *) obstack_base (&tempbuf);
2421 value->length = obstack_object_size (&tempbuf);
/netbsd-current/external/gpl3/binutils/dist/libsframe/
H A Dsframe.c861 char *tempbuf = NULL; local
896 tempbuf = (char *) malloc (sf_size * sizeof (char));
897 if (tempbuf == NULL)
899 memcpy (tempbuf, sf_buf, sf_size);
902 sframe_header *ihp = (sframe_header *) tempbuf;
905 if (flip_sframe (tempbuf, sf_size, 0))
907 free (tempbuf);
910 frame_buf = tempbuf;
914 dctx->sfd_buf = tempbuf;
963 if (foreign_endian && tempbuf !
[all...]
/netbsd-current/external/gpl3/gdb/dist/libsframe/
H A Dsframe.c777 char *tempbuf = NULL; local
812 tempbuf = (char *) malloc (sf_size * sizeof (char));
813 if (tempbuf == NULL)
815 memcpy (tempbuf, sf_buf, sf_size);
818 sframe_header *ihp = (sframe_header *) tempbuf;
821 if (flip_sframe (tempbuf, sf_size, 0))
823 free (tempbuf);
826 frame_buf = tempbuf;
875 if (foreign_endian && tempbuf != NULL)
876 free (tempbuf);
[all...]
/netbsd-current/external/gpl2/rcs/dist/src/
H A Drcsfnms.c693 static struct buf tempbuf; local
728 bufscpy(&tempbuf, base);
729 workname = p = tempbuf.string;
/netbsd-current/external/ibm-public/postfix/dist/src/dns/
H A Ddns_lookup.c744 char *tempbuf = temp; local
850 tempbuf = (char *) pos;
878 tempbuf = (char *) soa_buf;
883 fixed->ttl, pref, weight, port, tempbuf, data_len);
/netbsd-current/sys/netinet/
H A Dsctp_output.c2914 char tempbuf[2048]; local
3007 phdr = sctp_get_next_param(mat, at, (struct sctp_paramhdr *)tempbuf, plen);
3061 if (plen > sizeof(tempbuf)) {
3062 plen = sizeof(tempbuf);
3064 phdr = sctp_get_next_param(mat, at, (struct sctp_paramhdr *)tempbuf, plen);

Completed in 257 milliseconds