Home
last modified time | relevance | path

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

12

/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/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/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/protobuf/src/google/protobuf/io/
Dcoded_stream.cc510 uint32 part0 = 0, part1 = 0, part2 = 0; in ReadVarint64Fallback() local
520 b = *(ptr++); part1 = b ; if (!(b & 0x80)) goto done; in ReadVarint64Fallback()
521 part1 -= 0x80; in ReadVarint64Fallback()
522 b = *(ptr++); part1 += b << 7; if (!(b & 0x80)) goto done; in ReadVarint64Fallback()
523 part1 -= 0x80 << 7; in ReadVarint64Fallback()
524 b = *(ptr++); part1 += b << 14; if (!(b & 0x80)) goto done; in ReadVarint64Fallback()
525 part1 -= 0x80 << 14; in ReadVarint64Fallback()
526 b = *(ptr++); part1 += b << 21; if (!(b & 0x80)) goto done; in ReadVarint64Fallback()
527 part1 -= 0x80 << 21; in ReadVarint64Fallback()
540 (static_cast<uint64>(part1) << 28) | in ReadVarint64Fallback()
[all …]
Dcoded_stream.h898 uint32 part1 = (static_cast<uint32>(buffer[4]) ) | in ReadLittleEndian64FromArray()
903 (static_cast<uint64>(part1) << 32); in ReadLittleEndian64FromArray()
1123 uint32 part1 = static_cast<uint32>(value >> 32); in WriteLittleEndian64ToArray()
1129 target[4] = static_cast<uint8>(part1); in WriteLittleEndian64ToArray()
1130 target[5] = static_cast<uint8>(part1 >> 8); in WriteLittleEndian64ToArray()
1131 target[6] = static_cast<uint8>(part1 >> 16); in WriteLittleEndian64ToArray()
1132 target[7] = static_cast<uint8>(part1 >> 24); in WriteLittleEndian64ToArray()
/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/curl/tests/data/
Dtest1404112 curl_mimepart *part1;
127 part1 = curl_mime_addpart(mime1);
128 curl_mime_data(part1, "value", CURL_ZERO_TERMINATED);
129 curl_mime_name(part1, "name");
130 part1 = curl_mime_addpart(mime1);
142 curl_mime_subparts(part1, mime2);
144 curl_mime_name(part1, "file");
/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/compiler-rt/test/esan/TestCases/
Dstruct-simple.cpp14 void part1();
53 void part1() in part1() function
144 part1(); in main()
/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/v8/src/
Dfixed-dtoa.cc142 uint32_t part1 = static_cast<uint32_t>(number % kTen7); in FillDigits64FixedLength() local
146 FillDigits32FixedLength(part1, 7, buffer, length); in FillDigits64FixedLength()
156 uint32_t part1 = static_cast<uint32_t>(number % kTen7); in FillDigits64() local
161 FillDigits32FixedLength(part1, 7, buffer, length); in FillDigits64()
163 } else if (part1 != 0) { in FillDigits64()
164 FillDigits32(part1, buffer, length); in FillDigits64()
/external/libmtp/examples/
Dconnect.c38 split_arg(char * argument, char ** part1, char ** part2) in split_arg() argument
41 *part1 = NULL; in split_arg()
46 *part1 = argument; in split_arg()
/external/tensorflow/tensorflow/core/util/proto/
Ddecode.h634 uint32 part0 = 0, part1 = 0, part2 = 0; in ReadVarint64FromArray() local
653 part1 = b; in ReadVarint64FromArray()
655 part1 -= 0x80; in ReadVarint64FromArray()
657 part1 += b << 7; in ReadVarint64FromArray()
659 part1 -= 0x80 << 7; in ReadVarint64FromArray()
661 part1 += b << 14; in ReadVarint64FromArray()
663 part1 -= 0x80 << 14; in ReadVarint64FromArray()
665 part1 += b << 21; in ReadVarint64FromArray()
667 part1 -= 0x80 << 21; in ReadVarint64FromArray()
684 *value = (static_cast<uint64>(part0)) | (static_cast<uint64>(part1) << 28) | in ReadVarint64FromArray()
/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/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()

12