Home
last modified time | relevance | path

Searched refs:fmap (Results 1 – 17 of 17) 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/u-boot/lib/bzip2/
Dbzlib_blocksort.c72 void fallbackSimpleSort ( UInt32* fmap, in fallbackSimpleSort() argument
84 tmp = fmap[i]; in fallbackSimpleSort()
86 for ( j = i+4; j <= hi && ec_tmp > eclass[fmap[j]]; j += 4 ) in fallbackSimpleSort()
87 fmap[j-4] = fmap[j]; in fallbackSimpleSort()
88 fmap[j-4] = tmp; in fallbackSimpleSort()
93 tmp = fmap[i]; in fallbackSimpleSort()
95 for ( j = i+1; j <= hi && ec_tmp > eclass[fmap[j]]; j++ ) in fallbackSimpleSort()
96 fmap[j-1] = fmap[j]; in fallbackSimpleSort()
97 fmap[j-1] = tmp; in fallbackSimpleSort()
112 fswap(fmap[yyp1], fmap[yyp2]); \
[all …]
/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/u-boot/tools/
Dproftool.c259 FILE *fmap; in read_map_file() local
262 fmap = fopen(fname, "r"); in read_map_file()
263 if (!fmap) { in read_map_file()
267 if (fmap) { in read_map_file()
268 err = read_system_map(fmap); in read_map_file()
269 fclose(fmap); in read_map_file()
/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/autotest/server/site_tests/platform_Flashrom/
Dplatform_Flashrom.py56 def _get_eeprom(self, fmap): argument
63 output = self.run_cmd('mosys eeprom map | grep %s' % fmap)
/external/vboot_reference/host/lib/include/
Dfmap.h43 FmapHeader *fmap,
/external/vboot_reference/
DAndroid.bp101 "host/lib/fmap.c",
DMakefile410 host/lib/fmap.c \
458 host/lib/fmap.c \
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp1308 auto fmap = GetYcbcrConversionFormatMap(); in ValidateCreateImageViewANDROID() local
1309 if (fmap->find(conv_handle) != fmap->end()) { in ValidateCreateImageViewANDROID()
1311 external_format = fmap->at(conv_handle); in ValidateCreateImageViewANDROID()