Searched defs:base (Results 1 - 25 of 35) sorted by relevance

12

/system/core/base/include/base/
H A Dfile.h24 namespace base { namespace in namespace:android
40 } // namespace base
H A Dstringprintf.h24 namespace base { namespace in namespace:android
37 } // namespace base
H A Dstrings.h24 namespace base { namespace in namespace:android
47 } // namespace base
H A Dmemory.h21 namespace base { namespace in namespace:android
44 } // namespace base
H A Dlogging.h24 #include "base/macros.h"
27 namespace base { namespace in namespace:android
55 explicit LogdLogger(LogId default_log_id = android::base::MAIN);
87 ::android::base::LogMessage(__FILE__, __LINE__, ::android::base::DEFAULT, \
88 ::android::base::severity, -1).stream()
93 ::android::base::LogMessage(__FILE__, __LINE__, ::android::base::dest, \
94 ::android::base::severity, -1).stream()
99 ::android::base
[all...]
/system/core/base/
H A Dstringprintf.cpp17 #include "base/stringprintf.h"
24 namespace base { namespace in namespace:android
84 } // namespace base
H A Dfile.cpp17 #include "base/file.h"
26 #include "base/macros.h" // For TEMP_FAILURE_RETRY on Darwin.
27 #define LOG_TAG "base.file"
32 namespace base { namespace in namespace:android
147 } // namespace base
H A Dstrings.cpp17 #include "base/strings.h"
26 namespace base { namespace in namespace:android
37 size_t base = 0; local
40 found = s.find_first_of(delimiters, base);
41 result.push_back(s.substr(base, found - base));
42 base = found + 1;
116 } // namespace base
H A Dlogging.cpp17 #include "base/logging.h"
36 #include "base/strings.h"
49 namespace base { namespace in namespace:android
303 } // namespace base
/system/bt/osi/src/
H A Dringbuffer.c28 uint8_t *base; member in struct:ringbuffer_t
38 p->base = osi_calloc(size);
39 if (p->base == 0) {
44 p->head = p->tail = p->base;
52 osi_free(rb->base);
75 if (rb->tail >= (rb->base + rb->total))
76 rb->tail = rb->base;
90 if (rb->head >= (rb->base + rb->total))
106 if (b >= (rb->base + rb->total))
107 b = rb->base;
[all...]
/system/core/fastboot/
H A Dbootimg_utils.cpp43 unsigned page_size, unsigned base, unsigned tags_offset,
70 hdr->kernel_addr = base + kernel_offset;
71 hdr->ramdisk_addr = base + ramdisk_offset;
72 hdr->second_addr = base + second_offset;
73 hdr->tags_addr = base + tags_offset;
40 mkbootimg(void *kernel, unsigned kernel_size, unsigned kernel_offset, void *ramdisk, unsigned ramdisk_size, unsigned ramdisk_offset, void *second, unsigned second_size, unsigned second_offset, unsigned page_size, unsigned base, unsigned tags_offset, unsigned *bootimg_size) argument
H A Dusb_linux.c308 static usb_handle *find_usb_device(const char *base, ifc_match_func callback) argument
320 busdir = opendir(base);
/system/extras/perfprofd/quipper/base/
H A Dmacros.h16 #include "quipper/base/compiler_specific.h" // For ALLOW_UNUSED.
33 // NOTE: The usage of this macro was banned from our code base, but some
237 // the base::LINKER_INITIALIZED argument. Normally, it is unsafe to declare a
243 // explicit MyClass(base::LinkerInitialized x) {}
245 // static MyClass my_variable_name(base::LINKER_INITIALIZED);
246 namespace base { namespace
251 // thread-safe initialization, use base/lazy_instance.h instead.
255 } // base
/system/core/mkbootimg/
H A Dmkbootimg.c67 " [ --base <address> ]\n"
122 uint32_t base = 0x10000000U; local
155 } else if(!strcmp(arg, "--base")) {
156 base = strtoul(val, 0, 16);
183 hdr.kernel_addr = base + kernel_offset;
184 hdr.ramdisk_addr = base + ramdisk_offset;
185 hdr.second_addr = base + second_offset;
186 hdr.tags_addr = base + tags_offset;
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/
H A Dkernel.h98 simple_strtoul(const char *nptr, char **endptr, int base) argument
100 return strtoul(nptr, endptr, base);
/system/bt/embdrv/sbc/decoder/include/
H A Doi_bt_spec.h105 OI_UINT8 base[OI_BT_UUID128_SIZE - sizeof(OI_UINT32)]; /**< remainder of 128-bit UUID, array of 8-bit values */ member in struct:__anon698
/system/bt/embdrv/sbc/encoder/srce/
H A Dsbc_encoder.c97 UINT8 base; member in struct:__anon721
109 if(idx > 0){if((idx&1)&&(pstrEncParams->u16PacketLength > (sbc_prtc_cb.base+(idx<<1)))) {tmp2=idx<<1; tmp=ar[idx];ar[idx]=ar[tmp2];ar[tmp2]=tmp;} \
277 if(pstrEncParams->u16PacketLength > ((sbc_prtc_cb.fr[sbc_prtc_cb.index].idx * 2) + sbc_prtc_cb.base))
282 SBC_PRTC_SCRMB((&pu8[sbc_prtc_cb.base]));
401 sbc_prtc_cb.base = 6 + pstrEncParams->s16NumOfChannels*pstrEncParams->s16NumOfSubBands/2;
/system/bt/stack/a2dp/
H A Da2d_sbc.c103 UINT8 base; member in struct:__anon776
132 a2d_sbc_ds_cb.base = 6 + num_chnl*num_subband/2;
133 /*printf("base: %d\n", a2d_sbc_ds_cb.base);
172 p_pkt = &p_pkt[a2d_sbc_ds_cb.base];
173 if((idx&1) && (len > (a2d_sbc_ds_cb.base+(idx<<1))))
192 (a2d_sbc_ds_cb.base+(idx<<1)));
/system/core/liblog/tests/
H A Dbenchmark_main.cpp39 int base = 1; local
40 while (base*10 < n) {
41 base *= 10;
43 if (n < 2*base) {
44 return 2*base;
46 if (n < 5*base) {
47 return 5*base;
49 return 10*base;
/system/core/libpixelflinger/codeflinger/
H A DCodeCache.cpp136 uint32_t* Assembly::base() const
204 char* base = reinterpret_cast<char*>(assembly->base()); local
205 char* curr = reinterpret_cast<char*>(base + assembly->size());
206 __builtin___clear_cache(base, curr);
H A DARMAssembler.cpp49 mBase = mPC = (uint32_t *)assembly->base();
65 uint32_t* ARMAssembler::base() const function in class:android::ARMAssembler
72 mBase = mPC = (uint32_t *)mAssembly->base();
91 size_t count = pc()-base();
92 uint32_t* i = base();
180 mAssembly->resize( int(pc()-base())*4 );
185 ALOGI(format, name, int(pc()-base()), base(), pc(), duration);
189 int err = qemu_add_mapping(uintptr_t(base()), name);
197 printf(format, name, int(pc()-base()), bas
[all...]
/system/extras/puncture_fs/
H A Dpuncture_fs.c74 const u64 id, char * const base,
81 base[random() % min(base_length, size)] = get_random_char();
95 if (write(fd, base, base_length) < 0) {
105 if (write(fd, base, size - length) < 0) {
73 create_unique_file(const char * const dir_path, const u64 size, const u64 id, char * const base, const u64 base_length) argument
/system/extras/tests/bionic/libc/other/
H A Dtest_jpeg.c51 char* base; member in struct:__anon1539
61 src->jpeg_mgr.next_input_byte = (unsigned char*)src->base,
62 src->jpeg_mgr.bytes_in_buffer = src->end - src->base;
92 src->jpeg_mgr.next_input_byte = (unsigned char*)src->base;
93 src->jpeg_mgr.bytes_in_buffer = src->end - src->base;
104 _source_init( SourceMgr src, char* base, long size ) argument
106 src->base = base;
107 src->cursor = base;
108 src->end = base
[all...]
/system/core/adb/
H A Dusb_linux.cpp36 #include <base/file.h>
37 #include <base/stringprintf.h>
38 #include <base/strings.h>
125 static void find_usb_device(const char *base, argument
135 busdir = opendir(base);
141 snprintf(busname, sizeof busname, "%s/%s", base, de->d_name);
632 std::string serial_path = android::base::StringPrintf(
635 if (!android::base::ReadFileToString(serial_path, &serial)) {
642 serial = android::base::Trim(serial);
/system/core/adf/libadf/
H A Dadf.c665 struct adf_event base; member in struct:__anon1313
695 *event = &event_ret->base;

Completed in 553 milliseconds

12