Home
last modified time | relevance | path

Searched refs:fmap (Results 1 – 16 of 16) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/bzip2/
DBlockSort.java168 final int[] fmap = data.fmap;
171 if (fmap[i] == 0) {
188 fallbackSort(data.fmap, data.block, last + 1);
190 --data.fmap[i];
193 if (data.fmap[i] == -1) {
194 data.fmap[i] = last;
267 private void fallbackSimpleSort(final int[] fmap,
278 final int tmp = fmap[i];
280 for (j = i + 4; j <= hi && ec_tmp > eclass[fmap[j]];
282 fmap[j - 4] = fmap[j];
[all …]
DBZip2CompressorOutputStream.java1181 final int[] fmap = dataShadow.fmap; in generateMTFValues() local
1211 final byte ll_i = unseqToSeq[block[fmap[i]] & 0xff]; in generateMTFValues()
1314 final int[] fmap; // 3600000 byte field in BZip2CompressorOutputStream.Data
1331 this.fmap = new int[n]; in Data()
/external/vboot_reference/futility/
Dtraversal.c115 static int has_all_areas(uint8_t *buf, uint32_t len, FmapHeader *fmap, in has_all_areas() argument
120 if (!fmap_find_by_name(buf, len, fmap, area->name, 0)) in has_all_areas()
129 FmapHeader *fmap = fmap_find(buf, len); in recognize_bios_image() local
130 if (fmap) { in recognize_bios_image()
131 if (has_all_areas(buf, len, fmap, bios_area)) in recognize_bios_image()
133 if (has_all_areas(buf, len, fmap, old_bios_area)) in recognize_bios_image()
201 FmapHeader *fmap; in futil_traverse() local
223 fmap = fmap_find(buf, len); in futil_traverse()
226 fmap_find_by_name(buf, len, fmap, area->name, &ah); in futil_traverse()
241 fmap = fmap_find(buf, len); in futil_traverse()
[all …]
Dcmd_load_fmap.c97 FmapHeader *fmap; in do_load_fmap() local
157 fmap = fmap_find(buf, len); in do_load_fmap()
158 if (!fmap) { in do_load_fmap()
174 uint8_t *area_buf = fmap_find_by_name(buf, len, fmap, a, &ah); in do_load_fmap()
Dcmd_dump_fmap.c421 const FmapHeader *fmap; in do_dump_fmap() local
490 fmap = fmap_find(base_of_rom, size_of_rom); in do_dump_fmap()
491 if (fmap) { in do_dump_fmap()
494 retval = human_fmap(fmap); in do_dump_fmap()
498 (uint32_t) ((char *)fmap - (char *)base_of_rom)); in do_dump_fmap()
502 dump_fmap(fmap, argc - optind - 1, in do_dump_fmap()
/external/vboot_reference/host/lib/
Dfmap.c47 uint8_t *fmap_find_by_name(uint8_t *ptr, size_t size, FmapHeader *fmap, in fmap_find_by_name() argument
53 if (!fmap) in fmap_find_by_name()
54 fmap = fmap_find(ptr, size); in fmap_find_by_name()
55 if (!fmap) in fmap_find_by_name()
58 ah = (FmapAreaHeader*)((void *)fmap + sizeof(FmapHeader)); in fmap_find_by_name()
59 for (i = 0; i < fmap->fmap_nareas; i++) in fmap_find_by_name()
/external/bzip2/
Dblocksort.c32 void fallbackSimpleSort ( UInt32* fmap, in fallbackSimpleSort() argument
44 tmp = fmap[i]; in fallbackSimpleSort()
46 for ( j = i+4; j <= hi && ec_tmp > eclass[fmap[j]]; j += 4 ) in fallbackSimpleSort()
47 fmap[j-4] = fmap[j]; in fallbackSimpleSort()
48 fmap[j-4] = tmp; in fallbackSimpleSort()
53 tmp = fmap[i]; in fallbackSimpleSort()
55 for ( j = i+1; j <= hi && ec_tmp > eclass[fmap[j]]; j++ ) in fallbackSimpleSort()
56 fmap[j-1] = fmap[j]; in fallbackSimpleSort()
57 fmap[j-1] = tmp; in fallbackSimpleSort()
72 fswap(fmap[yyp1], fmap[yyp2]); \
[all …]
/external/autotest/client/cros/cellular/pseudomodem/
Dconnect_cdma_machine.py44 fmap = super(ConnectCdmaMachine, self)._GetModemStateFunctionMap()
45 fmap[mm1_constants.MM_MODEM_STATE_REGISTERED] = \
47 return fmap
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/bzip2/
DBlockSortTest.java128 final int[] fmap = new int[FIXTURE.length]; in testFallbackSort() local
129 s.fallbackSort(fmap, FIXTURE, FIXTURE.length); in testFallbackSort()
130 assertArrayEquals(FIXTURE_SORTED, fmap); in testFallbackSort()
159 assertEquals(fixtureBwt[i], data.block[data.fmap[i]]); in assertFixtureSorted()
/external/autotest/server/site_tests/firmware_FMap/
Dfirmware_FMap.py116 fmap = os.path.join(tmpdir, 'fmap.bin')
118 'flashrom -p %s -r -i FMAP:%s' % (target, fmap))
119 lines = self.run_cmd('dump_fmap -p %s' % fmap)
121 command = "dump_fmap -F %s | grep ME_RW_A" % fmap
/external/autotest/server/site_tests/platform_Flashrom/
Dplatform_Flashrom.py102 fmap = os.path.join(tmpdir, 'fmap.bin')
103 self.run_cmd('flashrom -r -i FMAP:%s' % fmap, 'SUCCESS')
107 (Bstart, Blen) = self._get_region(fmap, 'RW_SECTION_B')
/external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/
Dvt320.java951 String fmap[]; in keyPressed() local
953 fmap = FunctionKey; in keyPressed()
955 fmap = FunctionKeyShift; in keyPressed()
959 fmap = FunctionKeyCtrl; in keyPressed()
963 fmap = FunctionKeyAlt; in keyPressed()
974 writeSpecial(fmap[1]); in keyPressed()
977 writeSpecial(fmap[2]); in keyPressed()
980 writeSpecial(fmap[3]); in keyPressed()
983 writeSpecial(fmap[4]); in keyPressed()
986 writeSpecial(fmap[5]); in keyPressed()
[all …]
/external/llvm-project/llvm/test/CodeGen/MIR/X86/
Dbranch-folder-with-debug.mir35 # int fmap;
44 # f a(&q, &fmap, &m, n, h, i, 0);
/external/vboot_reference/host/lib/include/
Dfmap.h43 FmapHeader *fmap,
/external/vboot_reference/
DAndroid.bp131 "host/lib/fmap.c",
DMakefile410 host/lib/fmap.c \
458 host/lib/fmap.c \