/cts/suite/audio_quality/lib/src/ |
SimpleScriptExec.cpp | 74 size_t len = 0; local 81 while((len = fread(buffer, 1, READ_SIZE, fpipe)) > 0) { 82 result.append(buffer, len);
|
/cts/tools/signature-tools/src/signature/ |
Main.java | 127 int len = orig.length - 1; local 128 String[] newa = new String[len]; 130 System.arraycopy(orig, n + 1, newa, n, len - n);
|
/dalvik/libdex/ |
CmdUtils.cpp | 114 int len = strlen(fileName); local 119 if (len < 5) { 128 if (strcasecmp(fileName + len -3, "dex") != 0) {
|
/development/ndk/platforms/android-L/include/linux/netfilter/ |
xt_NFLOG.h | 27 __u32 len; member in struct:xt_nflog_info
|
/development/ndk/platforms/android-L/include/linux/netfilter_bridge/ |
ebt_nflog.h | 30 __u32 len; member in struct:ebt_nflog_info
|
/development/ndk/platforms/android-L/include/linux/ |
udp.h | 26 __be16 len; member in struct:udphdr
|
/device/generic/goldfish/libqemu/ |
test_guest_1.c | 68 int len = snprintf(buff, sizeof(buff), "Hello World %d\n", count); local 69 printf("%4d: Sending %d bytes\n", count, len); 70 int ret = pipe_send(pipe, buff, len); 72 fprintf(stderr,"Sending %d bytes failed: %s\n", len, strerror(errno)); 76 total += len; 79 ret = pipe_recv(pipe, buff2, len); 86 if (ret != len) { 87 fprintf(stderr, "Message size mismatch sent=%d received=%d\n", len, ret); 90 if (memcmp(buff, buff2, len) != 0) {
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
UnixStream.cpp | 109 socklen_t len = sizeof(addr); local 110 clientSock = ::accept(m_sock, (sockaddr *)&addr, &len);
|
/device/generic/goldfish/qemu-props/ |
qemu-props.c | 86 int len = qemud_channel_recv(qemud_fd, temp, sizeof temp - 1); local 89 if (len < 0 || len > BUFF_SIZE-1 || temp[0] == '\0') 92 temp[len] = '\0'; /* zero-terminate string */ 94 DD("received: %.*s", len, temp);
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_sock.c | 125 uint32_t len = 0; local 139 len = iov[0].iov_len; 140 CDBG("%s: iov_len=%d", __func__, len); 212 CDBG("%s: msg_ctrl %p len %d", __func__, msgh.msg_control, msgh.msg_controllen);
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
ExemptionMechanismSpiTest.java | 59 int len = MyExemptionMechanismSpi.getLength(); local 61 assertEquals("Incorrect length", bbRes.length, len); 63 emSpi.engineGenExemptionBlob(new byte[1], len), len);
|
/external/apache-http/src/org/apache/commons/codec/language/ |
SoundexUtils.java | 43 int len = str.length(); local 44 char[] chars = new char[len]; 46 for (int i = 0; i < len; i++) { 51 if (count == len) {
|
/external/apache-http/src/org/apache/http/impl/entity/ |
EntityDeserializer.java | 77 long len = this.lenStrategy.determineLength(message); local 78 if (len == ContentLengthStrategy.CHUNKED) { 82 } else if (len == ContentLengthStrategy.IDENTITY) { 88 entity.setContentLength(len); 89 entity.setContent(new ContentLengthInputStream(inbuffer, len));
|
EntitySerializer.java | 73 long len = this.lenStrategy.determineLength(message); local 74 if (len == ContentLengthStrategy.CHUNKED) { 76 } else if (len == ContentLengthStrategy.IDENTITY) { 79 return new ContentLengthOutputStream(outbuffer, len);
|
StrictContentLengthStrategy.java | 210 long len = Long.parseLong(s); local 211 return len;
|
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_bld_ct.c | 54 p_pkt->len = (p_data - p_start); 85 p_pkt->len = (p_data - p_start); 112 p_pkt->len = (p_data - p_start); 129 UINT16 offset = 0, chnl = AVCT_DATA_CTRL, len=AVRC_META_CMD_POOL_SIZE; local 148 p_pkt = (BT_HDR *)GKI_getbuf(len); 174 p_pkt->len = (p_data - p_start);
|
avrc_pars_ct.c | 47 UINT16 len; local 60 BE_STREAM_TO_UINT16 (len, p); 61 AVRC_TRACE_DEBUG("avrc_pars_vendor_rsp() ctype:0x%x pdu:0x%x, len:%d/0x%x", p_msg->hdr.ctype, p_result->pdu, len, len); 75 if (len != 1)
|
avrc_pars_tg.c | 46 UINT16 len; local 63 BE_STREAM_TO_UINT16 (len, p); 64 if ((len+4) != (p_msg->vendor_len)) 78 else if (len != 1) 84 if (len != 0) 92 else if (len != 1) 99 if (len != (p_result->get_cur_app_val.num_attr+1)) 122 if (p_buf && (len == ((p_result->set_app_val.num_val<<1) + 1))) 142 AVRC_TRACE_ERROR("AVRC_PDU_SET_PLAYER_APP_VALUE NULL decode buffer or bad len"); 148 if (len < 3 [all...] |
/external/bluetooth/bluedroid/stack/btm/ |
btm_ble_cont_energy.c | 47 UINT16 len = p_params->param_len; local 51 if (len < 17)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
Base64.java | 49 int len = (length + 2) / 3 * 4; local 50 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); 100 int len = data.length / 4 * 3; local 101 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); 123 int len = data.length() / 4 * 3; local 124 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len);
|
/external/chromium_org/base/ |
sys_info_mac.cc | 82 size_t len = arraysize(name); local 83 if (sysctlbyname("machdep.cpu.brand_string", &name, &len, NULL, 0) == 0)
|
sys_info_openbsd.cc | 67 size_t len = arraysize(name); local 68 if (sysctl(mib, arraysize(mib), name, &len, NULL, 0) < 0) {
|
/external/chromium_org/base/third_party/xdg_user_dirs/ |
xdg_user_dir_lookup.cc | 56 int len; local 93 len = strlen (buffer); 94 if (len > 0 && buffer[len-1] == '\n') 95 buffer[len-1] = 0;
|
/external/chromium_org/content/common/ |
resource_messages.cc | 77 int len; local 78 if (!m->ReadData(iter, &data, &len)) 80 r->SetToBytes(data, len);
|
/external/chromium_org/content/test/plugin/ |
plugin_execute_stream_javascript.cc | 28 int32 ExecuteStreamJavaScript::Write(NPStream *stream, int32 offset, int32 len, 34 if (len < 0 || len > kMaxLength) { 40 javascript.append(static_cast<char*>(buffer), len); local 57 return len;
|