Lines Matching refs:write
172 if ((int)write(t->fd, buf, (size_t)bp) != bp) { \
173 lwsl_err("%s: write %d failed (%d)\n", __func__, \
280 /* write the header */
298 if (write(t->fd, buf, TRIE_FILE_HDR_SIZE) != TRIE_FILE_HDR_SIZE) {
299 lwsl_err("%s: trie header write failed\n", __func__);
406 if ((int)write(t->fd, buf, (size_t)bp) != bp)
594 if ((int)write(t->fd, linetable, (unsigned int)bp) != bp) {
595 lwsl_err("%s: linetable write failed\n",
1041 write(1, buf - 10, 20);
1053 if ((int)write(t->fd, linetable, (size_t)bp) != bp)
1068 if ((int)write(t->fd, linetable, 8) != 8) {
1069 lwsl_err("%s: write linetable header failed\n", __func__);
1190 if ((int)write(t->fd, buf, 8) != 8)
1240 /* write the trie entry header */
1278 /* write the children */
1349 if (write(t->fd, buf, 0x8) != 0x8)