/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/pdfium/core/src/fpdfdoc/ |
doc_bookmark.cpp | 59 int len = title.GetLength(), i;
local 60 for (i = 0; i < len; i ++)
64 title.ReleaseBuffer(len);
|
/external/pdfium/core/src/fxge/agg/agg23/ |
agg_renderer_scanline.h | 54 int len = span->len; local 57 if(len < 0) { 59 len = -len; 62 len -= xmin - x; 68 if(len > 0) { 69 if(x + len > xmax) { 70 len = xmax - x + 1; 72 if(len > 0) [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
ftdebug.c | 189 FT_Int n, i, len = (FT_Int)( p - q ); local 198 for ( i = 0; i < len; i++ ) 204 if ( i == len && toggle[i] == 0 )
|
ftstream.c | 759 FT_UInt len = fields->size; local 762 if ( cursor + len > stream->limit ) 771 FT_MEM_COPY( p, cursor, len ); 773 cursor += 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/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/include/qemu/ |
bitmap.h | 39 * bitmap_find_next_zero_area(buf, len, pos, n, mask) Find bit free area 93 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); local 94 return g_malloc0(len); 102 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); local 103 memset(dst, 0, len); 111 int len = (nlongs - 1) * sizeof(unsigned long); local 112 memset(dst, 0xff, len); 123 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); local 124 memcpy(dst, src, len); 214 void bitmap_set(unsigned long *map, int i, int len); [all...] |
/external/qemu/ui/ |
keymaps.c | 72 int len; local 91 len = strlen(line); 92 if (len > 0 && line[len - 1] == '\n') 93 line[len - 1] = '\0';
|
/external/qemu/util/ |
compatfd.c | 56 ssize_t len; local 58 len = write(info->fd, (char *)&buffer + offset, 60 if (len == -1 && errno == EINTR) 63 if (len <= 0) { 67 offset += len;
|
/external/regex-re2/util/ |
stringpiece.cc | 16 int len = x.size(); local 17 if (len != y.size()) { 23 if ((len > 0) && (p[len-1] != p2[len-1])) return false; 24 const char* p_limit = p + len;
|
/external/sfntly/cpp/src/test/tinyxml/ |
tinystr.h | 85 TIXML_EXPLICIT TiXmlString ( const char * str, size_type len) : rep_(0) 87 init(len); 88 memcpy(start(), str, len); local 193 TiXmlString& assign (const char* str, size_type len); 195 TiXmlString& append (const char* str, size_type len);
|
/external/skia/samplecode/ |
SampleDash.cpp | 68 size_t len = SkMin32(strlen(gStr[i]), SK_ARRAY_COUNT(interval)); local 69 for (size_t j = 0; j < len; j++) { 73 SkDashPathEffect dash(interval, len, 0);
|
/external/skia/tests/ |
RecordOptsTest.cpp | 69 const size_t len = strlen(text); local 70 SkAutoTMalloc<SkPoint> pos(len); 71 for (size_t i = 0; i < len; i++) { 75 canvas->drawPosText(text, len, pos, SkPaint());
|
/external/tcpdump/missing/ |
inet_ntop.c | 116 long len; member in struct:__anon35168 136 cur.base = i, cur.len = 1; 137 else cur.len++; 141 if (best.base == -1 || cur.len > best.len) 146 if ((cur.base != -1) && (best.base == -1 || cur.len > best.len)) 148 if (best.base != -1 && best.len < 2) 158 if (best.base != -1 && i >= best.base && i < (best.base + best.len)) 173 (best.len == 6 || (best.len == 5 && words[5] == 0xffff)) [all...] |
/external/tcpdump/ |
print-udld.c | 88 int code, type, len; local 126 len = EXTRACT_16BITS(tptr+2); 127 len -= 4; 131 if (type == 0 || len == 0) { 137 type, len); 159 tptr += len;
|
/external/tinyxml/ |
tinystr.h | 82 TiXmlString (const char * str, size_type len) 84 init(len); 85 memcpy(start(), str, len); local 192 TiXmlString& assign (const char* str, size_type len); 194 TiXmlString& append (const char* str, size_type len);
|
/external/valgrind/main/coregrind/ |
pub_core_aspacemgr.h | 79 /* Is the area [start .. start+len-1] validly accessible by the 87 // ( Addr start, SizeT len, UInt prot ); 93 ( Addr start, SizeT len, UInt prot ); 100 ( Addr start, SizeT len, UInt prot ); 140 Addr len; member in struct:__anon36405 159 ( Addr start, SizeT len, /*OUT*/Bool* ok ); 161 /* Returns True if [start, start + len - 1] is covered by a single 170 ( Addr start, SizeT len); 177 ( Addr a, SizeT len, UInt prot, UInt flags, Int fd, Off64T offset ); 183 extern Bool VG_(am_notify_client_shmat)( Addr a, SizeT len, UInt prot ) [all...] |
/external/webrtc/src/system_wrappers/source/ |
trace_posix.cc | 109 WebRtc_Word32 len = static_cast<WebRtc_Word32>(strlen(traceMessage)); local 111 if ('\n' == traceMessage[len - 1]) 113 traceMessage[len - 1] = '\0'; 114 --len; 118 return len + 1;
|
/external/wpa_supplicant_8/src/ap/ |
eap_user_db.c | 105 size_t len; local 117 len = os_strlen(argv[id]); 118 if (len <= user->identity_len && 119 os_memcmp(argv[id], user->identity, len) == 0 && 120 (user->password == NULL || len > user->password_len)) {
|
/external/wpa_supplicant_8/src/common/ |
gas.c | 221 u8 *len; local 244 len = wpabuf_mhead_u8(buf) + offset; 245 WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2);
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_gtc.c | 51 size_t password_len, identity_len, len, plen; local 55 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, reqData, &len); 62 wpa_hexdump_ascii(MSG_MSGDUMP, "EAP-GTC: Request message", pos, len); 64 (len < 10 || os_memcmp(pos, "CHALLENGE=", 10) != 0)) { 87 eap_sm_request_otp(sm, (const char *) pos, len);
|