Searched defs:start (Results 1 - 25 of 56) sorted by relevance

123

/system/core/libsysutils/src/
H A DServiceManager.cpp16 * - Starting a service is done by writing its name to the "ctl.start"
17 * system property. This triggers the init daemon to actually start
26 * If strlen(<name>) > (PROPERTY_KEY_MAX-1)-9, then you can start/stop
27 * the service by writing to ctl.start/stop, but you won't be able to
33 /* The maximum amount of time to wait for a service to start or stop,
41 int ServiceManager::start(const char *name) { function in class:ServiceManager
52 property_set("ctl.start", name);
62 SLOGW("Timed out waiting for service '%s' to start", name);
/system/core/logd/
H A DFlushCommand.cpp30 log_time start)
36 , mStart(start)
25 FlushCommand(LogReader &reader, bool nonBlock, unsigned long tail, unsigned int logMask, pid_t pid, log_time start) argument
H A DLogTimes.cpp31 log_time start)
44 , mStart(start)
132 log_time start = me->mStart; local
137 logbuf.flushTo(client, start, privileged, FilterFirstPass, me);
139 start = logbuf.flushTo(client, start, privileged, FilterSecondPass, me);
143 if (start == LogBufferElement::FLUSH_ERROR) {
28 LogTimeEntry(LogReader &reader, SocketClient *client, bool nonBlock, unsigned long tail, unsigned int logMask, pid_t pid, log_time start) argument
H A DLogReader.cpp58 log_time start(log_time::EPOCH);
59 static const char _start[] = " start=";
63 start.strptime(cp + sizeof(_start) - 1, "%s.%q");
104 if (start == log_time::EPOCH) {
105 start = LogTimeEntry::EPOCH;
111 log_time &start; member in class:LogFindStart
115 LogFindStart(unsigned logMask, pid_t pid, log_time &start) argument
119 , start(start)
128 if (me->start
[all...]
/system/vold/
H A DNetlinkHandler.cpp37 int NetlinkHandler::start() { function in class:NetlinkHandler
H A DNetlinkManager.cpp50 int NetlinkManager::start() { function in class:NetlinkManager
82 if (mHandler->start()) {
83 SLOGE("Unable to start NetlinkHandler: %s", strerror(errno));
/system/core/libbacktrace/
H A DBacktraceMap.cpp43 if (addr >= it->start && addr < it->end) {
51 unsigned long int start; local
62 &start, &end, permissions, &name_pos) != 3) {
69 &start, &end, permissions, &name_pos) != 3) {
74 map->start = start;
95 ALOGV("Parsed map: start=%p, end=%p, flags=%x, name=%s",
96 reinterpret_cast<void*>(map->start), reinterpret_cast<void*>(map->end),
H A DGetPss.cpp61 uintptr_t start, end; local
62 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR " ", &start, &end) != 2) {
66 for (size_t page = start/pagesize; page < end/pagesize; page++) {
H A Dmap_info.c36 unsigned long int start; local
41 &start, &end, permissions, &name_pos) != 3) {
50 mi->start = start;
57 ALOGV("Parsed map: start=0x%08x, end=0x%08x, "
59 mi->start, mi->end,
97 unsigned long int start; local
101 if (sscanf(line, "%lx-%lx %4s %*x %*x:%*x %*d%n", &start, &end,
117 mi->start = start;
[all...]
/system/netd/server/
H A DNetlinkManager.cpp89 if (handler->start()) {
90 ALOGE("Unable to start NetlinkHandler: %s", strerror(errno));
98 int NetlinkManager::start() { function in class:NetlinkManager
/system/core/include/backtrace/
H A DBacktraceMap.h36 uintptr_t start; member in struct:backtrace_map_t
/system/core/libcutils/
H A Dtrace.c63 char* start = value; local
67 while (start != NULL) {
68 char* end = strchr(start, ',');
75 if (strcmp(cmdline, start) == 0) {
79 start = end;
/system/core/liblog/tests/
H A Dliblog_benchmark.cpp177 uint64_t start = ts.nsec(); local
179 if (end >= start) {
180 StartBenchmarkTiming(start);
/system/core/libzipfile/
H A Dcentraldir.c135 * readable from start to end. In some cases, notably for archives
158 const unsigned char* start; local
170 start = buf + bufsize - MAX_EOCD_SEARCH;
172 start = buf;
175 while (p >= start) {
182 if (p < start) {
/system/extras/tests/sdcard/
H A Dstopwatch.cpp78 void StopWatch::start() function in class:android_test::StopWatch
146 // reallocate the measurement buffer (e.g start and stop called more
161 // Go over all the samples and compute the diffs between a start and
170 for (size_t i = 0; i < mDataLen; i += 2) // even: start odd: stop
/system/core/fastbootd/other/
H A Dgptedit.c179 printf("ptn start block end block name\n");
243 unsigned start, end; local
269 start = strtoul(c, NULL, 10);
279 data.first_lba = start;
282 fprintf(stderr, "Adding (%d,%d) %s as, [%s, %s]", start, end, name, (char *) data.type_guid, (char *) data.partition_guid);
/system/core/libdiskconfig/
H A Dconfig_mbr.c29 /* start and len are in LBA units */
32 uint32_t start, uint32_t len)
37 memset(&pentry->start, 0xff, sizeof(struct chs));
41 memset(&pentry->start, 0, sizeof(struct chs));
47 pentry->start_lba = start;
137 * ext_lba == The start of the toplevel extended partition (pointed to by the
154 * lba counter since that is where the logical data partition will start */
191 /* The start lba for next partition is an offset from the beginning
31 cfg_pentry(struct pc_partition *pentry, uint8_t status, uint8_t type, uint32_t start, uint32_t len) argument
/system/core/toolbox/
H A Dnandread.c35 loff_t start = 0, len = 0; local
65 start = strtoll(optarg, NULL, 0);
82 " -S <start> Start offset (default 0)\n"
189 end = len ? (start + len) : mtdinfo.size;
190 for (pos = start, opos = 0; pos < end; pos += mtdinfo.writesize) {
201 oobbuf.start = pos;
266 "%08x %08x %08x %08x\n", pos, oobbuf.start,
/system/extras/tests/ext4/
H A Drand_emmc_perf.c39 struct timeval start; member in struct:stats
73 timersub(&stats_buf[i].end, &stats_buf[i].start, &t);
100 timersub(&stats_buf[i].end, &stats_buf[i].start, &t); /* Xi */
124 gettimeofday(&stats_buf[i].start, NULL);
148 struct timeval start, end, res; local
154 gettimeofday(&start, NULL);
170 timersub(&end, &start, &res);
177 timersub(&end, &start, &res);
/system/keymaster/
H A Dkey_blob.cpp121 const uint8_t* start = buf; local
127 assert(buf - start == static_cast<ptrdiff_t>(SerializedSize()));
/system/core/cpio/
H A Dmkbootfs.c271 void archive(const char *start, const char *prefix) argument
276 strcpy(in, start);
/system/core/fastbootd/commands/
H A Dboot.c65 unsigned start; member in struct:atag_initrd2
190 .start = hdr->ramdisk_addr,
/system/core/include/diskconfig/
H A Ddiskconfig.h66 struct chs start; /* bytes 1-3 */ member in struct:pc_partition
/system/core/libpixelflinger/codeflinger/
H A Ddisassem.c578 int start; local
582 start = -1;
586 if (start != -1) {
592 if (start == loop - 1)
593 di->di_printf("r%d", start);
595 di->di_printf("r%d-r%d", start, loop - 1);
596 start = -1;
600 start = loop;
/system/core/libsparse/
H A Dbacked_block.c145 struct backed_block_list *to, struct backed_block *start,
150 if (start == NULL) {
151 start = from->data_blocks;
155 for (end = start; end && end->next; end = end->next)
159 if (start == NULL || end == NULL) {
165 if (from->data_blocks == start) {
169 if (bb->next == start) {
177 to->data_blocks = start;
181 if (!bb->next || bb->next->block > start->block) {
183 bb->next = start;
144 backed_block_list_move(struct backed_block_list *from, struct backed_block_list *to, struct backed_block *start, struct backed_block *end) argument
[all...]

Completed in 520 milliseconds

123