Lines Matching full:write_bytes
124 static void write_bytes(const char *s, size_t len) {
131 write_bytes((char*)&i, 4);
135 write_bytes((char*)&i, 8);
145 write_bytes(s, strlen(s));
146 write_bytes("\0\0\0\0", 4 - (strlen(s) % 4));
313 write_bytes("adcg", 4);
314 write_bytes(version, 4);
361 write_bytes("\0\0\0\1", 4);
408 write_bytes("\0\0\xa1\1", 4);
460 write_bytes("\0\0\0\xa1", 4);
469 write_bytes("\0\0\0\xa3", 4); /* tag indicates 1 program */
480 write_bytes("\0\0\0\0\0\0\0\0", 8);