Lines Matching refs:data
18 # to ICU's source/data/unidata/ and source/test/testdata/
128 # These are type-specific values for properties that occur in the data.
217 # Character data ----------------------------------------------------------- ***
382 # parse the remainder of the line like regular data.
460 for data in ReadUCDLines(in_file, want_ranges=False,
462 if data[0] == "comment":
463 line = data[1]
474 aliases = data[2]
491 # data for them to ppucd.txt (e.g., lccc & tccc).
492 # We add others just to represent UCD data that contributes to
570 for data in ReadUCDLines(in_file, want_ranges=False,
572 if data[0] == "missing":
573 SetDefaultValue(data[2][0], data[2][1])
576 fields = data[2]
595 # either because the data for that property is easily
632 for data in ReadUCDLines(in_file, want_missing=True):
633 if data[0] == "missing":
634 SetDefaultValue("blk", data[2][0])
637 (start, end, name) = (data[2], data[3], data[4][1])
658 for data in ReadUCDLines(in_file, want_missing=True):
660 (line, c, end, fields) = (data[1], data[2], data[3], data[4])
805 for data in ReadUCDLines(in_file, want_missing=True):
806 if data[0] == "missing":
807 SetDefaultValue(data[2][0], data[2][1])
810 if len(data[4]) == 2:
811 SetBinaryPropertyToTrue(data[4][1], data[2], data[3])
813 SetPropertyValue(data[4][1], data[4][2], data[2], data[3])
820 for data in ReadUCDLines(in_file, want_missing=True):
821 if data[0] == "missing":
822 SetDefaultValue(pname, data[2][0])
825 SetPropValue(prop, data[4][1], data[2], data[3])
865 for data in ReadUCDLines(in_file):
866 start = data[2]
867 end = data[3]
871 fields = data[4]
906 for data in ReadUCDLines(in_file):
908 update = (NeedToSetNumericValue, DoSetNumericValue, data[4][3])
909 UpdateProps(data[2], data[3], update)
913 for data in ReadUCDLines(in_file, want_missing=True):
914 if data[0] == "missing":
915 assert data[2][0] == "C" # common to scf & cf
916 SetDefaultValue("scf", data[2][1])
917 SetDefaultValue("cf", data[2][1])
920 start = data[2]
921 end = data[3]
922 status = data[4][1]
923 mapping = data[4][2]
943 for data in ReadUCDLines(in_file, want_missing=True):
944 if data[0] == "missing":
945 SetDefaultValue("lc", data[2][0])
946 SetDefaultValue("tc", data[2][1])
947 SetDefaultValue("uc", data[2][2])
950 start = data[2]
951 end = data[3]
952 fields = data[4]
965 for data in ReadUCDLines(in_file, want_missing=True):
966 if data[0] == "missing":
967 SetDefaultValue("bpt", data[2][1])
970 start = data[2]
971 end = data[3]
973 mapping = data[4][1]
974 bracket_type = data[4][2]
1001 b_is_unassigned = b_props["gc"] == "Cn" # Unreachable with normal data.
1217 # range of data we mix into the output,
1223 # Write the preparsed data. ppucd.txt = preparsed UCD
1258 # Code point/range data.
1345 # Complete data for Unicode NFC normalization.
1408 # and reformatted into syntax for the gennorm2 Normalizer2 data generator tool.
1484 # gennorm2 Normalizer2 data generator tool.
1536 first_data = "" # Common data for code points [first..last].
1547 data = line[match.end() - 1:]
1550 data = ""
1551 if last >= 0 and (c != (last + 1) or data != first_data):
1561 # no data on this line, output as is
1565 # data on this line, store for possible range compaction
1570 first_data = data
1572 # must be c == (last + 1) and data == first_data
1594 """Copies a file and removes comments behind data lines but not in others."""
1603 data lines into one line with range syntax.
1639 "emoji-data.txt": (DontCopy, ParseNamedProperties),
1681 unidata_path = os.path.join(icu4c_src_root, "source", "data", "unidata")
1732 # a) gives access to the parsed data
2024 # In the UCD data, these numeric values are the first value names,
2204 # Unicode data files are in UTF-8.
2221 unidata_path = os.path.join(icu4c_src_root, "source", "data", "unidata")
2224 # Do this before compacting the data so that we need not handle fallbacks.
2233 # Fix up non-ASCII data (NamesList.txt headings) to fit.
2244 # ICU data for property & value names API