Searched refs:str (Results 26 - 49 of 49) sorted by relevance

12

/system/core/libcorkscrew/
H A Dsymbol_table.c116 char *str = NULL; local
121 str = base + shdr[str_idx].sh_offset;
141 && str[syms[i].st_name]
178 && str[syms[i].st_name]
181 table->symbols[symbol_index].name = strdup(str + syms[i].st_name);
/system/core/toolbox/grep/
H A Dfastgrep.c326 grep_revstr(unsigned char *str, int len) argument
332 c = str[i];
333 str[i] = str[len - i - 1];
334 str[len - i - 1] = c;
H A Dutil.c61 static int procline(struct str *l, int);
191 struct str ln;
286 procline(struct str *l, int nottext)
430 grep_strdup(const char *str) argument
434 if ((ret = strdup(str)) == NULL)
443 printline(struct str *line, int sep, regmatch_t *matches, int m)
H A Dgrep.c370 char *str; local
381 while ((str = strsep(&eopts, " ")) != NULL)
382 eargv[eargc++] = grep_strdup(str);
/system/extras/atrace/
H A Datrace.c108 bool writeStr(const char* filename, const char* str) argument
118 ssize_t len = strlen(str);
119 if (write(fd, str, len) != len) {
249 char str[32] = "1"; local
254 snprintf(str, 32, "%d", size);
255 return writeStr(k_traceBufferSizePath, str);
/system/extras/tests/memtest/
H A Dfptest.cpp51 static void endTime(const char *str, double ops) argument
55 printf("Test: %s, %f Mops\n", str, ops / ds / 1e6);
H A Dmemtest.cpp528 char* str = (char*)calloc(MAX_SIZE+4+8, 1); local
556 memset(str, 'A', size-1);
557 if (j==0) preload(str, DCACHE_SIZE*4); // flush D
558 else preload(str, size); // load D
564 c = strlen(str);
583 free(str);
/system/core/libcutils/arch-arm/
H A Dmemset32.S55 str lr, [sp, #-4]!
/system/extras/tests/sdcard/
H A Dsysutil.cpp74 // @param size The size of the buffer pointed by str. Must be >= 1.
235 int kernelVersion(char *str, size_t size) argument
237 return readStringFromFile(kKernelVersion, str, size);
285 int schedFeatures(char *str, size_t size) argument
287 return readStringFromFile(kSchedFeatures, str, size);
H A Dplot_sdcard.py61 return str(zip(self.time, self.data))
312 print str(err)
/system/core/sh/
H A Djobs.c1395 const char *p, *str = 0; local
1415 str = "${#";
1417 str = "${";
1422 c = *str++;
1427 str = "}";
1435 str = "(...)";
1439 str = "$(...)\"";
1443 str = "((";
1447 str = ")";
1456 str
[all...]
H A Dparser.c1369 char *volatile str; local
1380 if (str)
1381 ckfree(str);
1387 str = NULL;
1390 str = ckmalloc(savelen);
1391 memcpy(str, stackblock(), savelen);
1492 if (str) {
1493 memcpy(out, str, savelen);
1496 ckfree(str);
1497 str
[all...]
/system/core/libcutils/
H A Dtzstrftime.c634 _add(str, pt, ptlim, modifier)
635 const char * str;
644 while (pt < ptlim && (*pt = tolower(*str++)) != '\0') {
650 while (pt < ptlim && (*pt = toupper(*str++)) != '\0') {
656 while (pt < ptlim && (c = *str++) != '\0') {
669 while (pt < ptlim && (*pt = *str++) != '\0') {
/system/core/libdiskconfig/
H A Ddiskconfig.c38 parse_len(const char *str, uint64_t *plen) argument
44 strncpy(tmp, str, sizeof(tmp));
67 ALOGE("Invalid length specified: %s", str);
/system/core/libpixelflinger/
H A Dt32cb16blend.S179 str r12, [r0, #-4]
192 str r12, [r0, #-4]
/system/core/liblog/
H A Dlogprint.c334 static inline char * strip_end(char *str) argument
336 char *end = str + strlen(str) - 1;
338 while (end >= str && isspace(*end))
340 return str;
361 * tag str
/system/core/charger/
H A Dcharger.c367 LOGV("uevent str: %s\n", msg);
575 char str[256]; local
580 snprintf(str, sizeof(str), "%s\n", event);
581 do_coldboot(charger, d, str, true, 1);
586 static int draw_text(const char *str, int x, int y) argument
588 int str_len_px = gr_measure(str);
594 gr_text(x, y, str);
/system/core/adb/
H A Dsysdeps.h258 extern char* adb_strtok_r(char *str, const char *delim, char **saveptr);
497 static __inline__ char* adb_strtok_r(char *str, const char *delim, char **saveptr) argument
499 return strtok_r(str, delim, saveptr);
H A Dsockets.c611 #define PREFIX(str) { str, sizeof(str) - 1 }
613 const char *str; member in struct:prefix_struct
632 if (!strncmp(service, prefixes[i].str, prefixes[i].len))
/system/netd/
H A DMDnsSdListener.h111 void stop(SocketClient *cli, int argc, char **argv, const char *str);
H A DMDnsSdListener.cpp130 void MDnsSdListener::Handler::stop(SocketClient *cli, int argc, char **argv, const char *str) { argument
133 asprintf(&msg, "Invalid number of arguments to %s", str);
141 if (DBG) ALOGE("%s stop used unknown requestId %d", str, requestId);
145 if (VDBG) ALOGD("Stopping %s with ref %p", str, ref);
149 asprintf(&msg, "%s stopped", str);
/system/bluetooth/tools/
H A Dsocktest.c237 int get_bdaddr(const char *str, bdaddr_t *ba) { argument
241 *d-- = strtol(str, &endp, 16);
246 str = endp + 1;
/system/core/fastboot/
H A Dengine.c431 static int match(char *str, const char **value, unsigned count) argument
444 match = !strncmp(val, str, len);
446 match = !strcmp(val, str);
/system/core/include/cutils/
H A Dlog.h456 #define android_write1Log(str,len) do{}while (0)

Completed in 1192 milliseconds

12