/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
UnionChildIterator.java | 73 int len = m_nodeTests.length; local 75 m_nodeTests = new PredicatedNodeTest[len + 1]; 77 System.arraycopy(tests, 0, m_nodeTests, 0, len); 79 m_nodeTests[len] = test;
|
/external/bison/src/ |
location.c | 192 ssize_t len = getline (&buf, &size, caret_info.source); local 193 if (0 < len) 196 int end = loc.start.line != loc.end.line ? len : loc.end.column; 200 fwrite (buf, 1, len, out);
|
/external/bluetooth/bluedroid/bta/hh/ |
bta_hh_api.c | 171 UINT16 len = (UINT16) (sizeof(tBTA_HH_CMD_DATA) ); local 173 if ((p_buf = (tBTA_HH_CMD_DATA *)GKI_getbuf(len))!= NULL) 357 UINT16 len = sizeof(tBTA_HH_MAINT_DEV) + dscp_info.descriptor.dl_len; local 359 p_buf = (tBTA_HH_MAINT_DEV *)GKI_getbuf(len);
|
/external/bluetooth/bluedroid/stack/pan/ |
pan_main.c | 116 if (remote_uuid->len == 16) 130 remote_uuid->len = 2; 132 if (remote_uuid->len == 4) 139 remote_uuid->len = 2; 150 if (local_uuid->len == 16) 164 local_uuid->len = 2; 166 if (local_uuid->len == 4) 173 local_uuid->len = 2; 186 if (remote_uuid->len != 2) 188 PAN_TRACE_ERROR ("PAN Connection failed because of wrong UUID size %d", remote_uuid->len); 549 UINT16 i, len; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
RC2Engine.java | 74 int len = key.length; local 76 if (len < 128) 80 x = xKey[len - 1]; 85 xKey[len++] = x; 87 while (len < 128); 91 len = (bits + 7) >> 3; 92 x = piTable[xKey[128 - len] & (255 >> (7 & -bits))] & 0xff; 93 xKey[128 - len] = x; 95 for (int i = 128 - len - 1; i >= 0; i--) 97 x = piTable[x ^ xKey[i + len]] & 0xff [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
OpenSSLPBEParametersGenerator.java | 63 int len = (bytesNeeded > buf.length) ? buf.length : bytesNeeded; local 64 System.arraycopy(buf, 0, key, offset, len); 65 offset += len; 68 bytesNeeded -= len;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
CTSBlockCipher.java | 41 * an input of len bytes. 43 * @param len the length of the input. 45 * with len bytes of input. 48 int len) 50 int total = len + bufOff; 63 * doFinal with an input of len bytes. 65 * @param len the length of the input. 67 * with len bytes of input. 70 int len) 72 return len + bufOff 199 int len = bufOff - blockSize; local [all...] |
/external/bzip2/ |
dlltest.c | 115 int len;
local 137 while((len=BZ2_bzread(BZ2fp_r,buff,0x1000))>0){
138 fwrite(buff,1,len,fp_w);
164 while((len=fread(buff,1,0x1000,fp_r))>0){
165 BZ2_bzwrite(BZ2fp_w,buff,len);
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/ |
VideoTestWebServer.java | 81 int len = in.read(buffer, 0, buflen); local 82 while (len != -1) { 83 os.write(buffer, 0, len); 84 if (len < buflen) break; 85 len = in.read(buffer, 0, buflen);
|
/external/chromium_org/base/android/ |
jni_array.cc | 15 JNIEnv* env, const uint8* bytes, size_t len) { 16 jbyteArray byte_array = env->NewByteArray(len); 21 byte_array, 0, len, reinterpret_cast<const jbyte*>(bytes)); 28 JNIEnv* env, const int* ints, size_t len) { 29 jintArray int_array = env->NewIntArray(len); 34 int_array, 0, len, reinterpret_cast<const jint*>(ints)); 46 JNIEnv* env, const int64* longs, size_t len) { 47 jlongArray long_array = env->NewLongArray(len); 52 long_array, 0, len, reinterpret_cast<const jlong*>(longs)); 111 jsize len = env->GetArrayLength(array) 162 jsize len = env->GetArrayLength(int_array); local 175 jsize len = env->GetArrayLength(long_array); local 188 jsize len = env->GetArrayLength(float_array); local 202 jsize len = env->GetArrayLength(array); local [all...] |
/external/chromium_org/base/process/ |
process_metrics_openbsd.cc | 147 size_t len = sizeof(vmtotal); local 149 if (sysctl(mib, arraysize(mib), &vmtotal, &len, NULL, 0) < 0)
|
/external/chromium_org/base/strings/ |
safe_sprintf_unittest.cc | 374 size_t len; local 388 len = strlen(tmp.get()); 389 CHECK_GE(needed, len+1); 393 CHECK_LT(len, out_sz); 397 EXPECT_FALSE(tmp[len]); 414 for (size_t i = len+1; i < sz+2; ++i) 445 memcpy(buf, tmp.get(), len+1);
|
/external/chromium_org/base/win/ |
event_trace_controller.cc | 24 size_t len = wcslen(logger_name) + 1; local 25 if (kMaxStringLen < len) 30 sizeof(wchar_t) * len); 35 size_t len = wcslen(logger_file_name) + 1; local 36 if (kMaxStringLen < len) 41 sizeof(wchar_t) * len);
|
/external/chromium_org/chrome/browser/component_updater/ |
component_unpacker.cc | 40 size_t len = fread(&header, 1, sizeof(header), crx_file); local 41 if (len < sizeof(header)) 52 len = fread(&key[0], sizeof(uint8), header.key_size, crx_file); 53 if (len < header.key_size) 57 len = fread(&signature[0], sizeof(uint8), header.signature_size, crx_file); 58 if (len < header.signature_size) 75 while ((len = fread(buf.get(), 1, kBufSize, crx_file)) > 0) 76 verifier.VerifyUpdate(buf.get(), len);
|
/external/chromium_org/chrome/common/ |
content_settings_pattern_parser.cc | 21 Component() : start(0), len(0) {} 22 Component(size_t s, size_t l) : start(s), len(l) {} 25 return len > 0; 29 size_t len; member in class:__anon10165::Component 129 scheme = pattern_spec.substr(scheme_component.start, scheme_component.len); 141 host_component.len); 160 port_component.len); 182 path_component.len);
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
dns_response_builder.cc | 114 int len = static_cast<int>(str->size()); local 115 DCHECK_LT(len, 256); 116 rdata += static_cast<char>(len); // Set length byte.
|
/external/chromium_org/components/plugins/renderer/ |
mobile_youtube_plugin.cc | 48 unsigned len = strlen(kSlashVSlash); local 51 if (path.length() <= len) 56 if (strncmp(str.data(), kSlashVSlash, len) != 0 && 57 strncmp(str.data(), kSlashESlash, len) != 0) 61 for (unsigned i = len; i < path.length(); i++) { 67 return c == '&' && i > len;
|
/external/chromium_org/content/browser/download/ |
file_metadata_unittest_linux.cc | 67 ssize_t len = getxattr(test_file().value().c_str(), attr_name.c_str(), local 69 if (len <= static_cast<ssize_t>(0)) { 72 char* buffer = new char[len]; 73 len = getxattr(test_file().value().c_str(), attr_name.c_str(), buffer, len); 74 EXPECT_EQ(expected_value.size(), static_cast<size_t>(len)); 75 string real_value(buffer, len); 81 ssize_t len = listxattr(test_file().value().c_str(), NULL, 0); local 82 if (len <= static_cast<ssize_t>(0)) return; 83 char* buffer = new char[len]; [all...] |
/external/chromium_org/content/test/plugin/ |
plugin_get_javascript_url_test.cc | 134 int32 len, void *buffer) { 139 if (len < 0 || len > STREAM_CHUNK) { 146 return len; 154 self_url_.append(static_cast<char*>(buffer), len); local 161 return len;
|
/external/chromium_org/native_client_sdk/src/examples/demo/flock/ |
flock.cc | 102 size_t len; local 112 len = fmt.width * fmt.height * fmt.channels; 113 buffer = new uint32_t[len]; 114 fread(buffer, 1, len, fp);
|
/external/chromium_org/net/cert/ |
asn1_util.cc | 44 size_t len = 0; local 49 len = static_cast<size_t>(data[1]) + 2; 57 len = data[2]; 59 if (len == 0) { 63 len <<= 8; 64 len += data[3]; 66 if (len < 128) { 73 len += 2 + num_bytes; 76 if (in->size() < len) 79 *out = base::StringPiece(in->data(), len); [all...] |
/external/chromium_org/net/disk_cache/blockfile/ |
file_posix.cc | 136 int64 len = base_file_.GetLength(); local 138 if (len > static_cast<int64>(kuint32max)) 141 return static_cast<size_t>(len);
|
/external/chromium_org/net/proxy/ |
proxy_server.cc | 69 const std::string::size_type len = host.size(); local 70 if (len >= 2 && host[0] == '[' && host[len - 1] == ']') 71 return host.substr(1, len - 2);
|
/external/chromium_org/net/quic/crypto/ |
aead_base_decrypter.h | 65 unsigned int len; member in struct:net::AeadBaseDecrypter::AeadParams
|
aead_base_encrypter.h | 68 unsigned int len; member in struct:net::AeadBaseEncrypter::AeadParams
|