Home
last modified time | relevance | path

Searched refs:part (Results 1 – 25 of 3612) sorted by relevance

12345678910>>...145

/external/curl/lib/
Dmime.c58 curl_mimepart *part);
59 static curl_off_t encoder_nop_size(curl_mimepart *part);
61 curl_mimepart *part);
63 curl_mimepart *part);
64 static curl_off_t encoder_base64_size(curl_mimepart *part);
66 curl_mimepart *part);
67 static curl_off_t encoder_qp_size(curl_mimepart *part);
350 curl_mimepart *part) in encoder_nop_read() argument
352 mime_encoder_state *st = &part->encstate; in encoder_nop_read()
365 static curl_off_t encoder_nop_size(curl_mimepart *part) in encoder_nop_size() argument
[all …]
/external/u-boot/common/
Davb_verify.c256 static unsigned long mmc_read_and_flush(struct mmc_part *part, in mmc_read_and_flush() argument
266 if (start < part->info.start) { in mmc_read_and_flush()
270 if ((start + sectors) > (part->info.start + part->info.size)) { in mmc_read_and_flush()
271 sectors = part->info.start + part->info.size - start; in mmc_read_and_flush()
285 if (sectors > buf_size / part->info.blksz) in mmc_read_and_flush()
286 sectors = buf_size / part->info.blksz; in mmc_read_and_flush()
291 blks = part->mmc->block_dev.block_read(part->mmc_blk, in mmc_read_and_flush()
294 flush_cache((ulong)tmp_buf, sectors * part->info.blksz); in mmc_read_and_flush()
297 memcpy(buffer, tmp_buf, sectors * part->info.blksz); in mmc_read_and_flush()
302 static unsigned long mmc_write(struct mmc_part *part, lbaint_t start, in mmc_write() argument
[all …]
/external/u-boot/drivers/mtd/
Dmtdpart.c87 struct mtd_part *part = PART(mtd); in part_read() local
91 stats = part->master->ecc_stats; in part_read()
92 res = part->master->_read(part->master, from + part->offset, len, in part_read()
96 part->master->ecc_stats.failed - stats.failed; in part_read()
99 part->master->ecc_stats.corrected - stats.corrected; in part_read()
107 struct mtd_part *part = PART(mtd); in part_point() local
109 return part->master->_point(part->master, from + part->offset, len, in part_point()
115 struct mtd_part *part = PART(mtd); in part_unpoint() local
117 return part->master->_unpoint(part->master, from + part->offset, len); in part_unpoint()
126 struct mtd_part *part = PART(mtd); in part_get_unmapped_area() local
[all …]
/external/e2fsprogs/lib/ext2fs/
Ddosio.c91 static void lba2chs(unsigned long lba_addr, CHS *chs, PARTITION *part) in lba2chs() argument
96 abss = (lba_addr >> 9) + part->start; in lba2chs()
97 chs->cyl = abss / (part->sects * part->heads); in lba2chs()
98 chs->head = (abss / part->sects) % part->heads; in lba2chs()
99 chs->sector = (abss % part->sects) + 1; in lba2chs()
150 static io_channel alloc_io_channel(PARTITION *part) in alloc_io_channel() argument
160 ioch->name = (char *)malloc(strlen(part->dev)+1); in alloc_io_channel()
165 strcpy(ioch->name, part->dev); in alloc_io_channel()
166 ioch->private_data = part; in alloc_io_channel()
184 PARTITION *part; in dos_open() local
[all …]
/external/u-boot/cmd/
Dmtdparts.c140 extern void jffs2_free_cache(struct part_info *part);
229 struct part_info *part; in index_partitions() local
248 part = mtd_part_info(current_mtd_dev, current_mtd_partnum); in index_partitions()
249 if (part) { in index_partitions()
250 env_set("mtddevname", part->name); in index_partitions()
252 debug("=> mtddevname %s\n", part->name); in index_partitions()
325 static int part_validate_eraseblock(struct mtdids *id, struct part_info *part) in part_validate_eraseblock() argument
335 part->sector_size = mtd->erasesize; in part_validate_eraseblock()
342 offset = part->offset; in part_validate_eraseblock()
346 MTD_DEV_TYPE(id->type), id->num, part->name); in part_validate_eraseblock()
[all …]
Djffs2.c256 static inline u32 get_part_sector_size_nor(struct mtdids *id, struct part_info *part) in get_part_sector_size_nor() argument
267 start_phys = flash->start[0] + part->offset; in get_part_sector_size_nor()
268 end_phys = start_phys + part->size - 1; in get_part_sector_size_nor()
307 static inline u32 get_part_sector_size(struct mtdids *id, struct part_info *part) in get_part_sector_size() argument
312 return get_part_sector_size_nor(id, part); in get_part_sector_size()
339 struct part_info *part; in mtdparts_init() local
354 part = (struct part_info *)(id + 1); in mtdparts_init()
378 part->name = "static"; in mtdparts_init()
379 part->auto_name = 0; in mtdparts_init()
382 part->size = CONFIG_JFFS2_PART_SIZE; in mtdparts_init()
[all …]
Dreiser.c35 int dev, part; in do_reiserls() local
42 part = blk_get_device_part_str(argv[1], argv[2], &dev_desc, &info, 1); in do_reiserls()
43 if (part < 0) in do_reiserls()
51 PRINTF("Using device %s %d:%d, directory: %s\n", argv[1], dev, part, filename); in do_reiserls()
56 printf ("** Bad Reiserfs partition or disk - %s %d:%d **\n", argv[1], dev, part); in do_reiserls()
81 int dev, part; in do_reiserload() local
124 part = blk_get_device_part_str(argv[1], argv[2], &dev_desc, &info, 1); in do_reiserload()
125 if (part < 0) in do_reiserload()
132 part ? ':' : ' ', part ? part + '0' : ' '); in do_reiserload()
137 printf ("** Bad Reiserfs partition or disk - %s %d:%d **\n", argv[1], dev, part); in do_reiserload()
[all …]
Dcramfs.c102 struct part_info part; in do_cramfs_load() local
115 part.dev = &dev; in do_cramfs_load()
117 part.offset = (u64)(uintptr_t) map_sysmem(addr - OFFSET_ADJUSTMENT, 0); in do_cramfs_load()
135 if (cramfs_check(&part)) in do_cramfs_load()
136 size = cramfs_load (offset_virt, &part, filename); in do_cramfs_load()
147 unmap_sysmem((void *)(uintptr_t)part.offset); in do_cramfs_load()
167 struct part_info part; in do_cramfs_ls() local
180 part.dev = &dev; in do_cramfs_ls()
182 part.offset = (u64)(uintptr_t) map_sysmem(addr - OFFSET_ADJUSTMENT, 0); in do_cramfs_ls()
188 if (cramfs_check(&part)) in do_cramfs_ls()
[all …]
/external/u-boot/drivers/fastboot/
Dfb_nand.c19 struct part_info *part; member
34 struct part_info **part, in fb_nand_lookup() argument
48 ret = find_dev_and_part(partname, &dev, &pnum, part); in fb_nand_lookup()
67 static int _fb_nand_erase(struct mtd_info *mtd, struct part_info *part) in _fb_nand_erase() argument
73 opts.offset = part->offset; in _fb_nand_erase()
74 opts.length = part->size; in _fb_nand_erase()
78 part->offset, part->offset + part->size); in _fb_nand_erase()
85 part->size, part->name); in _fb_nand_erase()
90 static int _fb_nand_write(struct mtd_info *mtd, struct part_info *part, in _fb_nand_write() argument
101 part->size - (offset - part->offset), in _fb_nand_write()
[all …]
/external/e2fsprogs/tests/f_badorphan/
Dexpect.18 Inodes that were part of a corrupted orphan linked list found. Fix? yes
10 Inode 13 was part of the orphaned inode list. FIXED.
11 Inode 17 was part of the orphaned inode list. FIXED.
14 Inode 19 was part of the orphaned inode list. FIXED.
15 Inode 22 was part of the orphaned inode list. FIXED.
16 Inode 23 was part of the orphaned inode list. FIXED.
17 Inode 24 was part of the orphaned inode list. FIXED.
18 Inode 25 was part of the orphaned inode list. FIXED.
19 Inode 26 was part of the orphaned inode list. FIXED.
20 Inode 27 was part of the orphaned inode list. FIXED.
[all …]
/external/curl/tests/libtest/
Dlib643.c79 curl_mimepart *part = NULL; in once() local
105 part = curl_mime_addpart(mime); in once()
106 if(!part) { in once()
116 res = curl_mime_name(part, "sendfile"); in once()
118 res = curl_mime_data_cb(part, datasize, read_callback, in once()
121 res = curl_mime_filename(part, "postit2.c"); in once()
125 res = curl_mime_name(part, "sendfile alternative"); in once()
127 res = curl_mime_data_cb(part, datasize, read_callback, in once()
130 res = curl_mime_filename(part, "file name 2"); in once()
145 part = curl_mime_addpart(mime); in once()
[all …]
Dlib654.c75 curl_mimepart *part; in test() local
109 part = curl_mime_addpart(mime); in test()
110 curl_mime_data(part, "hello", CURL_ZERO_TERMINATED); in test()
111 curl_mime_name(part, "greeting"); in test()
112 curl_mime_type(part, "application/X-Greeting"); in test()
113 curl_mime_encoder(part, "base64"); in test()
115 curl_mime_headers(part, hdrs, TRUE); in test()
116 part = curl_mime_addpart(mime); in test()
117 curl_mime_filedata(part, "log/file654.txt"); in test()
118 part = curl_mime_addpart(mime); in test()
[all …]
/external/perfetto/test/trace_processor/
Dspan_outer_join.sql4 part BIG INT, field
6 PRIMARY KEY (part, ts)
12 part BIG INT, field
14 PRIMARY KEY (part, ts)
18 INSERT INTO t2(ts, dur, part, b)
25 INSERT INTO t1(ts, dur, part, a)
37 INSERT INTO t2(ts, dur, part, b) VALUES (50, 200, 1, 444);
40 INSERT INTO t2(ts, dur, part, b) VALUES (300, 100, 1, 555);
43 INSERT INTO t2(ts, dur, part, b) VALUES (400, 250, 1, 666);
46 INSERT INTO t2(ts, dur, part, b) VALUES (100, 1000, 2, 777);
[all …]
Dspan_left_join.sql4 part BIG INT, field
6 PRIMARY KEY (part, ts)
12 part BIG INT, field
14 PRIMARY KEY (part, ts)
18 INSERT INTO t2(ts, dur, part, b)
25 INSERT INTO t1(ts, dur, part, a)
37 INSERT INTO t2(ts, dur, part, b) VALUES (50, 200, 1, 444);
40 INSERT INTO t2(ts, dur, part, b) VALUES (300, 100, 1, 555);
43 INSERT INTO t2(ts, dur, part, b) VALUES (400, 250, 1, 666);
46 INSERT INTO t2(ts, dur, part, b) VALUES (100, 1000, 2, 777);
[all …]
Dspan_left_join_left_unpartitioned.sql12 part BIG INT, field
13 PRIMARY KEY (part, ts)
17 INSERT INTO t2(ts, dur, part, b)
32 INSERT INTO t2(ts, dur, part, b) VALUES (50, 200, 1, 444);
35 INSERT INTO t2(ts, dur, part, b) VALUES (300, 100, 1, 555);
38 INSERT INTO t2(ts, dur, part, b) VALUES (400, 250, 1, 666);
41 INSERT INTO t2(ts, dur, part, b) VALUES (100, 1000, 2, 777);
44 INSERT INTO t2(ts, dur, part, b) VALUES (50, 50, 4, 888);
47 INSERT INTO t2(ts, dur, part, b) VALUES (500, 50, 4, 999);
50 INSERT INTO t2(ts, dur, part, b) VALUES (50, 75, 5, 1111);
[all …]
/external/chromium-trace/catapult/tracing/tracing/trace_data/
Dtrace_data.py66 def _HasTraceFor(part, raw): argument
67 assert isinstance(part, TraceDataPart)
68 if part.raw_field_name not in raw:
70 return len(raw[part.raw_field_name]) > 0
126 def HasTracesFor(self, part): argument
127 return _HasTraceFor(part, self._raw_data)
129 def GetTracesFor(self, part): argument
138 assert isinstance(part, TraceDataPart)
139 if not self.HasTracesFor(part):
141 traces_list = self._raw_data[part.raw_field_name]
[all …]
/external/ppp/pppd/plugins/pppoatm/
Dtext2atm.c22 int part[3]; in try_pvc() local
25 part[0] = part[1] = part[2] = 0; in try_pvc()
34 if (part[i] > INT_MAX/10) return TRY_OTHER;/* number too big */ in try_pvc()
35 part[i] = part[i]*10+*text++-'0'; in try_pvc()
45 part[i++] = ATM_ITF_ANY; /* all *_ANY have the same value */ in try_pvc()
50 part[i++] = ATM_VPI_UNSPEC; /* all *_UNSPEC have the same in try_pvc()
58 part[2] = part[1]; in try_pvc()
59 part[1] = part[0]; in try_pvc()
60 part[0] = 0; /* default interface */ in try_pvc()
62 if (part[0] > SHRT_MAX || part[2] > ATM_MAX_VCI) in try_pvc()
[all …]
/external/curl/src/
Dtool_formparse.c244 curl_mimepart *part = NULL; in tool2curlparts() local
251 part = curl_mime_addpart(mime); in tool2curlparts()
252 if(!part) in tool2curlparts()
261 ret = curl_mime_subparts(part, submime); in tool2curlparts()
280 ret = curl_mime_data(part, cp, CURL_ZERO_TERMINATED); in tool2curlparts()
285 ret = curl_mime_data(part, m->data, CURL_ZERO_TERMINATED); in tool2curlparts()
291 ret = curl_mime_filedata(part, m->data); in tool2curlparts()
293 ret = curl_mime_filename(part, NULL); in tool2curlparts()
301 ret = curl_mime_data_cb(part, m->size, in tool2curlparts()
313 ret = curl_mime_filename(part, filename); in tool2curlparts()
[all …]
/external/curl/docs/examples/
Dsmtp-mime.c78 curl_mimepart *part; in main() local
115 part = curl_mime_addpart(alt); in main()
116 curl_mime_data(part, inline_html, CURL_ZERO_TERMINATED); in main()
117 curl_mime_type(part, "text/html"); in main()
120 part = curl_mime_addpart(alt); in main()
121 curl_mime_data(part, inline_text, CURL_ZERO_TERMINATED); in main()
124 part = curl_mime_addpart(mime); in main()
125 curl_mime_subparts(part, alt); in main()
126 curl_mime_type(part, "multipart/alternative"); in main()
128 curl_mime_headers(part, slist, 1); in main()
[all …]
/external/curl/tests/
Dgetpart.pm41 my ($section, $part)=@_;
53 if((1 ==$inside) && ( ($_ =~ /^ *\<$part([^>]*)/) ||
54 !(defined($part)) )
70 elsif((2 ==$inside) && ($_ =~ /^ *\<\/$part/)) {
78 my ($section, $part)=@_;
91 elsif(($inside >= 1) && ($_ =~ /^ *\<$part[ \>]/)) {
95 elsif($_ =~ /$part [^>]*base64=/) {
101 elsif(($inside >= 2) && ($_ =~ /^ *\<\/$part[ \>]/)) {
109 print STDERR "*** getpart.pm: $section/$part returned data!\n";
112 print STDERR "*** getpart.pm: $section/$part returned empty!\n";
[all …]
/external/curl/tests/data/
Dtest57152 rtp: part 2 channel 1 size 10
53 rtp: part 2 channel 0 size 500
54 rtp: part 2 channel 0 size 196
55 rtp: part 2 channel 0 size 124
56 rtp: part 2 channel 0 size 824
57 rtp: part 3 channel 1 size 10
58 rtp: part 3 channel 0 size 50
59 rtp: part 4 channel 0 size 798
60 rtp: part 4 channel 0 size 42
61 rtp: part 4 channel 1 size 30
[all …]
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMiniMessageFormatter.java97 Part part=msg.getPart(i); in format() local
98 Part.Type type=part.getType(); in format()
99 int index=part.getIndex(); in format()
105 prevIndex=part.getLimit(); in format()
108 assert type==Part.Type.ARG_START : "Unexpected Part "+part+" in parsed message."; in format()
110 ArgType argType=part.getArgType(); in format()
111 part=msg.getPart(++i); in format()
115 arg=args[part.getValue()]; // args[ARG_NUMBER] in format()
118 "No argument at index "+part.getValue()); in format()
121 arg=argsMap.get(msg.getSubstring(part)); // args[ARG_NAME] in format()
[all …]
/external/u-boot/env/
Dfat.c39 int dev, part; in env_fat_save() local
47 part = blk_get_device_part_str(CONFIG_ENV_FAT_INTERFACE, in env_fat_save()
50 if (part < 0) in env_fat_save()
60 CONFIG_ENV_FAT_INTERFACE, dev, part); in env_fat_save()
72 CONFIG_ENV_FAT_FILE, CONFIG_ENV_FAT_INTERFACE, dev, part); in env_fat_save()
86 int dev, part; in env_fat_load() local
94 part = blk_get_device_part_str(CONFIG_ENV_FAT_INTERFACE, in env_fat_load()
97 if (part < 0) in env_fat_load()
107 CONFIG_ENV_FAT_INTERFACE, dev, part); in env_fat_load()
118 CONFIG_ENV_FAT_FILE, CONFIG_ENV_FAT_INTERFACE, dev, part); in env_fat_load()
/external/python/cpython2/Lib/plat-mac/Carbon/
DControlAccessor.py7 def SetControlData_Handle(control, part, selector, data): argument
8 control.SetControlData_Handle(part, selector, data)
10 def GetControlData_Handle(control, part, selector): argument
11 return control.GetControlData_Handle(part, selector)
28 def SetControlData(control, part, selector, data): argument
31 setfunc(control, part, selector, data)
40 control.SetControlData(part, selector, data)
42 def GetControlData(control, part, selector): argument
45 return getfunc(control, part, selector, data)
49 data = control.GetControlData(part, selector)
/external/autotest/client/tests/cgroup/
Dcgroup_common.py239 part = 0
242 logging.error("cg.smoke_test[%d]: Can't create cgroup", part)
245 part += 1
248 logging.error("cg.smoke_test[%d]: Couldn't create process", part)
251 part += 1
253 logging.error("cg.smoke_test[%d]: Process died unexpectidly", part)
257 part += 1
260 part)
264 part += 1
266 logging.error("cg.smoke_test[%d]: Could not set cgroup", part)
[all …]

12345678910>>...145