Home
last modified time | relevance | path

Searched refs:linecp (Results 1 – 2 of 2) sorted by relevance

/third_party/libwebsockets/lib/plat/optee/
Dlws-plat-optee.c105 char buf[50], linecp[512]; in lwsl_emit_optee() local
118 if ((unsigned int)n > sizeof(linecp) - 1) in lwsl_emit_optee()
119 n = sizeof(linecp) - 1; in lwsl_emit_optee()
121 memcpy(linecp, line, n - 1); in lwsl_emit_optee()
122 linecp[n - 1] = '\0'; in lwsl_emit_optee()
124 linecp[0] = '\0'; in lwsl_emit_optee()
125 EMSG("%c%s%s%s%c[0m", 27, colours[m], buf, linecp, 27); in lwsl_emit_optee()
/third_party/toybox/toys/pending/
Dmodprobe.c216 char *filename, *tokens[3], *line, *linecp; in config_action() local
229 for (line = linecp = NULL; read_line(fc, &line) > 0; in config_action()
230 free(line), free(linecp), line = linecp = NULL) { in config_action()
234 linecp = xstrdup(line); in config_action()
235 for (tk = strtok(linecp, "# \t"), tcount = 0; tk; in config_action()