Home
last modified time | relevance | path

Searched refs:part1 (Results 1 – 25 of 52) sorted by relevance

123

/external/drrickorang/LoopbackApp/app/src/main/cpp/audio_utils/
Dfifo.c99 size_t part1 = fifo->mFrameCount - rear; in audio_utils_fifo_write() local
100 if (part1 > availToWrite) { in audio_utils_fifo_write()
101 part1 = availToWrite; in audio_utils_fifo_write()
104 if (part1 > 0) { in audio_utils_fifo_write()
106 part1 * fifo->mFrameSize); in audio_utils_fifo_write()
107 size_t part2 = availToWrite - part1; in audio_utils_fifo_write()
110 memcpy(fifo->mBuffer, (char *) buffer + (part1 * fifo->mFrameSize), in audio_utils_fifo_write()
130 size_t part1 = fifo->mFrameCount - front; in audio_utils_fifo_read() local
131 if (part1 > availToRead) { in audio_utils_fifo_read()
132 part1 = availToRead; in audio_utils_fifo_read()
[all …]
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dbyte_buffer.c36 size_t part1 = maxLengthInShort - tempRear; in byteBuffer_write() local
38 if (part1 > frameCount) { in byteBuffer_write()
39 part1 = frameCount; in byteBuffer_write()
42 if (part1 > 0) { in byteBuffer_write()
44 part1 * frameSize); in byteBuffer_write()
46 size_t part2 = frameCount - part1; in byteBuffer_write()
48 memcpy(byteBuffer, (srcBuffer + (part1 * frameSize)), in byteBuffer_write()
/external/ltp/testcases/kernel/fs/fs_maim/
Dbackbeat28 ($junk,$junk,$part1)=split(/\//,$ARGV[0]);
32 mkdir ("$part1/sbin");
34 print `cp -aL /sbin/* $part1/sbin`;
36 chdir "$part1" || die "Can't cd to $part1: $!\n";
48 $tmp = `diff -r $part3/sbin $part1/sbin`;
/external/ltp/testscripts/
Dltp-aiodio.sh35 part1=$part1
66 b) part1=$OPTARG;;
85 if [ ! -n "$part1" ]; then
147 mkfs -t ext2 $part1
148 mount -t ext2 $part1 $TMP/aiodio
167 mkfs -t ext3 $part1
168 mount -t ext3 $part1 $TMP/aiodio
187 mkfs.jfs $part1 <testscripts/yesenter.txt
188 mount -t jfs $part1 $TMP/aiodio
207 mkfs.xfs -f $part1
[all …]
Dltpdmmapper.sh31 part1=$part1
45 a) part1=$OPTARG;;
53 if [ ! -n "$part1" ]; then
67 echo "0 10240 linear " $part1 "0" > ltp-dev-mapper-table1
68 echo "0 100000 linear " $part1 "0" > ltp-dev-mapper-table2
70 echo "0 200000 striped 2 16 " $part1 "0" $part2 "0" > ltp-dev-mapper-table4
146 echo "0 102400 linear " $part1 "0" > ltp-dev-mapper-table1
147 echo "0 200000 linear " $part1 "0" > ltp-dev-mapper-table2
149 echo "0 400000 striped 2 16 " $part1 "0" $part2 "0" > ltp-dev-mapper-table4
Dltpfslvm.sh28 part1=$part1
159 sort -R ${LTPROOT}/runtest/lvm.part1 -o ${TMPBASE}/lvm.part1
161 ${LTPROOT}/bin/ltp-pan -e -S -a lvmpart1 -n lvmpart1 -l lvmlogfile -f ${TMPBASE}/lvm.part1 &
185 mkfs -V -t jfs /dev/$part1 <yesenter.txt
197 umount -v /dev/$part1
Dltp-scsi_debug.sh172 part1=$(cat $TMPBASE/partition-test | tail -n 1)
173 echo $part1
191 mkfs -V -t ext3 /dev/$part1
200 mount /dev/$part1 /test/growfiles/ext3
207 sort -R ${LTPROOT}/runtest/scsi_debug.part1 -o ${TMPBASE}/scsi_debug
213 umount -v /dev/$part1
Dltpfsnolvm.sh25 part1=$part1
/external/swiftshader/third_party/astc-encoder/Source/
Dastc_partition_tables.cpp54 const uint64_t part1[7], in compare_canonicalized_partition_tables()
57 if (part1[0] != part2[0]) in compare_canonicalized_partition_tables()
59 if (part1[1] != part2[1]) in compare_canonicalized_partition_tables()
61 if (part1[2] != part2[2]) in compare_canonicalized_partition_tables()
63 if (part1[3] != part2[3]) in compare_canonicalized_partition_tables()
65 if (part1[4] != part2[4]) in compare_canonicalized_partition_tables()
67 if (part1[5] != part2[5]) in compare_canonicalized_partition_tables()
69 if (part1[6] != part2[6]) in compare_canonicalized_partition_tables()
/external/vboot_reference/tests/futility/
Dtest_sign_kernel.sh220 cp ${TMP}.kern_partition ${TMP}.part1.${arch}
221 dd if=${TMP}.blob1.${arch} of=${TMP}.part1.${arch} conv=notrunc
224 ${FUTILITY} vbutil_kernel --verify ${TMP}.part1.${arch} \
234 --oldblob ${TMP}.part1.${arch} \
251 cp ${TMP}.part1.${arch} ${TMP}.part6.${arch}.new1
272 cmp -i ${blobsize} ${TMP}.part1.${arch} ${TMP}.part6.${arch}.new1
275 cp ${TMP}.part1.${arch} ${TMP}.part1.${arch}.in
283 ${TMP}.part1.${arch}.in \
291 cmp ${TMP}.part1.${arch} ${TMP}.part1.${arch}.in
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDSAParametersGenerator.java128 byte[] part1 = new byte[20]; in generateParameters_FIPS186_2()
145 hash(digest, seed, part1, 0); in generateParameters_FIPS186_2()
152 u[i] = (byte)(part1[i] ^ part2[i]); in generateParameters_FIPS186_2()
174 hash(digest, offset, w, w.length - k * part1.length); in generateParameters_FIPS186_2()
177 int remaining = w.length - (n * part1.length); in generateParameters_FIPS186_2()
179 hash(digest, offset, part1, 0); in generateParameters_FIPS186_2()
180 System.arraycopy(part1, part1.length - remaining, w, 0, remaining); in generateParameters_FIPS186_2()
/external/curl/packages/vms/
Dbuild_curl-config_script.com53 $ part1 = "-L/usr/lib -L/SSL_LIB -lssl -lcrypto -lz"
56 $ x_libcurl_libs = part1
58 $ x_libcurl_libs = part1 + " -lgssapi"
93 $ part1 = " echo "" '--prefix=/usr' '--exec-prefix=/usr' "
95 $ part1 = " echo "" '--prefix=/beta' '--exec_prefix=/beta' "
106 $ x_configure_options = part1 + part2 + part3 + part4
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/
DDSAParametersGenerator.java130 byte[] part1 = new byte[20]; in generateParameters_FIPS186_2()
147 hash(digest, seed, part1, 0); in generateParameters_FIPS186_2()
154 u[i] = (byte)(part1[i] ^ part2[i]); in generateParameters_FIPS186_2()
176 hash(digest, offset, w, w.length - k * part1.length); in generateParameters_FIPS186_2()
179 int remaining = w.length - (n * part1.length); in generateParameters_FIPS186_2()
181 hash(digest, offset, part1, 0); in generateParameters_FIPS186_2()
182 System.arraycopy(part1, part1.length - remaining, w, 0, remaining); in generateParameters_FIPS186_2()
/external/slf4j/slf4j-jcl/src/main/java/org/slf4j/impl/
DJCLLoggerFactory.java49 …String part1 = "Detected both jcl-over-slf4j.jar AND slf4j-jcl.jar on the class path, preempting S…
52 Util.report(part1);
54 throw new IllegalStateException(part1 + part2);
/external/curl/tests/data/
Dtest1404113 curl_mimepart *part1;
128 part1 = curl_mime_addpart(mime1);
129 curl_mime_data(part1, "value", CURL_ZERO_TERMINATED);
130 curl_mime_name(part1, "name");
131 part1 = curl_mime_addpart(mime1);
143 curl_mime_subparts(part1, mime2);
145 curl_mime_name(part1, "file");
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/
DLog4jLoggerFactory.java45 …String part1 = "Detected both log4j-over-slf4j.jar AND slf4j-log4j12.jar on the class path, preemp…
48 Util.report(part1);
50 throw new IllegalStateException(part1 + part2);
/external/compiler-rt/test/esan/TestCases/
Dstruct-simple.cpp14 void part1();
53 void part1() in part1() function
144 part1(); in main()
/external/v8/src/numbers/
Dfixed-dtoa.cc136 uint32_t part1 = static_cast<uint32_t>(number % kTen7); in FillDigits64FixedLength() local
140 FillDigits32FixedLength(part1, 7, buffer, length); in FillDigits64FixedLength()
149 uint32_t part1 = static_cast<uint32_t>(number % kTen7); in FillDigits64() local
154 FillDigits32FixedLength(part1, 7, buffer, length); in FillDigits64()
156 } else if (part1 != 0) { in FillDigits64()
157 FillDigits32(part1, buffer, length); in FillDigits64()
/external/python/cpython2/Doc/includes/
Demail-alternative.py34 part1 = MIMEText(text, 'plain') variable
40 msg.attach(part1)
/external/ltp/testcases/kernel/fs/scsi/ltpfs/
Dltpfsio.sh24 part1=$part1
/external/tensorflow/tensorflow/core/util/proto/
Ddecode.h652 uint32 part0 = 0, part1 = 0, part2 = 0; in ReadVarint64FromArray() local
671 part1 = b; in ReadVarint64FromArray()
673 part1 -= 0x80; in ReadVarint64FromArray()
675 part1 += b << 7; in ReadVarint64FromArray()
677 part1 -= 0x80 << 7; in ReadVarint64FromArray()
679 part1 += b << 14; in ReadVarint64FromArray()
681 part1 -= 0x80 << 14; in ReadVarint64FromArray()
683 part1 += b << 21; in ReadVarint64FromArray()
685 part1 -= 0x80 << 21; in ReadVarint64FromArray()
702 *value = (static_cast<uint64>(part0)) | (static_cast<uint64>(part1) << 28) | in ReadVarint64FromArray()
/external/libbrillo/brillo/
Ddata_encoding.cc74 int part1 = 0, part2 = 0; in UrlDecode() local
77 if (c == '%' && (part1 = HexToDec(data[0])) >= 0 && in UrlDecode()
79 c = static_cast<char>((part1 << 4) | part2); in UrlDecode()
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DWebSocketWriterTest.java180 byte[] part1 = binaryData(50); in clientBinary()
181 sink.write(part1).flush(); in clientBinary()
182 toggleMask(part1, 50, maskKey1, 0); in clientBinary()
185 assertData(part1); in clientBinary()
/external/protobuf/src/google/protobuf/io/
Dcoded_stream.h980 uint32 part1 = (static_cast<uint32>(buffer[4])) | in ReadLittleEndian64FromArray()
984 *value = static_cast<uint64>(part0) | (static_cast<uint64>(part1) << 32); in ReadLittleEndian64FromArray()
1203 uint32 part1 = static_cast<uint32>(value >> 32); in WriteLittleEndian64ToArray()
1209 target[4] = static_cast<uint8>(part1); in WriteLittleEndian64ToArray()
1210 target[5] = static_cast<uint8>(part1 >> 8); in WriteLittleEndian64ToArray()
1211 target[6] = static_cast<uint8>(part1 >> 16); in WriteLittleEndian64ToArray()
1212 target[7] = static_cast<uint8>(part1 >> 24); in WriteLittleEndian64ToArray()
/external/clang/test/ARCMT/Inputs/
Dtest.h6 static inline void part1(id p) { in part1() function

123