/aosp_15_r20/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | AssociationState.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 69 int mProcStateSeq = -1; 144 final long now = start(-1); in start() 167 final long now = stop(-1); in stop() 177 mNesting--; in stop() 182 mDuration += now - mStartUptime; in stop() 210 final long addedDuration = mActiveDuration + now - mActiveStartUptime; in startActive() 242 mActiveNesting--; in stopActive() 243 final long addedDuration = now - mActiveStartUptime; in stopActive() 252 mAssociationState.mTotalActiveNesting--; in stopActive() [all …]
|
/aosp_15_r20/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | transpose.c | 2 * Copyright (c) 2008-2020 Stefan Krah. All rights reserved. 55 mpd_size_t idest, isrc; in std_trans() local 59 isrc = r * cols; in std_trans() 62 dest[idest] = src[isrc]; in std_trans() 63 isrc += 1; in std_trans() 70 * Swap half-rows of 2^n * (2*2^n) matrix. 100 m = cols - 1; in swap_halfrows_pow2() 117 stride = (offset + b < cols/2) ? b : cols/2-offset; in swap_halfrows_pow2() 149 /* In-place transpose of a square matrix */ 154 mpd_size_t idest, isrc; in squaretrans() local [all …]
|
/aosp_15_r20/external/protobuf/src/google/protobuf/stubs/ |
H A D | structurally_valid.cc | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 41 // These four-byte entries compactly encode how many bytes 0..255 to delete 43 // 0..64k-1 of the replacement string in remap_string. 51 // signed one-byte entries. The first is only generated by executable code. 52 // To distinguish from next-state entries, these must be contiguous and 77 // give the byte offset and length within state_table of the initial state -- 79 // truncated UTF-8 strings, may end in a different state. These allow a quick 81 // byte value and 6 for space-optimized tables subscripted by only six 82 // significant bits in UTF-8 continuation bytes. [all …]
|
/aosp_15_r20/external/cronet/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | structurally_valid.cc | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 41 // These four-byte entries compactly encode how many bytes 0..255 to delete 43 // 0..64k-1 of the replacement string in remap_string. 51 // signed one-byte entries. The first is only generated by executable code. 52 // To distinguish from next-state entries, these must be contiguous and 77 // give the byte offset and length within state_table of the initial state -- 79 // truncated UTF-8 strings, may end in a different state. These allow a quick 81 // byte value and 6 for space-optimized tables subscripted by only six 82 // significant bits in UTF-8 continuation bytes. [all …]
|
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
D | commoncontrols.h | 1 /*** Autogenerated by WIDL 1.6 from include/commoncontrols.idl - Do not edit ***/ 49 * This file is part of the mingw-w64 runtime package. 141 MIDL_INTERFACE("46eb5926-582e-4017-9fdf-e8998daa0950") 186 int iSrc, 343 int iSrc, 454 #define IImageList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppv… 455 #define IImageList_AddRef(This) (This)->lpVtbl->AddRef(This) 456 #define IImageList_Release(This) (This)->lpVtbl->Release(This) 458 #define IImageList_Add(This,hbmImage,hbmMask,pi) (This)->lpVtbl->Add(This,hbmImage,hbmMask,pi) 459 #define IImageList_ReplaceIcon(This,i,hicon,pi) (This)->lpVtbl->ReplaceIcon(This,i,hicon,pi) [all …]
|
D | comutil.h | 3 * This file is part of the mingw-w64 runtime package. 205 inline _bstr_t::operator const wchar_t *() const throw() { return (m_Data!=NULL) ? m_Data->GetWStri… in throw() 206 …r_t *() const throw() { return const_cast<wchar_t *>((m_Data!=NULL) ? m_Data->GetWString() : NULL)… in throw() 207 inline _bstr_t::operator const char *() const { return (m_Data!=NULL) ? m_Data->GetString() : NULL;… 208 inline _bstr_t::operator char *() const { return const_cast<char *>((m_Data!=NULL) ? m_Data->GetStr… 209 inline bool _bstr_t::operator!() const throw() { return (m_Data!=NULL) ? !m_Data->GetWString() : tr… 216 …t::copy(bool fCopy) const { return (m_Data!=NULL) ? (fCopy ? m_Data->Copy() : m_Data->GetWString()… in copy() 217 inline unsigned int _bstr_t::length() const throw() { return (m_Data!=NULL) ? m_Data->Length() : 0;… in length() 219 _COM_ASSERT(!s || !m_Data || m_Data->GetWString()!=s); in Assign() 220 if(!s || !m_Data || m_Data->GetWString()!=s) { in Assign() [all …]
|
/aosp_15_r20/external/flac/test/ |
H A D | cuesheet.ok | 8 pass1: parse error, line 1: "CD-DA CATALOG number must be 13 decimal digits" 26 pass1: parse error, line 104: "CD-DA INDEX number must be between 0 and 99, inclusive" 36 pass1: parse error, line 5: "CD-DA INDEX offsets must increase in time" 38 pass1: parse error, line 6: "CD-DA INDEX offsets must increase in time" 40 pass1: parse error, line 4: "found multiple ISRC commands" 42 pass1: parse error, line 2: "ISRC command must come after TRACK but before INDEX" 44 pass1: parse error, line 4: "ISRC command must come after TRACK but before INDEX" 46 pass1: parse error, line 3: "ISRC is missing ISRC number" 48 pass1: parse error, line 3: "invalid ISRC number" 64 pass1: parse error, line 2: "CD-DA TRACK number must be between 1 and 99, inclusive" [all …]
|
/aosp_15_r20/external/flac/src/share/grabbag/ |
H A D | cuesheet.c | 1 /* grabbag - Convenience lib for various routines common to several tools 2 * Copyright (C) 2002-2009 Josh Coalson 3 * Copyright (C) 2011-2023 Xiph.Org Foundation 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 54 return -1; in local__parse_int64_() 59 return -1; in local__parse_int64_() 61 ret = ret * 10 + (c - '0'); in local__parse_int64_() 64 return -1; in local__parse_int64_() 74 return -1; in local__parse_int_() 78 /* accept minute:second:frame syntax of '[0-9]+:[0-9][0-9]?:[0-9][0-9]?', but max second of 59 and … [all …]
|
/aosp_15_r20/external/javassist/src/main/javassist/bytecode/ |
H A D | ByteArray.java | 2 * Javassist, a Java-bytecode translator toolkit. 3 * Copyright (C) 1999- Shigeru Chiba. All Rights Reserved. 67 * @param isrc the index into the source byte array. 71 static void copy32bit(byte[] src, int isrc, byte[] dest, int idest) { in copy32bit() argument 72 dest[idest] = src[isrc]; in copy32bit() 73 dest[idest + 1] = src[isrc + 1]; in copy32bit() 74 dest[idest + 2] = src[isrc + 2]; in copy32bit() 75 dest[idest + 3] = src[isrc + 3]; in copy32bit()
|
/aosp_15_r20/external/cronet/third_party/ced/src/compact_enc_det/ |
H A D | compact_enc_det.cc | 7 // http://www.apache.org/licenses/LICENSE-2.0 37 // Consider font=TT-BHxxx as user-defined => binary 40 // Consider removing/ignoring bytes 01-1F to avoid crap pollution 53 // CP-1252 and UTF-8. A less common encoding error is a third-party feed that 54 // has been converted from CP-1252 to UTF-8 and then those bytes converted a 55 // second time to UTF-8. CED originally attempted to detect these error cases 69 // The effect is that CP-1252 and UTF-8 mixtures will usually be detected as 71 // CP-1252 bytes to UTF-8, instead of the less-helpful FFFD substitution. UTF-8 72 // and double-UTF-8 mixtures will be detected as UTF-8, and the double 75 // However, it is occasionally useful to use CED to detect double-converted [all …]
|
/aosp_15_r20/external/protobuf/csharp/ |
H A D | generate_protos.sh | 6 set -e 14 if [ -z "$PROTOC" ]; then 16 if [ -x solution/Debug/protoc.exe ]; then 18 elif [ -x cmake/build/Debug/protoc.exe ]; then 20 elif [ -x cmake/build/Release/protoc.exe ]; then 22 elif [ -x src/protoc ]; then 30 # descriptor.proto and well-known types 31 $PROTOC -Isrc --csharp_out=csharp/src/Google.Protobuf \ 32 --csharp_opt=base_namespace=Google.Protobuf \ 49 $PROTOC -Isrc -Icsharp/protos \ [all …]
|
/aosp_15_r20/external/cronet/third_party/protobuf/csharp/ |
H A D | generate_protos.sh | 6 set -e 14 if [ -z "$PROTOC" ]; then 16 if [ -x solution/Debug/protoc.exe ]; then 18 elif [ -x cmake/build/Debug/protoc.exe ]; then 20 elif [ -x cmake/build/Release/protoc.exe ]; then 22 elif [ -x src/protoc ]; then 30 # descriptor.proto and well-known types 31 $PROTOC -Isrc --csharp_out=csharp/src/Google.Protobuf \ 32 --csharp_opt=base_namespace=Google.Protobuf \ 49 $PROTOC -Isrc -Icsharp/protos \ [all …]
|
/aosp_15_r20/external/flac/src/test_libs_common/ |
H A D | metadata_utils.c | 1 /* test_libFLAC - Unit tester for libFLAC 2 * Copyright (C) 2002-2009 Josh Coalson 3 * Copyright (C) 2011-2023 Xiph.Org Foundation 17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 37 if(blockcopy->min_blocksize != block->min_blocksize) { in mutils__compare_block_data_streaminfo() 38 …printf("FAILED, min_blocksize mismatch, expected %u, got %u\n", block->min_blocksize, blockcopy->m… in mutils__compare_block_data_streaminfo() 41 if(blockcopy->max_blocksize != block->max_blocksize) { in mutils__compare_block_data_streaminfo() 42 …printf("FAILED, max_blocksize mismatch, expected %u, got %u\n", block->max_blocksize, blockcopy->m… in mutils__compare_block_data_streaminfo() 45 if(blockcopy->min_framesize != block->min_framesize) { in mutils__compare_block_data_streaminfo() 46 …printf("FAILED, min_framesize mismatch, expected %u, got %u\n", block->min_framesize, blockcopy->m… in mutils__compare_block_data_streaminfo() [all …]
|
/aosp_15_r20/external/coreboot/src/soc/mediatek/mt8195/ |
H A D | Makefile.mk | 1 ## SPDX-License-Identifier: GPL-2.0-only 5 all-y += ../common/flash_controller.c 6 all-y += ../common/gpio.c ../common/gpio_op.c gpio.c 7 all-y += ../common/i2c.c i2c.c 8 all-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c 9 all-y += ../common/timer.c ../common/timer_prepare.c 10 all-y += ../common/uart.c 12 bootblock-y += bootblock.c 13 bootblock-y += ../common/early_init.c 14 bootblock-y += ../common/eint_event.c [all …]
|
/aosp_15_r20/external/XNNPACK/ |
H A D | build_defs.bzl | 14 """Compiler flags for size-optimized builds.""" 15 return ["-Os"] 18 """GCC-like compiler flags to specify language standard for C sources.""" 19 return ["-std=c99"] 27 return ["-std=gnu++11"] 85 optimized_copts = ["-O2"], 92 """C/C++/assembly library with architecture-specific configuration. 94 Define a static library with architecture- and instruction-specific 99 srcs: The list of architecture-independent source files. 100 x86_srcs: The list of x86-specific source files. [all …]
|
/aosp_15_r20/external/coreboot/src/vendorcode/mediatek/mt8195/ |
H A D | Makefile.mk | 1 subdirs-y += dramc 3 CPPFLAGS_common += -Isrc/soc/mediatek/mt8195/include 4 CPPFLAGS_common += -Isrc/soc/mediatek/common/include 5 CPPFLAGS_common += -Isrc/vendorcode/mediatek/mt8195/include 6 CPPFLAGS_common += -DFOR_COREBOOT
|
/aosp_15_r20/external/coreboot/src/vendorcode/mediatek/mt8192/ |
H A D | Makefile.mk | 1 subdirs-y += dramc 3 CPPFLAGS_common += -Isrc/soc/mediatek/mt8192/include 4 CPPFLAGS_common += -Isrc/soc/mediatek/common/include 5 CPPFLAGS_common += -Isrc/vendorcode/mediatek/mt8192/include
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_alu_readport_validation.cpp | 1 /* -*- mesa-c++ -*- 4 * SPDX-License-Identifier: MIT 26 int cycle = -1; 27 int isrc = -1; member in r600::ReserveReadport 28 int src0_sel = -1; 29 int src0_chan = -1; 81 if (src[0]->as_register()) { in schedule_vec_src() 82 visitor.src0_sel = src[0]->sel(); in schedule_vec_src() 83 visitor.src0_chan = src[0]->chan(); in schedule_vec_src() 91 visitor.isrc = i; in schedule_vec_src() [all …]
|
/aosp_15_r20/external/skia/src/core/ |
H A D | SkMatrix.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 34 // and therefore faster (e.g. clients can forward-difference calculations). in doNormalizePerspective() 45 this->setTypeMask(kUnknown_Mask); in doNormalizePerspective() 53 this->setTypeMask(kUnknown_Mask); in set9() 67 this->setTypeMask(kUnknown_Mask); in setAffine() 88 // transform flags - this does not disable any optimizations, respects in computePerspectiveTypeMask() 116 // The skew components may be scale-inducing, unless we are dealing in computeTypeMask() 126 // is all non-zero. in computeTypeMask() 128 // map non-zero to 1 in computeTypeMask() 145 // all non-zero. in computeTypeMask() [all …]
|
/aosp_15_r20/external/flac/src/test_libFLAC/ |
H A D | metadata_object.c | 1 /* test_libFLAC - Unit tester for libFLAC 2 * Copyright (C) 2002-2009 Josh Coalson 3 * Copyright (C) 2011-2023 Xiph.Org Foundation 17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 51 if(from->offset != to->offset) { in compare_track_() 52 …FAILED, track offset mismatch, expected %" PRIu64 ", got %" PRIu64 "\n", to->offset, from->offset); in compare_track_() 55 if(from->number != to->number) { in compare_track_() 56 …ILED, track number mismatch, expected %u, got %u\n", (uint32_t)to->number, (uint32_t)from->number); in compare_track_() 59 if(0 != strcmp(from->isrc, to->isrc)) { in compare_track_() 60 printf("FAILED, track number mismatch, expected %s, got %s\n", to->isrc, from->isrc); in compare_track_() [all …]
|
/aosp_15_r20/external/coreboot/src/soc/mediatek/mt8186/ |
H A D | Makefile.mk | 1 ## SPDX-License-Identifier: GPL-2.0-only 5 all-y += ../common/cpu_id.c 6 all-y += ../common/flash_controller.c 7 all-y += ../common/gpio.c ../common/gpio_op.c gpio.c 8 all-y += ../common/i2c.c i2c.c 9 all-y += ../common/pll.c pll.c 10 all-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c 11 all-y += ../common/timer.c ../common/timer_prepare.c 12 all-y += ../common/uart.c 14 bootblock-y += bootblock.c [all …]
|
/aosp_15_r20/external/coreboot/src/soc/mediatek/mt8192/ |
H A D | Makefile.mk | 1 ## SPDX-License-Identifier: GPL-2.0-only 5 all-y += ../common/flash_controller.c 6 all-y += ../common/gpio.c ../common/gpio_op.c gpio.c 7 all-y += ../common/i2c.c i2c.c 8 all-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c 9 all-y += ../common/timer.c 10 all-y += ../common/uart.c 12 bootblock-y += bootblock.c 13 bootblock-y += ../common/eint_event.c 14 bootblock-y += ../common/mmu_operations.c [all …]
|
/aosp_15_r20/external/skia/gm/ |
H A D | poly2poly.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 38 static void doDraw(SkCanvas* canvas, const SkFont& font, SkPaint* paint, const int isrc[], in doDraw() argument 44 src[i].set(SkIntToScalar(isrc[2*i+0]), SkIntToScalar(isrc[2*i+1])); in doDraw() 48 canvas->save(); in doDraw() 50 canvas->concat(matrix); in doDraw() 52 paint->setColor(SK_ColorGRAY); in doDraw() 53 paint->setStyle(SkPaint::kStroke_Style); in doDraw() 55 canvas->drawRect(SkRect::MakeWH(D, D), *paint); in doDraw() 56 canvas->drawLine(0, 0, D, D, *paint); in doDraw() 57 canvas->drawLine(0, D, D, 0, *paint); in doDraw() [all …]
|
/aosp_15_r20/external/coreboot/src/soc/mediatek/mt8188/ |
H A D | Makefile.mk | 1 ## SPDX-License-Identifier: GPL-2.0-only 4 all-y += ../common/flash_controller.c 5 all-y += ../common/gpio.c ../common/gpio_op.c gpio.c 6 all-y += ../common/i2c.c i2c.c 7 all-y += ../common/pll.c pll.c 8 all-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c 9 all-y += timer.c ../common/timer_prepare.c 10 all-y += ../common/uart.c 12 bootblock-y += ../common/bootblock.c bootblock.c 13 bootblock-y += ../common/eint_event.c [all …]
|
/aosp_15_r20/external/pdfium/core/fxcrt/ |
H A D | cfx_seekablestreamproxy.cpp | 2 // Use of this source code is governed by a BSD-style license that can be 47 --iPending; in UTF8Decode() 80 // Perform self-intersecting copy in reverse order. in UTF16ToWChar() 81 for (size_t i = iLength; i > 0; --i) in UTF16ToWChar() 82 pDst[i - 1] = static_cast<wchar_t>(pSrc[i - 1]); in UTF16ToWChar() 87 while (iLength-- > 0) { in SwapByteOrder() 135 return m_pStream->GetSize(); in GetSize() 172 std::min(iBufferSize, static_cast<size_t>(GetSize() - m_iPosition)); in ReadData() 176 if (!m_pStream->ReadBlockAtOffset({pBuffer, iBufferSize}, m_iPosition)) in ReadData() 205 size_t iBytes = std::min(size, static_cast<size_t>(GetSize() - pos)); in ReadBlock() [all …]
|