| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,114 +1,114 @@ | ||
| { | ||
| "macros": { | ||
| "__STDC_VERSION_FENV_H__": { | ||
| "c-definition": "7.6.5" | ||
| }, | ||
| "FE_DIVBYZERO": { | ||
| "c-definition": "7.6.9" | ||
| }, | ||
| "FE_INEXACT": { | ||
| "c-definition": "7.6.9" | ||
| }, | ||
| "FE_INVALID": { | ||
| "c-definition": "7.6.9" | ||
| }, | ||
| "FE_OVERFLOW": { | ||
| "c-definition": "7.6.9" | ||
| }, | ||
| "FE_UNDERFLOW": { | ||
| "c-definition": "7.6.9" | ||
| }, | ||
| "FE_ALL_EXCEPT": { | ||
| "c-definition": "7.6.12" | ||
| }, | ||
| "FE_DFL_MODE": { | ||
| "c-definition": "7.6.11" | ||
| }, | ||
| "FE_DOWNARD": { | ||
| "c-definition": "7.6.13" | ||
| }, | ||
| "FE_TONEAREST": { | ||
| "c-definition": "7.6.13" | ||
| }, | ||
| "FE_TONEARESTFROMZERO": { | ||
| "c-definition": "7.6.13" | ||
| }, | ||
| "FE_TOWARDZERO": { | ||
| "c-definition": "7.6.13" | ||
| }, | ||
| "FE_UPWARD": { | ||
| "c-definition": "7.6.13" | ||
| }, | ||
| "FE_DEC_DOWNWARD": { | ||
| "c-definition": "7.6.14" | ||
| }, | ||
| "FE_DEC_TONEAREST": { | ||
| "c-definition": "7.6.14" | ||
| }, | ||
| "FE_DEC_TONEARESTFROMZERO": { | ||
| "c-definition": "7.6.14" | ||
| }, | ||
| "FE_DEC_TOWARDZERO": { | ||
| "c-definition": "7.6.14" | ||
| }, | ||
| "FE_DEC_UPWARD": { | ||
| "c-definition": "7.6.14" | ||
| }, | ||
| "FE_DFL_ENV": { | ||
| "c-definition": "7.6.17" | ||
| } | ||
| }, | ||
| "functions": { | ||
| "feclearexcept": { | ||
| "c-definition": "7.6.4.1" | ||
| }, | ||
| "fegetexceptflag": { | ||
| "c-definition": "7.6.4.2" | ||
| }, | ||
| "feraiseexcept": { | ||
| "c-definition": "7.6.4.3" | ||
| }, | ||
| "fesetexcept": { | ||
| "c-definition": "7.6.4.4" | ||
| }, | ||
| "fesetexceptflag": { | ||
| "c-definition": "7.6.4.5" | ||
| }, | ||
| "fetestexceptflag": { | ||
| "c-definition": "7.6.4.6" | ||
| }, | ||
| "fetestexcept": { | ||
| "c-definition": "7.6.4.7" | ||
| }, | ||
| "fegetmode": { | ||
| "c-definition": "7.6.5.1" | ||
| }, | ||
| "fegetround": { | ||
| "c-definition": "7.6.5.2" | ||
| }, | ||
| "fe_dec_getround": { | ||
| "c-definition": "7.6.5.3" | ||
| }, | ||
| "fesetmode": { | ||
| "c-definition": "7.6.5.4" | ||
| }, | ||
| "fesetround": { | ||
| "c-definition": "7.6.5.5" | ||
| }, | ||
| "fe_dec_setround": { | ||
| "c-definition": "7.6.5.6" | ||
| }, | ||
| "fegetenv": { | ||
| "c-definition": "7.6.6.1" | ||
| }, | ||
| "feholdexcept": { | ||
| "c-definition": "7.6.6.2" | ||
| }, | ||
| "fesetenv": { | ||
| "c-definition": "7.6.6.3" | ||
| }, | ||
| "feupdateenv": { | ||
| "c-definition": "7.6.6.4" | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| # ====- Information about standard headers used by docgen ----*- python -*--==# | ||
| # | ||
| # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
| # See https://llvm.org/LICENSE.txt for license information. | ||
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
| # | ||
| # ==-------------------------------------------------------------------------==# | ||
| from pathlib import Path | ||
| from typing import Generator | ||
|
|
||
|
|
||
| class Header: | ||
| """ | ||
| Maintains implementation information about a standard header file: | ||
| * where does its implementation dir live | ||
| * where is its macros file | ||
| * where is its docgen json file | ||
| By convention, the macro-only part of a header file is in a header-specific | ||
| file somewhere in the directory tree with root at | ||
| ``$LLVM_PROJECT_ROOT/libc/include/llvm-libc-macros``. Docgen expects that | ||
| if a macro is implemented, that it appears in a string | ||
| ``#define MACRO_NAME`` in some ``*-macros.h`` file in the directory tree. | ||
| Docgen searches for this string in the file to set the implementation status | ||
| shown in the generated rst docs rendered as html for display at | ||
| <libc.llvm.org>. | ||
| By convention, each function for a header is implemented in a function-specific | ||
| cpp file somewhere in the directory tree with root at, e.g, | ||
| ``$LLVM_PROJECT_ROOT/libc/src/fenv``. Some headers have architecture-specific | ||
| implementations, like ``math``, and some don't, like ``fenv``. Docgen uses the | ||
| presence of this function-specific cpp file to set the implementation status | ||
| shown in the generated rst docs rendered as html for display at | ||
| <libc.llvm.org>. | ||
| """ | ||
|
|
||
| def __init__(self, header_name: str): | ||
| """ | ||
| :param header_name: e.g., ``"threads.h"`` or ``"signal.h"`` | ||
| """ | ||
| self.name = header_name | ||
| self.stem = header_name.rstrip(".h") | ||
| self.docgen_root = Path(__file__).parent | ||
| self.libc_root = self.docgen_root.parent.parent | ||
| self.docgen_json = self.docgen_root / Path(header_name).with_suffix(".json") | ||
| self.fns_dir = Path(self.libc_root, "src", self.stem) | ||
| self.macros_dir = Path(self.libc_root, "include", "llvm-libc-macros") | ||
|
|
||
| def macro_file_exists(self) -> bool: | ||
| for _ in self.__get_macro_files(): | ||
| return True | ||
|
|
||
| return False | ||
|
|
||
| def fns_dir_exists(self) -> bool: | ||
| return self.fns_dir.exists() and self.fns_dir.is_dir() | ||
|
|
||
| def implements_fn(self, fn_name: str) -> bool: | ||
| for _ in self.fns_dir.glob(f"**/{fn_name}.cpp"): | ||
| return True | ||
|
|
||
| return False | ||
|
|
||
| def implements_macro(self, m_name: str) -> bool: | ||
| """ | ||
| Some macro files are in, e.g., | ||
| ``$LLVM_PROJECT_ROOT/libc/include/llvm-libc-macros/fenv-macros.h``, | ||
| but others are in subdirectories, e.g., ``signal.h`` has the macro | ||
| definitions in | ||
| ``$LLVM_PROJECT_ROOT/libc/include/llvm-libc-macros/linux/signal-macros.h``. | ||
| :param m_name: name of macro, e.g., ``FE_ALL_EXCEPT`` | ||
| """ | ||
| for f in self.__get_macro_files(): | ||
| if f"#define {m_name}" in f.read_text(): | ||
| return True | ||
|
|
||
| return False | ||
|
|
||
| def __get_macro_files(self) -> Generator[Path, None, None]: | ||
| """ | ||
| This function uses a glob on, e.g., ``"**/fcntl.macros.h"`` because the | ||
| macro file might be located in a subdirectory: | ||
| libc/include/llvm-libc-macros/fcntl-macros.h | ||
| libc/include/llvm-libc-macros/linux/fcntl-macros.h | ||
| """ | ||
| return self.macros_dir.glob(f"**/{self.stem}-macros.h") |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,47 +1,152 @@ | ||
| { | ||
| "macros": { | ||
| "SIG_DFL": { | ||
| "c-definition": "7.14.3", | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIG_ERR": { | ||
| "c-definition": "7.14.3", | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIG_HOLD": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIG_IGN": { | ||
| "c-definition": "7.14.3", | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGRTMIN": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGRTMAX": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGABRT": { | ||
| "c-definition": "7.14.3", | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGALRM": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGBUS": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGCHLD": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGCONT": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGFPE": { | ||
| "c-definition": "7.14.3", | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGHUP": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGILL": { | ||
| "c-definition": "7.14.3", | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGINT": { | ||
| "c-definition": "7.14.3", | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGKILL": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGPIPE": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGPIPE": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGQUIT": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGSEGV": { | ||
| "c-definition": "7.14.3", | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGSTOP": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGTERM": { | ||
| "c-definition": "7.14.3", | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGTSTP": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGTTIN": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGTTOU": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGUSR1": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGUSR2": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGPOLL": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGPROF": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGSYS": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGTRAP": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGURG": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGVTALRM": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGXCPU": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| }, | ||
| "SIGXFSZ": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html" | ||
| } | ||
| }, | ||
| "functions": { | ||
| "signal": { | ||
| "c-definition": "7.14.1.1", | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/signal.html" | ||
| }, | ||
| "raise": { | ||
| "c-definition": "7.14.2.1", | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/raise.html" | ||
| }, | ||
| "kill": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/kill.html" | ||
| }, | ||
| "sigaction": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigaction.html" | ||
| }, | ||
| "sigaddset": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigaddset.html" | ||
| }, | ||
| "sigaltstack": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigaltstack.html" | ||
| }, | ||
| "sigdelset": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigdelset.html" | ||
| }, | ||
| "sigemptyset": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigemptyset.html" | ||
| }, | ||
| "sigfillset": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigfillset.html" | ||
| }, | ||
| "sigprocmask": { | ||
| "posix-definition": "https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigprocmask.html" | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,270 +1,270 @@ | ||
| { | ||
| "macros": { | ||
| "__STDC_VERSION_STDBIT_H__": { | ||
| "c-definition": "7.18.1.2" | ||
| }, | ||
| "__STDC_ENDIAN_LITTLE__": { | ||
| "c-definition": "7.18.2.2" | ||
| }, | ||
| "__STDC_ENDIAN_BIG__": { | ||
| "c-definition": "7.18.2.2" | ||
| }, | ||
| "__STDC_ENDIAN_NATIVE__": { | ||
| "c-definition": "7.18.2.2" | ||
| }, | ||
| "stdc_leading_zeros": { | ||
| "c-definition": "7.18.3.1" | ||
| }, | ||
| "stdc_leading_ones": { | ||
| "c-definition": "7.18.4.1" | ||
| }, | ||
| "stdc_trailing_zeros": { | ||
| "c-definition": "7.18.5.1" | ||
| }, | ||
| "stdc_trailing_ones": { | ||
| "c-definition": "7.18.6.1" | ||
| }, | ||
| "stdc_first_leading_zero": { | ||
| "c-definition": "7.18.7.1" | ||
| }, | ||
| "stdc_first_leading_one": { | ||
| "c-definition": "7.18.8.1" | ||
| }, | ||
| "stdc_first_trailing_zero": { | ||
| "c-definition": "7.18.9.1" | ||
| }, | ||
| "stdc_first_trailing_one": { | ||
| "c-definition": "7.18.10.1" | ||
| }, | ||
| "stdc_count_zeros": { | ||
| "c-definition": "7.18.11.1" | ||
| }, | ||
| "stdc_count_ones": { | ||
| "c-definition": "7.18.12.1" | ||
| }, | ||
| "stdc_has_single_bit": { | ||
| "c-definition": "7.18.13.1" | ||
| }, | ||
| "stdc_bit_width": { | ||
| "c-definition": "7.18.14.1" | ||
| }, | ||
| "stdc_bit_floor": { | ||
| "c-definition": "7.18.15.1" | ||
| }, | ||
| "stdc_bit_ceil": { | ||
| "c-definition": "7.18.16.1" | ||
| } | ||
| }, | ||
| "functions": { | ||
| "stdc_leading_zeros_uc": { | ||
| "c-definition": "7.18.3" | ||
| }, | ||
| "stdc_leading_zeros_us": { | ||
| "c-definition": "7.18.3" | ||
| }, | ||
| "stdc_leading_zeros_ui": { | ||
| "c-definition": "7.18.3" | ||
| }, | ||
| "stdc_leading_zeros_ul": { | ||
| "c-definition": "7.18.3" | ||
| }, | ||
| "stdc_leading_zeros_ull": { | ||
| "c-definition": "7.18.3" | ||
| }, | ||
| "stdc_leading_ones_uc": { | ||
| "c-definition": "7.18.4" | ||
| }, | ||
| "stdc_leading_ones_us": { | ||
| "c-definition": "7.18.4" | ||
| }, | ||
| "stdc_leading_ones_ui": { | ||
| "c-definition": "7.18.4" | ||
| }, | ||
| "stdc_leading_ones_ul": { | ||
| "c-definition": "7.18.4" | ||
| }, | ||
| "stdc_leading_ones_ull": { | ||
| "c-definition": "7.18.4" | ||
| }, | ||
| "stdc_trailing_zeros_uc": { | ||
| "c-definition": "7.18.5" | ||
| }, | ||
| "stdc_trailing_zeros_us": { | ||
| "c-definition": "7.18.5" | ||
| }, | ||
| "stdc_trailing_zeros_ui": { | ||
| "c-definition": "7.18.5" | ||
| }, | ||
| "stdc_trailing_zeros_ul": { | ||
| "c-definition": "7.18.5" | ||
| }, | ||
| "stdc_trailing_zeros_ull": { | ||
| "c-definition": "7.18.5" | ||
| }, | ||
| "stdc_trailing_ones_uc": { | ||
| "c-definition": "7.18.6" | ||
| }, | ||
| "stdc_trailing_ones_us": { | ||
| "c-definition": "7.18.6" | ||
| }, | ||
| "stdc_trailing_ones_ui": { | ||
| "c-definition": "7.18.6" | ||
| }, | ||
| "stdc_trailing_ones_ul": { | ||
| "c-definition": "7.18.6" | ||
| }, | ||
| "stdc_trailing_ones_ull": { | ||
| "c-definition": "7.18.6" | ||
| }, | ||
| "stdc_first_leading_zero_uc": { | ||
| "c-definition": "7.18.7" | ||
| }, | ||
| "stdc_first_leading_zero_us": { | ||
| "c-definition": "7.18.7" | ||
| }, | ||
| "stdc_first_leading_zero_ui": { | ||
| "c-definition": "7.18.7" | ||
| }, | ||
| "stdc_first_leading_zero_ul": { | ||
| "c-definition": "7.18.7" | ||
| }, | ||
| "stdc_first_leading_zero_ull": { | ||
| "c-definition": "7.18.7" | ||
| }, | ||
| "stdc_first_leading_one_uc": { | ||
| "c-definition": "7.18.8" | ||
| }, | ||
| "stdc_first_leading_one_us": { | ||
| "c-definition": "7.18.8" | ||
| }, | ||
| "stdc_first_leading_one_ui": { | ||
| "c-definition": "7.18.8" | ||
| }, | ||
| "stdc_first_leading_one_ul": { | ||
| "c-definition": "7.18.8" | ||
| }, | ||
| "stdc_first_leading_one_ull": { | ||
| "c-definition": "7.18.8" | ||
| }, | ||
| "stdc_first_trailing_zero_uc": { | ||
| "c-definition": "7.18.9" | ||
| }, | ||
| "stdc_first_trailing_zero_us": { | ||
| "c-definition": "7.18.9" | ||
| }, | ||
| "stdc_first_trailing_zero_ui": { | ||
| "c-definition": "7.18.9" | ||
| }, | ||
| "stdc_first_trailing_zero_ul": { | ||
| "c-definition": "7.18.9" | ||
| }, | ||
| "stdc_first_trailing_zero_ull": { | ||
| "c-definition": "7.18.9" | ||
| }, | ||
| "stdc_first_trailing_one_uc": { | ||
| "c-definition": "7.18.10" | ||
| }, | ||
| "stdc_first_trailing_one_us": { | ||
| "c-definition": "7.18.10" | ||
| }, | ||
| "stdc_first_trailing_one_ui": { | ||
| "c-definition": "7.18.10" | ||
| }, | ||
| "stdc_first_trailing_one_ul": { | ||
| "c-definition": "7.18.10" | ||
| }, | ||
| "stdc_first_trailing_one_ull": { | ||
| "c-definition": "7.18.10" | ||
| }, | ||
| "stdc_count_zeros_uc": { | ||
| "c-definition": "7.18.11" | ||
| }, | ||
| "stdc_count_zeros_us": { | ||
| "c-definition": "7.18.11" | ||
| }, | ||
| "stdc_count_zeros_ui": { | ||
| "c-definition": "7.18.11" | ||
| }, | ||
| "stdc_count_zeros_ul": { | ||
| "c-definition": "7.18.11" | ||
| }, | ||
| "stdc_count_zeros_ull": { | ||
| "c-definition": "7.18.11" | ||
| }, | ||
| "stdc_count_ones_uc": { | ||
| "c-definition": "7.18.12" | ||
| }, | ||
| "stdc_count_ones_us": { | ||
| "c-definition": "7.18.12" | ||
| }, | ||
| "stdc_count_ones_ui": { | ||
| "c-definition": "7.18.12" | ||
| }, | ||
| "stdc_count_ones_ul": { | ||
| "c-definition": "7.18.12" | ||
| }, | ||
| "stdc_count_ones_ull": { | ||
| "c-definition": "7.18.12" | ||
| }, | ||
| "stdc_has_single_bit_uc": { | ||
| "c-definition": "7.18.13" | ||
| }, | ||
| "stdc_has_single_bit_us": { | ||
| "c-definition": "7.18.13" | ||
| }, | ||
| "stdc_has_single_bit_ui": { | ||
| "c-definition": "7.18.13" | ||
| }, | ||
| "stdc_has_single_bit_ul": { | ||
| "c-definition": "7.18.13" | ||
| }, | ||
| "stdc_has_single_bit_ull": { | ||
| "c-definition": "7.18.13" | ||
| }, | ||
| "stdc_bit_width_uc": { | ||
| "c-definition": "7.18.14" | ||
| }, | ||
| "stdc_bit_width_us": { | ||
| "c-definition": "7.18.14" | ||
| }, | ||
| "stdc_bit_width_ui": { | ||
| "c-definition": "7.18.14" | ||
| }, | ||
| "stdc_bit_width_ul": { | ||
| "c-definition": "7.18.14" | ||
| }, | ||
| "stdc_bit_width_ull": { | ||
| "c-definition": "7.18.14" | ||
| }, | ||
| "stdc_bit_floor_uc": { | ||
| "c-definition": "7.18.15" | ||
| }, | ||
| "stdc_bit_floor_us": { | ||
| "c-definition": "7.18.15" | ||
| }, | ||
| "stdc_bit_floor_ui": { | ||
| "c-definition": "7.18.15" | ||
| }, | ||
| "stdc_bit_floor_ul": { | ||
| "c-definition": "7.18.15" | ||
| }, | ||
| "stdc_bit_floor_ull": { | ||
| "c-definition": "7.18.15" | ||
| }, | ||
| "stdc_bit_ceil_uc": { | ||
| "c-definition": "7.18.16" | ||
| }, | ||
| "stdc_bit_ceil_us": { | ||
| "c-definition": "7.18.16" | ||
| }, | ||
| "stdc_bit_ceil_ui": { | ||
| "c-definition": "7.18.16" | ||
| }, | ||
| "stdc_bit_ceil_ul": { | ||
| "c-definition": "7.18.16" | ||
| }, | ||
| "stdc_bit_ceil_ull": { | ||
| "c-definition": "7.18.16" | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,87 +1,87 @@ | ||
| { | ||
| "macros": { | ||
| "ONCE_FLAG_INIT": { | ||
| "c-definition": "7.28.1.3" | ||
| }, | ||
| "TSS_DTOR_ITERATIONS": { | ||
| "c-definition": "7.28.1.3" | ||
| } | ||
| }, | ||
| "functions": { | ||
| "call_once": { | ||
| "c-definition": "7.28.2.1" | ||
| }, | ||
| "cnd_broadcast": { | ||
| "c-definition": "7.28.3.1" | ||
| }, | ||
| "cnd_destroy": { | ||
| "c-definition": "7.28.3.2" | ||
| }, | ||
| "cnd_init": { | ||
| "c-definition": "7.28.3.3" | ||
| }, | ||
| "cnd_signal": { | ||
| "c-definition": "7.28.3.4" | ||
| }, | ||
| "cnd_timedwait": { | ||
| "c-definition": "7.28.3.5" | ||
| }, | ||
| "cnd_wait": { | ||
| "c-definition": "7.28.3.6" | ||
| }, | ||
| "mtx_destroy": { | ||
| "c-definition": "7.28.4.1" | ||
| }, | ||
| "mtx_init": { | ||
| "c-definition": "7.28.4.2" | ||
| }, | ||
| "mtx_lock": { | ||
| "c-definition": "7.28.4.3" | ||
| }, | ||
| "mtx_timedlock": { | ||
| "c-definition": "7.28.4.4" | ||
| }, | ||
| "mtx_trylock": { | ||
| "c-definition": "7.28.4.5" | ||
| }, | ||
| "mtx_unlock": { | ||
| "c-definition": "7.28.4.6" | ||
| }, | ||
| "thrd_create": { | ||
| "c-definition": "7.28.5.1" | ||
| }, | ||
| "thrd_current": { | ||
| "c-definition": "7.28.5.2" | ||
| }, | ||
| "thrd_detach": { | ||
| "c-definition": "7.28.5.3" | ||
| }, | ||
| "thrd_equal": { | ||
| "c-definition": "7.28.5.4" | ||
| }, | ||
| "thrd_exit": { | ||
| "c-definition": "7.28.5.5" | ||
| }, | ||
| "thrd_join": { | ||
| "c-definition": "7.28.5.6" | ||
| }, | ||
| "thrd_sleep": { | ||
| "c-definition": "7.28.5.7" | ||
| }, | ||
| "thrd_yield": { | ||
| "c-definition": "7.28.5.8" | ||
| }, | ||
| "tss_create": { | ||
| "c-definition": "7.28.6.1" | ||
| }, | ||
| "tss_delete": { | ||
| "c-definition": "7.28.6.2" | ||
| }, | ||
| "tss_get": { | ||
| "c-definition": "7.28.6.3" | ||
| }, | ||
| "tss_set": { | ||
| "c-definition": "7.28.6.4" | ||
| } | ||
| } | ||
| } |