Lines Matching defs:str
264 static bool _writeStr(const char* filename, const char* str, int flags)
274 ssize_t len = strlen(str);
275 if (write(fd, str, len) != len) {
287 static bool writeStr(const char* filename, const char* str)
289 return _writeStr(filename, str, O_WRONLY);
293 static bool appendStr(const char* filename, const char* str)
295 return _writeStr(filename, str, O_APPEND|O_WRONLY);
409 char str[32] = "1";
414 snprintf(str, 32, "%d", size);
415 return writeStr(k_traceBufferSizePath, str);