Lines Matching refs:buf
153 char buf[bufSize] = { 0 }; in ShellFork() local
154 strerror_r(errno, buf, bufSize); in ShellFork()
155 WRITE_LOG(LOG_DEBUG, "Fork shell failed:%s", buf); in ShellFork()
180 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local
181 strerror_r(errno, buf, bufSize); in CreateSubProcessPTY()
182 WRITE_LOG(LOG_DEBUG, "Cannot open ptmx, error:%s", buf); in CreateSubProcessPTY()
187 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local
188 strerror_r(errno, buf, bufSize); in CreateSubProcessPTY()
189 WRITE_LOG(LOG_DEBUG, "Cannot open2 ptmx, error:%s", buf); in CreateSubProcessPTY()
195 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local
196 strerror_r(errno, buf, bufSize); in CreateSubProcessPTY()
197 WRITE_LOG(LOG_DEBUG, "Trouble with ptmx, error:%s", buf); in CreateSubProcessPTY()
214 bool HdcShell::ChildReadCallback(const void *context, uint8_t *buf, const int size) in ChildReadCallback() argument
217 return thisClass->SendToAnother(CMD_KERNEL_ECHO_RAW, (uint8_t *)buf, size); in ChildReadCallback()