Searched refs:dev (Results 1 - 3 of 3) sorted by relevance

/bootable/recovery/minui/
H A Dgraphics_adf.c109 static int adf_device_init(struct adf_pdata *pdata, struct adf_device *dev) argument
115 err = adf_find_simple_post_configuration(dev, &pdata->format, 1, &intf_id,
120 err = adf_device_attach(dev, pdata->eng_id, intf_id);
124 pdata->intf_fd = adf_interface_open(dev, intf_id, O_RDWR);
164 struct adf_device dev; local
166 int err = adf_device_open(dev_ids[i], O_RDWR, &dev);
173 err = adf_device_init(pdata, &dev);
178 adf_device_close(&dev);
/bootable/recovery/applypatch/
H A Dapplypatch.sh131 run_command dd if=/dev/urandom of=$WORK_DIR/old.file count=100 bs=1024 || fail
223 run_command dd if=/dev/urandom of=$WORK_DIR/old.file count=100 bs=1024 || fail
231 run_command dd if=/dev/urandom of=$CACHE_TEMP_SOURCE count=100 bs=1024 || fail
238 run_command dd if=/dev/urandom of=$WORK_DIR/new.file count=100 bs=1024 || fail
250 echo run_command dd if=/dev/zero of=$WORK_DIR/bloat.dat count=$((free_kb-512)) bs=1024 || fail
251 run_command dd if=/dev/zero of=$WORK_DIR/bloat.dat count=$((free_kb-512)) bs=1024 || fail
281 run_command dd if=/dev/zero of=/cache/bloat_small.dat count=128 bs=1024 || fail
282 run_command dd if=/dev/zero of=/cache/bloat_large.dat count=$((free_kb-640)) bs=1024 || fail
326 run_command dd if=/dev/urandom of=$WORK_DIR/old.file count=100 bs=1024 || fail
H A Dapplypatch.c175 FILE* dev = NULL; local
200 dev = fopen(partition, "rb");
201 if (dev == NULL) {
230 read = fread(p, 1, next, dev);
275 fclose(dev);

Completed in 1319 milliseconds