/bootable/recovery/ |
roots.h | 36 * like "/system/lib". The translated path is put in out_buf, 37 * and out_buf is returned if the translation succeeded. 40 char *out_buf, size_t out_buf_len); 46 char *out_buf, size_t out_buf_len, const ZipArchive **out_package);
|
roots.c | 116 char *out_buf, size_t out_buf_len, const ZipArchive **out_package) 132 strcpy(out_buf, root_path); 134 return out_buf; 138 * like "/system/lib". The translated path is put in out_buf, 139 * and out_buf is returned if the translation succeeded. 142 translate_root_path(const char *root_path, char *out_buf, size_t out_buf_len) 168 memcpy(out_buf, info->mount_point, mp_len); 169 if (out_buf[mp_len - 1] != '/') out_buf[mp_len++] = '/'; 171 memcpy(out_buf + mp_len, root_path, rp_len) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_tls_common.c | 62 os_free(data->out_buf); 117 if (data->out_buf == NULL) { 118 wpa_printf(MSG_ERROR, "SSL: out_buf NULL in %s", __func__); 123 send_len = wpabuf_len(data->out_buf) - data->out_used; 144 wpabuf_put_be32(req, wpabuf_len(data->out_buf)); 146 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, 150 if (data->out_used == wpabuf_len(data->out_buf)) { 154 wpabuf_free(data->out_buf); 155 data->out_buf = NULL; 161 (unsigned long) wpabuf_len(data->out_buf) [all...] |
eap_tnc.c | 29 struct wpabuf *out_buf; member in struct:eap_tnc_data 68 wpabuf_free(data->out_buf); 196 send_len = wpabuf_len(data->out_buf) - data->out_used; 216 wpabuf_put_be32(req, wpabuf_len(data->out_buf)); 218 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, 222 if (data->out_used == wpabuf_len(data->out_buf)) { 226 wpabuf_free(data->out_buf); 227 data->out_buf = NULL; 232 (unsigned long) wpabuf_len(data->out_buf) - 250 if (data->out_buf == NULL) [all...] |
eap_ikev2.c | 27 struct wpabuf *out_buf; member in struct:eap_ikev2_data 130 wpabuf_free(data->out_buf); 145 send_len = wpabuf_len(data->out_buf) - data->out_used; 180 wpabuf_put_be32(req, wpabuf_len(data->out_buf)); 182 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, 195 if (data->out_used == wpabuf_len(data->out_buf)) { 199 wpabuf_free(data->out_buf); 200 data->out_buf = NULL; 205 (unsigned long) wpabuf_len(data->out_buf) - 220 if (data->out_buf == NULL) [all...] |
eap_wsc.c | 28 struct wpabuf *out_buf; member in struct:eap_wsc_data 145 wpabuf_free(data->out_buf); 179 send_len = wpabuf_len(data->out_buf) - data->out_used; 202 wpabuf_put_be16(req, wpabuf_len(data->out_buf)); 204 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, 208 if (data->out_used == wpabuf_len(data->out_buf)) { 212 wpabuf_free(data->out_buf); 213 data->out_buf = NULL; 219 (unsigned long) wpabuf_len(data->out_buf) - 236 if (data->out_buf == NULL) [all...] |
eap_tls_common.h | 29 struct wpabuf *out_buf; member in struct:eap_ssl_data
|
eap_peap.c | 516 wpabuf_free(data->ssl.out_buf); 518 data->ssl.out_buf = eap_peap_build_phase2_req(sm, data, id); 522 wpabuf_free(data->ssl.out_buf); 524 data->ssl.out_buf = eap_peap_build_phase2_soh(sm, data, id); 528 wpabuf_free(data->ssl.out_buf); 530 data->ssl.out_buf = eap_peap_build_phase2_tlv(sm, data, id); 533 wpabuf_free(data->ssl.out_buf); 535 data->ssl.out_buf = eap_peap_build_phase2_term(sm, data, id, 539 wpabuf_free(data->ssl.out_buf); 541 data->ssl.out_buf = eap_peap_build_phase2_term(sm, data, id [all...] |
eap_fast.c | 823 if (data->ssl.out_buf && piggyback) { 828 (int) wpabuf_len(data->ssl.out_buf), 830 if (wpabuf_resize(&data->ssl.out_buf, wpabuf_len(encr)) < 0) { 836 wpabuf_put_buf(data->ssl.out_buf, encr); 839 wpabuf_free(data->ssl.out_buf); 841 data->ssl.out_buf = encr; [all...] |
eap_ttls.c | 574 wpabuf_free(data->ssl.out_buf); 576 data->ssl.out_buf = eap_ttls_build_phase2_eap_req(sm, data, 580 wpabuf_free(data->ssl.out_buf); 582 data->ssl.out_buf = eap_ttls_build_phase2_mschapv2(sm, data); 585 wpabuf_free(data->ssl.out_buf); 587 data->ssl.out_buf = eap_ttls_build_phase_finished(sm, data, 1); [all...] |
/external/openssl/apps/ |
passwd.c | 312 static char out_buf[6 + 9 + 24 + 2]; /* "$apr1$..salt..$.......md5hash..........\0" */ local 321 out_buf[0] = '$'; 322 out_buf[1] = 0; 324 strncat(out_buf, magic, 4); 325 strncat(out_buf, "$", 1); 326 strncat(out_buf, salt, 8); 327 assert(strlen(out_buf) <= 6 + 8); /* "$apr1$..salt.." */ 328 salt_out = out_buf + 2 + strlen(magic); 391 assert(output == out_buf + strlen(out_buf)); [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_ikev2.c | 27 struct wpabuf *out_buf; member in struct:eap_ikev2_data 115 wpabuf_free(data->out_buf); 149 send_len = wpabuf_len(data->out_buf) - data->out_used; 190 wpabuf_put_be32(resp, wpabuf_len(data->out_buf)); 192 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, 208 if (data->out_used == wpabuf_len(data->out_buf)) { 212 wpabuf_free(data->out_buf); 213 data->out_buf = NULL; 244 (unsigned long) wpabuf_len(data->out_buf) - 426 if (data->out_buf == NULL) [all...] |
eap_wsc.c | 29 struct wpabuf *out_buf; member in struct:eap_wsc_data 158 wpabuf_free(data->out_buf); 178 send_len = wpabuf_len(data->out_buf) - data->out_used; 198 wpabuf_put_be16(resp, wpabuf_len(data->out_buf)); 200 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, 207 if (data->out_used == wpabuf_len(data->out_buf)) { 211 wpabuf_free(data->out_buf); 212 data->out_buf = NULL; 224 (unsigned long) wpabuf_len(data->out_buf) - 419 if (data->out_buf == NULL) [all...] |
eap_tnc.c | 27 struct wpabuf *out_buf; member in struct:eap_tnc_data 66 wpabuf_free(data->out_buf); 101 send_len = wpabuf_len(data->out_buf) - data->out_used; 121 wpabuf_put_be32(resp, wpabuf_len(data->out_buf)); 123 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, 130 if (data->out_used == wpabuf_len(data->out_buf)) { 134 wpabuf_free(data->out_buf); 135 data->out_buf = NULL; 140 (unsigned long) wpabuf_len(data->out_buf) - 353 if (data->out_buf) { [all...] |
/external/qemu/block/ |
qcow.c | 219 algorithm for < 4 GB images. NOTE: out_buf == in_buf is 222 uint8_t *out_buf, const uint8_t *in_buf, 235 AES_cbc_encrypt(in_buf, out_buf, 512, key, 239 out_buf += 512; 398 static int decompress_buffer(uint8_t *out_buf, int out_buf_size, 408 strm->next_out = out_buf; 415 out_len = strm->next_out - out_buf; 845 uint8_t *out_buf; local 851 out_buf = qemu_malloc(s->cluster_size + (s->cluster_size / 1000) + 128); 852 if (!out_buf) [all...] |
qcow2-cluster.c | 284 algorithm for < 4 GB images. NOTE: out_buf == in_buf is 287 uint8_t *out_buf, const uint8_t *in_buf, 300 AES_cbc_encrypt(in_buf, out_buf, 512, key, 304 out_buf += 512; 752 static int decompress_buffer(uint8_t *out_buf, int out_buf_size, 762 strm->next_out = out_buf; 769 out_len = strm->next_out - out_buf;
|
qcow2.c | 837 uint8_t *out_buf; local 852 out_buf = qemu_malloc(s->cluster_size + (s->cluster_size / 1000) + 128); 860 qemu_free(out_buf); 867 strm.next_out = out_buf; 871 qemu_free(out_buf); 875 out_len = strm.next_out - out_buf; 888 if (bdrv_pwrite(s->hd, cluster_offset, out_buf, out_len) != out_len) { 889 qemu_free(out_buf); 894 qemu_free(out_buf);
|
qcow2.h | 177 uint8_t *out_buf, const uint8_t *in_buf,
|
/external/wpa_supplicant/ |
tls_schannel.c | 330 u8 *out_buf = NULL; local 396 out_buf = os_malloc(*out_len); 397 if (out_buf) 398 os_memcpy(out_buf, outbufs[0].pvBuffer, 402 if (out_buf == NULL) 422 if (out_buf == NULL) 423 out_buf = os_malloc(1); 455 "(out_buf=%p)", out_buf); 458 return out_buf; [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
tls_schannel.c | 330 u8 *out_buf = NULL; local 396 out_buf = os_malloc(*out_len); 397 if (out_buf) 398 os_memcpy(out_buf, outbufs[0].pvBuffer, 402 if (out_buf == NULL) 422 if (out_buf == NULL) 423 out_buf = os_malloc(1); 455 "(out_buf=%p)", out_buf); 458 return out_buf; [all...] |
/hardware/ti/wlan/wl1271/CUDK/configurationutility/src/ |
console.c | 229 S8 out_buf[512]; local 233 os_sprintf((PS8)out_buf, (PS8)("%s%s> "), (PS8)(p_dir==pConsole->p_mon_root)? (PS8)("") : (PS8)(".../"), (PS8)p_dir->name ); 237 if( (os_strlen(out_buf) + os_strlen(p_token->name) + 2)>= sizeof(out_buf) ) 242 os_strcat(out_buf, p_token->name ); 244 os_strcat((PS8)out_buf, (PS8)("/" ) ); 247 os_strcat((PS8)out_buf, (PS8)(", ") ); 250 os_error_printf(CU_MSG_INFO2, (PS8)("%s\n"), (PS8)out_buf );
|
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/ |
console.c | 514 char out_buf[512]; local 517 sprintf( out_buf, "%s%s> ", (p_dir==p_mon_root)? "" : ".../", p_dir->name ); 521 if( (strlen(out_buf) + strlen(p_token->name) + 2)>= sizeof(out_buf) ) 526 strcat( out_buf, p_token->name ); 528 strcat( out_buf, "/" ); 531 strcat( out_buf, ", " ); 533 console_printf_terminal("%s\n", out_buf );
|
/system/wlan/ti/wilink_6_1/CUDK/configurationutility/src/ |
console.c | 229 S8 out_buf[512]; local 233 os_sprintf((PS8)out_buf, (PS8)("%s%s> "), (PS8)(p_dir==pConsole->p_mon_root)? (PS8)("") : (PS8)(".../"), (PS8)p_dir->name ); 237 if( (os_strlen(out_buf) + os_strlen(p_token->name) + 2)>= sizeof(out_buf) ) 242 os_strcat(out_buf, p_token->name ); 244 os_strcat((PS8)out_buf, (PS8)("/" ) ); 247 os_strcat((PS8)out_buf, (PS8)(", ") ); 250 os_error_printf(CU_MSG_INFO2, (PS8)("%s\n"), (PS8)out_buf );
|
/external/stlport/src/c_locale_win32/ |
c_locale_win32.c | 1036 char buf[2], out_buf[2]; local 1056 char buf[2], out_buf[2]; local [all...] |