Searched refs:res_buf (Results 1 - 25 of 40) sorted by relevance

12

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/
H A Dtpm.h32 extern int tpm_pcr_read(u32 chip_num, int pcr_idx, u8 *res_buf);
35 static inline int tpm_pcr_read(u32 chip_num, int pcr_idx, u8 *res_buf) { argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/
H A Dtpm.h32 extern int tpm_pcr_read(u32 chip_num, int pcr_idx, u8 *res_buf);
35 static inline int tpm_pcr_read(u32 chip_num, int pcr_idx, u8 *res_buf) { argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/libbb/
H A Dget_line_from_file.c92 char *res_buf = NULL;
95 if (getline(&res_buf, &res_sz, file) == -1) {
96 free(res_buf); /* uclibc allocates a buffer even on EOF. WTF? */
97 res_buf = NULL;
100 return res_buf;
105 char *res_buf = NULL;
108 res_sz = getline(&res_buf, &res_sz, file);
111 if (res_buf[res_sz - 1] == '\n')
112 res_buf[--res_sz] = '\0';
115 free(res_buf); /* uclib
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/libbb/
H A Dget_line_from_file.c92 char *res_buf = NULL;
95 if (getline(&res_buf, &res_sz, file) == -1) {
96 free(res_buf); /* uclibc allocates a buffer even on EOF. WTF? */
97 res_buf = NULL;
100 return res_buf;
105 char *res_buf = NULL;
108 res_sz = getline(&res_buf, &res_sz, file);
111 if (res_buf[res_sz - 1] == '\n')
112 res_buf[--res_sz] = '\0';
115 free(res_buf); /* uclib
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/libbb/
H A Dget_line_from_file.c92 char *res_buf = NULL;
95 if (getline(&res_buf, &res_sz, file) == -1) {
96 free(res_buf); /* uclibc allocates a buffer even on EOF. WTF? */
97 res_buf = NULL;
100 return res_buf;
105 char *res_buf = NULL;
108 res_sz = getline(&res_buf, &res_sz, file);
111 if (res_buf[res_sz - 1] == '\n')
112 res_buf[--res_sz] = '\0';
115 free(res_buf); /* uclib
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/miniupnpd/
H A Dupnphttp.c190 if(h->res_buf)
191 free(h->res_buf);
498 if(!h->res_buf) {
499 h->res_buf = malloc(256);
502 h->res_buflen = snprintf(h->res_buf, h->res_buf_alloclen,
1035 if(!h->res_buf ||
1037 if(h->res_buf)
1038 free(h->res_buf);
1040 h->res_buf = (char *)malloc(templen);
1041 if(!h->res_buf) {
[all...]
H A Dupnphttp.h91 char * res_buf; member in struct:upnphttp
149 * fill the res_buf buffer with the complete
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/miniupnpd/
H A Dupnphttp.c190 if(h->res_buf)
191 free(h->res_buf);
498 if(!h->res_buf) {
499 h->res_buf = malloc(256);
502 h->res_buflen = snprintf(h->res_buf, h->res_buf_alloclen,
1035 if(!h->res_buf ||
1037 if(h->res_buf)
1038 free(h->res_buf);
1040 h->res_buf = (char *)malloc(templen);
1041 if(!h->res_buf) {
[all...]
H A Dupnphttp.h91 char * res_buf; member in struct:upnphttp
149 * fill the res_buf buffer with the complete
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/miniupnpd/
H A Dupnphttp.c190 if(h->res_buf)
191 free(h->res_buf);
498 if(!h->res_buf) {
499 h->res_buf = malloc(256);
502 h->res_buflen = snprintf(h->res_buf, h->res_buf_alloclen,
1035 if(!h->res_buf ||
1037 if(h->res_buf)
1038 free(h->res_buf);
1040 h->res_buf = (char *)malloc(templen);
1041 if(!h->res_buf) {
[all...]
H A Dupnphttp.h91 char * res_buf; member in struct:upnphttp
149 * fill the res_buf buffer with the complete
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/minidlna/
H A Dupnphttp.h104 char * res_buf; member in struct:upnphttp
160 * fill the res_buf buffer with the complete
H A Dupnphttp.c138 free(h->res_buf);
1156 if(!h->res_buf)
1159 h->res_buf = (char *)malloc(templen);
1162 res.data = h->res_buf;
1191 h->res_buf = (char *)realloc(h->res_buf, (h->res_buflen + bodylen));
1205 memcpy(h->res_buf + h->res_buflen, body, bodylen);
1220 DPRINTF(E_DEBUG, L_HTTP, "HTTP RESPONSE: %.*s\n", h->res_buflen, h->res_buf);
1221 n = send(h->socket, h->res_buf, h->res_buflen, 0);
1224 DPRINTF(E_ERROR, L_HTTP, "send(res_buf)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/minidlna/
H A Dupnphttp.h104 char * res_buf; member in struct:upnphttp
160 * fill the res_buf buffer with the complete
H A Dupnphttp.c138 free(h->res_buf);
1156 if(!h->res_buf)
1159 h->res_buf = (char *)malloc(templen);
1162 res.data = h->res_buf;
1191 h->res_buf = (char *)realloc(h->res_buf, (h->res_buflen + bodylen));
1205 memcpy(h->res_buf + h->res_buflen, body, bodylen);
1220 DPRINTF(E_DEBUG, L_HTTP, "HTTP RESPONSE: %.*s\n", h->res_buflen, h->res_buf);
1221 n = send(h->socket, h->res_buf, h->res_buflen, 0);
1224 DPRINTF(E_ERROR, L_HTTP, "send(res_buf)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/minidlna/
H A Dupnphttp.h104 char * res_buf; member in struct:upnphttp
160 * fill the res_buf buffer with the complete
H A Dupnphttp.c138 free(h->res_buf);
1156 if(!h->res_buf)
1159 h->res_buf = (char *)malloc(templen);
1162 res.data = h->res_buf;
1191 h->res_buf = (char *)realloc(h->res_buf, (h->res_buflen + bodylen));
1205 memcpy(h->res_buf + h->res_buflen, body, bodylen);
1220 DPRINTF(E_DEBUG, L_HTTP, "HTTP RESPONSE: %.*s\n", h->res_buflen, h->res_buf);
1221 n = send(h->socket, h->res_buf, h->res_buflen, 0);
1224 DPRINTF(E_ERROR, L_HTTP, "send(res_buf)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant-0.7.3/src/drivers/
H A Ddriver_wext.c920 u8 *res_buf; local
925 res_buf = os_malloc(res_buf_len);
926 if (res_buf == NULL)
930 iwr.u.data.pointer = res_buf;
937 os_free(res_buf);
938 res_buf = NULL;
947 os_free(res_buf);
953 os_free(res_buf);
958 return res_buf;
1270 u8 *res_buf; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant-0.7.3/src/drivers/
H A Ddriver_wext.c920 u8 *res_buf; local
925 res_buf = os_malloc(res_buf_len);
926 if (res_buf == NULL)
930 iwr.u.data.pointer = res_buf;
937 os_free(res_buf);
938 res_buf = NULL;
947 os_free(res_buf);
953 os_free(res_buf);
958 return res_buf;
1270 u8 *res_buf; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant-0.7.3/src/drivers/
H A Ddriver_wext.c920 u8 *res_buf; local
925 res_buf = os_malloc(res_buf_len);
926 if (res_buf == NULL)
930 iwr.u.data.pointer = res_buf;
937 os_free(res_buf);
938 res_buf = NULL;
947 os_free(res_buf);
953 os_free(res_buf);
958 return res_buf;
1270 u8 *res_buf; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant/src/drivers/
H A Ddriver_wext.c1135 u8 *res_buf; local
1140 res_buf = os_malloc(res_buf_len);
1141 if (res_buf == NULL)
1145 iwr.u.data.pointer = res_buf;
1152 os_free(res_buf);
1153 res_buf = NULL;
1162 os_free(res_buf);
1168 os_free(res_buf);
1173 return res_buf;
1472 u8 *res_buf; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant/src/drivers/
H A Ddriver_wext.c1135 u8 *res_buf; local
1140 res_buf = os_malloc(res_buf_len);
1141 if (res_buf == NULL)
1145 iwr.u.data.pointer = res_buf;
1152 os_free(res_buf);
1153 res_buf = NULL;
1162 os_free(res_buf);
1168 os_free(res_buf);
1173 return res_buf;
1472 u8 *res_buf; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant/src/drivers/
H A Ddriver_wext.c1135 u8 *res_buf; local
1140 res_buf = os_malloc(res_buf_len);
1141 if (res_buf == NULL)
1145 iwr.u.data.pointer = res_buf;
1152 os_free(res_buf);
1153 res_buf = NULL;
1162 os_free(res_buf);
1168 os_free(res_buf);
1173 return res_buf;
1472 u8 *res_buf; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/iproute2/ip/
H A Dxfrm_state.c408 char res_buf[NLMSG_BUF_SIZE]; local
409 struct nlmsghdr *res_n = (struct nlmsghdr *)res_buf;
411 memset(res_buf, 0, sizeof(res_buf));
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/char/tpm/
H A Dtpm.c697 int __tpm_pcr_read(struct tpm_chip *chip, int pcr_idx, u8 *res_buf) argument
708 memcpy(res_buf, cmd.params.pcrread_out.pcr_result,
717 * @res_buf: TPM_PCR value
718 * size of res_buf is 20 bytes (or NULL if you don't care)
724 int tpm_pcr_read(u32 chip_num, int pcr_idx, u8 *res_buf) argument
732 rc = __tpm_pcr_read(chip, pcr_idx, res_buf);

Completed in 166 milliseconds

12