/external/mesa3d/src/gallium/auxiliary/rbug/ |
rbug_core.c | 48 LEN(8); /* header */ 83 LEN(8); /* header */ 119 LEN(8); /* header */ 120 LEN(4); /* error */ 157 LEN(8); /* header */ 158 LEN(4); /* serial */ 196 LEN(8); /* header */ 197 LEN(4); /* serial */ 198 LEN(4); /* error */ 267 uint32_t len = 0 local 294 uint32_t len = 0; local 321 uint32_t len = 0; local [all...] |
rbug_shader.c | 49 LEN(8); /* header */ 50 LEN(8); /* context */ 88 LEN(8); /* header */ 89 LEN(8); /* context */ 90 LEN(8); /* shader */ 130 LEN(8); /* header */ 131 LEN(8); /* context */ 132 LEN(8); /* shader */ 133 LEN(1); /* disable */ 175 LEN(8); /* header * 301 uint32_t len = 0; local 328 uint32_t len = 0; local 356 uint32_t len = 0; local 385 uint32_t len = 0; local 414 uint32_t len = 0; local 442 uint32_t len = 0; local [all...] |
/external/mesa3d/src/glx/ |
glx_query.c | 58 uint32_t len = xcb_glx_query_server_string_string_length(reply); local 59 char *buf = Xmalloc(len); 60 memcpy(buf, xcb_glx_query_server_string_string(reply), len); 82 uint32_t len = xcb_glx_get_string_string_length(reply); local 83 char *buf = Xmalloc(len); 84 memcpy(buf, xcb_glx_get_string_string(reply), len);
|
/external/mesa3d/src/mesa/main/ |
shader_query.cpp | 230 const size_t len = strlen(var->name); local 231 if (len >= longest) 232 longest = len + 1;
|
/external/mesa3d/src/mesa/x86/ |
common_x86.c | 125 unsigned int len; local 126 len = sizeof(enabled); 127 ret = sysctlbyname("hw.instruction_sse", &enabled, &len, NULL, 0); 134 size_t len = sizeof(enabled); 135 ret = sysctlbyname("machdep.sse", &enabled, &len, (void *)NULL, 0); 143 size_t len = sizeof(enabled); 148 ret = sysctl(mib, 2, &enabled, &len, NULL, 0);
|
/external/openssh/ |
bufbn.c | 190 u_int len; local 193 if ((bin = buffer_get_string_ret(buffer, &len)) == NULL) { 198 if (len > 0 && (bin[0] & 0x80)) { 203 if (len > 8 * 1024) { 205 len); 209 if (BN_bin2bn(bin, len, value) == NULL) {
|
entropy.c | 65 * Collect 'len' bytes of entropy into 'buf' from PRNGD/EGD daemon 73 get_random_bytes_prngd(unsigned char *buf, int len, 89 if (len <= 0 || len > 255) 90 fatal("Too many bytes (%d) to read from PRNGD", len); 131 msg[1] = len; 144 if (atomicio(read, fd, buf, len) != (size_t)len) { 196 u_int len; local 198 buf = buffer_get_string_ret(m, &len); [all...] |
readpass.c | 54 size_t len; local 84 len = 0; 86 ssize_t r = read(p[0], buf + len, sizeof(buf) - 1 - len); 92 len += r; 93 } while (sizeof(buf) - 1 - len > 0); 94 buf[len] = '\0';
|
/external/openssh/openbsd-compat/ |
inet_ntop.c | 119 struct { int base, len; } best, cur; member in struct:__anon24066 137 cur.base = i, cur.len = 1; 139 cur.len++; 142 if (best.base == -1 || cur.len > best.len) 149 if (best.base == -1 || cur.len > best.len) 152 if (best.base != -1 && best.len < 2) 163 i < (best.base + best.len)) { 179 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) [all...] |
setproctitle.c | 127 size_t len; local 142 len = strlcat(buf, ": ", sizeof(buf)); 143 if (len < sizeof(buf)) 144 vsnprintf(buf + len, sizeof(buf) - len , fmt, ap); 154 /* debug("setproctitle: copy \"%s\" into len %d", 156 len = strlcpy(argv_start, ptitle, argv_env_len); 157 for(; len < argv_env_len; len++) 158 argv_start[len] = SPT_PADCHAR [all...] |
/external/openssl/crypto/aes/ |
aes_ige.c | 84 size_t len = length; local 90 len = length / AES_BLOCK_SIZE; 100 while (len) 112 --len; 128 while (len) 139 --len; 155 while (len) 168 --len; 184 while (len) 196 --len; 219 size_t len = length; local [all...] |
/external/openssl/crypto/asn1/ |
a_bitstr.c | 63 int ASN1_BIT_STRING_set(ASN1_BIT_STRING *x, unsigned char *d, int len) 64 { return M_ASN1_BIT_STRING_set(x, d, len); } 68 int ret,j,bits,len; local 73 len=a->length; 75 if (len > 0) 83 for ( ; len > 0; len--) 85 if (a->data[len-1]) break; 87 j=a->data[len-1]; 102 ret=1+len; [all...] |
a_bytes.c | 72 long len; local 77 inf=ASN1_get_object(&p,&len,&tag,&xclass,length); 102 if (len != 0) 104 s=(unsigned char *)OPENSSL_malloc((int)len+1); 110 memcpy(s,p,(int)len); 111 s[len]='\0'; 112 p+=len; 118 ret->length=(int)len; 163 long len; local 175 inf=ASN1_get_object(&p,&len,&tag,&xclass,length) [all...] |
/external/openssl/crypto/pem/ |
pem_pkey.c | 80 long len; local 84 if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_EVP_PKEY, bp, cb, u)) 90 p8inf=d2i_PKCS8_PRIV_KEY_INFO(NULL, &p, len); 103 p8 = d2i_X509_SIG(NULL, &p, len); 128 ret=d2i_PrivateKey(ameth->pkey_id,x,&p,len); 135 OPENSSL_cleanse(data, len); 160 long len; local 164 if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_PARAMETERS, 176 || !ret->ameth->param_decode(ret, &p, len))
|
/external/openssl/crypto/rand/ |
rand_egd.c | 140 int len, num, numbytes; local 150 len = offsetof(struct sockaddr_un, sun_path) + strlen(path); 156 if (connect(fd, (struct sockaddr *)&addr, len) == 0)
|
/external/openssl/crypto/x509v3/ |
v3_prn.c | 90 int len; local 92 len = strlen(nval->value)+1; 93 tmp = OPENSSL_malloc(len); 96 ascii2ebcdic(tmp, nval->value, len); 134 int len; local 136 len = strlen(value)+1; 137 tmp = OPENSSL_malloc(len); 140 ascii2ebcdic(tmp, value, len);
|
/external/openssl/ssl/ |
s2_enc.c | 156 unsigned int len; local 162 len=s->s2->wact_data_length; 169 len=s->s2->ract_data_length; 181 EVP_DigestUpdate(&c,act,len);
|
/external/ppp/pppd/plugins/pppoatm/ |
text2atm.c | 79 int offset,len; local 137 len = 0; 140 if (len >= pos*4) return -1; /* too long */ 141 len = len*10+*text-'0'; 143 if (len > 7 && addr->sas_addr.prv[0] != ATM_AFI_E164) offset = 72; 144 if (len < offset) return FATAL; 145 return len > pos*4 ? TRY_OTHER : len;
|
/external/qemu/ |
bt-host.c | 43 int len; member in struct:bt_host_hci_s 47 int type, const uint8_t *data, int len) 56 iv[1].iov_len = len; 67 static void bt_host_cmd(struct HCIInfo *hci, const uint8_t *data, int len) 69 bt_host_send(hci, HCI_COMMAND_PKT, data, len); 72 static void bt_host_acl(struct HCIInfo *hci, const uint8_t *data, int len) 74 bt_host_send(hci, HCI_ACLDATA_PKT, data, len); 77 static void bt_host_sco(struct HCIInfo *hci, const uint8_t *data, int len) 79 bt_host_send(hci, HCI_SCODATA_PKT, data, len); 91 s->len = read(s->fd, s->hdr, sizeof(s->hdr)) [all...] |
bt-vhci.c | 33 int len; member in struct:bt_vhci_s 45 s->len = read(s->fd, s->hdr, sizeof(s->hdr)); 47 if (s->len < 0) { 53 while (s->len --) 56 if (s->len < 3) 59 pktlen = MIN(pkt[2] + 3, s->len); 61 s->len -= pktlen; 66 if (s->len < 4) 69 pktlen = MIN(((pkt[3] << 8) | pkt[2]) + 4, s->len); 71 s->len -= pktlen [all...] |
compatfd.c | 53 ssize_t len; local 55 len = write(info->fd, (char *)&buffer + offset, 57 if (len == -1 && errno == EINTR) 60 if (len <= 0) { 64 offset += len;
|
keymaps.c | 76 int len; local 107 len = strlen(line); 108 if (len > 0 && line[len - 1] == '\n') 109 line[len - 1] = '\0';
|
/external/qemu/distrib/sdl-1.2.15/src/audio/mme/ |
SDL_mmeaudio.c | 97 int len; local 101 len = SDL_strlen(errbuf); 102 waveOutGetErrorText(code, errbuf+len, MAXERRORLENGTH-len);
|
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
SDL_getenv.c | 97 int len, i; local 126 len = (value - name); 128 if ( SDL_strncmp(SDL_env[i], name, len) == 0 ) { 158 int len, i; local 163 len = SDL_strlen(name); 165 if ( (SDL_strncmp(SDL_env[i], name, len) == 0) && 166 (SDL_env[i][len] == '=') ) { 167 value = &SDL_env[i][len+1];
|
/external/qemu/hw/ |
usb.c | 50 if (p->len != 8) 108 int len = s->setup_len - s->setup_index; local 109 if (len > p->len) 110 len = p->len; 111 memcpy(p->data, s->data_buf + s->setup_index, len); 112 s->setup_index += len; 115 return len; 143 int len = s->setup_len - s->setup_index local 208 int len, i; local [all...] |