/external/python/cpython2/Lib/ |
mhlib.py | 365 head, dir, tail = seq[:i], '', seq[i+1:] 366 if tail[:1] in '-+': 367 dir, tail = tail[:1], tail[1:] 368 if not isnumeric(tail): 371 count = int(tail) [all...] |
/external/python/cpython2/Lib/test/ |
test_mmap.py | 685 def _make_test_file(self, num_zeroes, tail): 692 f.write(tail) 725 tail = b' DEARdear ' 726 start = boundary - len(tail) // 2 727 end = start + len(tail) 728 with self._make_test_file(start, tail) as f: 731 self.assertEqual(m[start:end], tail)
|
/external/python/cpython3/Lib/test/ |
test_mmap.py | 753 def _make_test_file(self, num_zeroes, tail): 760 f.write(tail) 790 tail = b' DEARdear ' 791 start = boundary - len(tail) // 2 792 end = start + len(tail) 793 with self._make_test_file(start, tail) as f: 795 self.assertEqual(m[start:end], tail)
|
/external/u-boot/common/ |
image.c | 534 size_t tail = (len > chunksz) ? chunksz : len; local 537 to -= tail; 538 from -= tail; 540 memmove(to, from, tail); 542 to += tail; 543 from += tail; 545 len -= tail; [all...] |
/external/nos/host/android/hals/keymaster/ |
KeymasterDevice.cpp | 611 static uint8_t *asn1_encode_length(size_t length, const uint8_t *head, uint8_t *tail) 613 if (!tail || tail < head + encoded_length_size(length)) { 619 *(--tail) = length; 623 uint8_t *orig_tail = tail; 625 *(--tail) = length & 0xFF; 631 length_len = (orig_tail - tail); 632 *(--tail) = 0x80 | length_len; 634 return tail; [all...] |
/cts/tests/tests/jni/libjnitest/ |
android_jni_cts_LinkerNamespacesTest.cpp | 90 std::string tail = '/' + baselib; local 91 if (!android::base::EndsWith(path, tail)) return false; 92 return library_search_paths.count(path.substr(0, path.size() - tail.size())) > 0;
|
/device/generic/goldfish/audio/ |
audio_hw.c | 74 size_t tail; member in struct:audio_vbuffer 91 audio_vbuffer->tail = 0; 123 if (audio_vbuffer->live == 0 || audio_vbuffer->head > audio_vbuffer->tail) { 125 } else if (audio_vbuffer->head < audio_vbuffer->tail) { 126 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); 151 audio_vbuffer->tail > audio_vbuffer->head) { 152 frames = MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->tail); 153 } else if (audio_vbuffer->tail < audio_vbuffer->head) { 154 frames = MIN(frame_count, audio_vbuffer->head - audio_vbuffer->tail); 159 &audio_vbuffer->data[audio_vbuffer->tail*audio_vbuffer->frame_size] [all...] |
/device/google/cuttlefish_common/guest/hals/audio/ |
audio_hw.c | 77 size_t tail; member in struct:audio_vbuffer 94 audio_vbuffer->tail = 0; 126 if (audio_vbuffer->live == 0 || audio_vbuffer->head > audio_vbuffer->tail) { 128 } else if (audio_vbuffer->head < audio_vbuffer->tail) { 129 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); 154 audio_vbuffer->tail > audio_vbuffer->head) { 155 frames = MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->tail); 156 } else if (audio_vbuffer->tail < audio_vbuffer->head) { 157 frames = MIN(frame_count, audio_vbuffer->head - audio_vbuffer->tail); 162 &audio_vbuffer->data[audio_vbuffer->tail*audio_vbuffer->frame_size] [all...] |
/external/e2fsprogs/debugfs/ |
htree.c | 141 struct ext2_dx_tail *tail; local 160 tail = (struct ext2_dx_tail *)(ent + limit); 162 ext2fs_le32_to_cpu(tail->dt_checksum));
|
/external/ltp/testcases/kernel/controllers/cgroup/ |
cgroup_regression_test.sh | 255 local subsys1=`tail -n 1 /proc/cgroups | awk '{ print $1 }'` 256 local subsys2=`tail -n 2 /proc/cgroups | head -1 | awk '{ print $1 }'` 435 subsys=`tail -n 1 /proc/cgroups | awk '{ print $1 }'`
|
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/ |
DumpActivity.java | 199 mAcTail = findViewById(R.id.tail); 592 final int tail = Utils.parseInt(mAcTail.getText().toString(), 0); local 606 if (tail > 0) { 607 sb.append(" | tail -n "); 608 sb.append(tail);
|
/device/common/ |
generate-packages.sh | 56 TO_EXTRACT=`sed -n -e '/'" $COMPANY"'/,/;;/ p' $EXTRACT_LIST_FILENAME | tail -n+3 | head -n-2 | sed -e 's/\\\//g'` 167 echo tail -n +$(expr 2 + $(cat PROLOGUE $COMPANY/COPYRIGHT PART1 $COMPANY/LICENSE PART2 PART3 | wc -l)) \$0 \| tar zxv >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/lib/ |
astlib.c | 148 register SORAST *child, *sibling=NULL, *tail = NULL, *w;
local 166 if ( sibling == NULL ) {sibling = child; tail = w;}
167 else {tail->ast_right = child; tail = w;}
|
/external/boringssl/src/ssl/test/runner/ |
chacha20_poly1305.go | 68 func sliceForAppend(in []byte, n int) (head, tail []byte) { 75 tail = head[len(in):]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
licm_pass.cpp | 127 inst->InsertBefore(std::move(&(*pre_header_bb->tail())));
|
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
LMpar.h | 63 wa1.tail(n-rank).setZero();
|
/external/flac/libFLAC/ |
metadata_iterators.c | 894 FLAC__Metadata_Node *tail; member in struct:FLAC__Metadata_Chain [all...] |
/external/gptfdisk/ |
gdisk_test.sh | 84 partition=$($GDISK_BIN -l $TEMP_DISK | tail -n 1)
|
/external/grpc-grpc/src/core/lib/iomgr/ |
exec_ctx.cc | 129 closure_list_.head = closure_list_.tail = nullptr;
|
/external/grpc-grpc/src/core/lib/surface/ |
lame_client.cc | 74 mdb->list.tail = &calld->details;
|
/external/iproute2/tc/ |
m_pedit.c | 624 struct rtattr *tail; local 689 tail = NLMSG_TAIL(n); 703 tail->rta_len = (void *)NLMSG_TAIL(n) - (void *)tail;
|
q_netem.c | 176 struct rtattr *tail; local 437 tail = NLMSG_TAIL(n); 527 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
|
/external/mesa3d/src/compiler/glsl/glcpp/tests/ |
glcpp-test-cr-lf.sh | 44 # This is "$cmd | tail -2" but with the exit status of "$cmd" not "tail -2" 45 if (((($cmd; echo $? >&3) | tail -2 | head -1 >&4) 3>&1) | stdintoexitstatus) 4>&1; then
|
/external/mesa3d/src/gallium/state_trackers/clover/util/ |
algorithm.hpp | 53 tail(R &&r) { function in namespace:clover
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
licm_pass.cpp | 127 Instruction* insertion_point = &*pre_header_bb->tail();
|