/third_party/mesa3d/src/intel/common/ |
H A D | intel_sample_positions.h | 69 #define INTEL_SAMPLE_POS_ELEM(prefix, arr, sample_idx) \ 70 prefix##sample_idx##XOffset = arr[sample_idx].x; \ 71 prefix##sample_idx##YOffset = arr[sample_idx].y; 73 #define INTEL_SAMPLE_POS_1X_ARRAY(prefix, arr)\ 74 INTEL_SAMPLE_POS_ELEM(prefix, arr, 0); 76 #define INTEL_SAMPLE_POS_2X_ARRAY(prefix, arr) \ 77 INTEL_SAMPLE_POS_ELEM(prefix, arr, 0); \ 78 INTEL_SAMPLE_POS_ELEM(prefix, arr, 1); 80 #define INTEL_SAMPLE_POS_4X_ARRAY(prefix, arr) \ 81 INTEL_SAMPLE_POS_ELEM(prefix, ar [all...] |
/third_party/libevdev/libevdev/ |
H A D | make-event-names.py | 69 def print_bits(bits, prefix): 70 if not hasattr(bits, prefix): 72 print("static const char * const %s_map[%s_MAX + 1] = {" % (prefix, prefix.upper())) 73 for val, name in sorted(list(getattr(bits, prefix).items())): 75 if prefix == "key": 85 for prefix in prefixes: 86 if prefix in ["BTN_", "EV_", "INPUT_PROP_", "MT_TOOL_"]: 88 print(" [EV_%s] = %s_map," % (prefix[:-1], prefix[ [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_history.py | 31 self.assertIsNone(self.history.prefix) 51 self.history.prefix = line1 54 self.assertIsNone(self.history.prefix) 90 def fetch_test(self, reverse, line, prefix, index, *, bell=False): 102 Equal(History.prefix, prefix) 107 prefix = '' 109 test(True, line2, prefix, 1) 110 test(True, line1, prefix, 0) 111 test(True, prefix, Non [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
H A D | AffixMatcher.java | 22 private final AffixPatternMatcher prefix; field in AffixMatcher 28 * suffixes, ensuring that the longest prefix/suffix pair is always chosen. 33 if (length(lhs.prefix) != length(rhs.prefix)) { 34 return length(lhs.prefix) > length(rhs.prefix) ? -1 : 1; 38 // If the prefix and suffix are the same length, arbitrarily break ties. 119 AffixPatternMatcher prefix = AffixPatternMatcher in createMatchers() 135 posPrefix = prefix; in createMatchers() 137 } else if (Objects.equals(prefix, posPrefi in createMatchers() 164 getInstance( AffixPatternMatcher prefix, AffixPatternMatcher suffix, int flags) getInstance() argument 172 AffixMatcher(AffixPatternMatcher prefix, AffixPatternMatcher suffix, int flags) AffixMatcher() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/ |
H A D | AffixMatcher.java | 24 private final AffixPatternMatcher prefix; field in AffixMatcher 30 * suffixes, ensuring that the longest prefix/suffix pair is always chosen. 35 if (length(lhs.prefix) != length(rhs.prefix)) { 36 return length(lhs.prefix) > length(rhs.prefix) ? -1 : 1; 40 // If the prefix and suffix are the same length, arbitrarily break ties. 119 AffixPatternMatcher prefix = AffixPatternMatcher in createMatchers() 133 posPrefix = prefix; in createMatchers() 135 } else if (Objects.equals(prefix, posPrefi in createMatchers() 162 getInstance( AffixPatternMatcher prefix, AffixPatternMatcher suffix, int flags) getInstance() argument 170 AffixMatcher(AffixPatternMatcher prefix, AffixPatternMatcher suffix, int flags) AffixMatcher() argument [all...] |
/third_party/node/test/fixtures/wpt/resources/ |
H A D | check-layout-th.js | 5 function checkSubtreeExpectedValues(t, parent, prefix) 7 var checkedLayout = checkExpectedValues(t, parent, prefix); 9 checkedLayout |= checkSubtreeExpectedValues(t, node, prefix); 54 // Use "data-test" prefix if you need custom-named data elements. 61 function checkExpectedValues(t, node, prefix) 68 assert_tolerance(node.offsetWidth, expectedWidth, prefix + "width"); 73 assert_tolerance(node.offsetHeight, expectedHeight, prefix + "height"); 78 assert_tolerance(node.offsetLeft, expectedOffset, prefix + "offsetLeft"); 83 assert_tolerance(node.offsetTop, expectedOffset, prefix + "offsetTop"); 88 assert_tolerance(node.clientWidth, expectedWidth, prefix [all...] |
/third_party/node/lib/internal/crypto/ |
H A D | webcrypto.js | 68 const prefix = "Failed to execute 'digest' on 'SubtleCrypto'"; 69 webidl.requiredArguments(arguments.length, 2, { prefix }); 71 prefix, 75 prefix, 96 const prefix = "Failed to execute 'generateKey' on 'SubtleCrypto'"; 97 webidl.requiredArguments(arguments.length, 3, { prefix }); 99 prefix, 103 prefix, 107 prefix, 180 const prefix [all...] |
/third_party/python/Modules/ |
H A D | getpath.py | 63 # If None, 'prefix' and 'exec_prefix' may be updated in config 80 # (prefix), containing the common .py and .pyc files, and the platform 82 # modules. Note that prefix and exec_prefix can be the same directory, 85 # This script carries out separate searches for prefix and exec_prefix. 87 # file or directory is found. If no prefix or exec_prefix is found, a 112 # performed for prefix and for exec_prefix, but with different landmarks. 116 # property to override the executable dir used later for prefix searches. 133 # prefix is then found by searching up for a file that should only 134 # exist in the source tree, and the stdlib dir is set to prefix/Lib. 138 # is assumed to point to prefix an 223 prefix = config.get('prefix') global() variable 519 prefix = build_stdlib_prefix global() variable 559 prefix = library_dir global() variable 561 prefix = search_up(library_dir, ZIP_LANDMARK) global() variable 564 prefix = library_dir global() variable 573 prefix = executable_dir global() variable 575 prefix = search_up(executable_dir, ZIP_LANDMARK) global() variable 584 prefix = search_up(executable_dir, *STDLIB_LANDMARKS) global() variable 589 prefix = PREFIX global() variable 594 prefix = abspath('') global() variable 746 prefix = config.get('prefix') or PREFIX global() variable [all...] |
/third_party/elfutils/backends/ |
H A D | ia64_regs.c | 42 const char **prefix, const char **setname, in ia64_register_info() 51 *prefix = "ar."; in ia64_register_info() 62 *prefix = ""; in ia64_register_info() 71 *prefix = ""; in ia64_register_info() 81 *prefix = ""; in ia64_register_info() 91 *prefix = ""; in ia64_register_info() 100 *prefix = ""; in ia64_register_info() 112 *prefix = ""; in ia64_register_info() 121 *prefix = ""; in ia64_register_info() 131 *prefix in ia64_register_info() 40 ia64_register_info(Ebl *ebl __attribute__ ((unused)), int regno, char *name, size_t namelen, const char **prefix, const char **setname, int *bits, int *type) ia64_register_info() argument [all...] |
/third_party/node/src/permission/ |
H A D | fs_permission.h | 23 std::string prefix; member 28 : prefix(pre), wildcard_child(nullptr) {} in Node() 32 Node* CreateChild(std::string prefix) { in CreateChild() 33 char label = prefix[0]; in CreateChild() 37 children[label] = new Node(prefix); in CreateChild() 41 // swap prefix in CreateChild() 43 unsigned int prefix_len = prefix.length(); in CreateChild() 44 for (; i < child->prefix.length(); ++i) { in CreateChild() 45 if (i > prefix_len || prefix[i] != child->prefix[ in CreateChild() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dnxhddata.h | 66 static av_always_inline uint64_t ff_dnxhd_check_header_prefix_hr(uint64_t prefix) in ff_dnxhd_check_header_prefix_hr() argument 68 uint64_t data_offset = prefix >> 16; in ff_dnxhd_check_header_prefix_hr() 69 if ((prefix & 0xFFFF0000FFFFLL) == 0x0300 && in ff_dnxhd_check_header_prefix_hr() 72 return prefix; in ff_dnxhd_check_header_prefix_hr() 76 static av_always_inline uint64_t ff_dnxhd_check_header_prefix(uint64_t prefix) in ff_dnxhd_check_header_prefix() argument 78 if (prefix == DNXHD_HEADER_INITIAL || in ff_dnxhd_check_header_prefix() 79 prefix == DNXHD_HEADER_444 || in ff_dnxhd_check_header_prefix() 80 ff_dnxhd_check_header_prefix_hr(prefix)) in ff_dnxhd_check_header_prefix() 81 return prefix; in ff_dnxhd_check_header_prefix() 87 uint64_t prefix in ff_dnxhd_parse_header_prefix() local [all...] |
/third_party/libabigail/tests/ |
H A D | test-ir-walker.cc | 74 string prefix; in build_level_prefix() local 75 build_level_prefix(prefix); in build_level_prefix() 76 return prefix; in build_level_prefix() 82 string prefix = build_level_prefix(); in visit_begin() local 84 cout << prefix << ns->get_pretty_representation() << "\n" in visit_begin() 85 << prefix << "{\n"; in visit_begin() 93 string prefix = build_level_prefix(); in visit_end() local 94 cout << prefix << "}\n"; in visit_end() local 102 string prefix = build_level_prefix(); in visit_begin() local 104 cout << prefix << klas in visit_begin() 113 string prefix = build_level_prefix(); visit_end() local 114 cout << prefix << "}\\n"; visit_end() local 122 string prefix = build_level_prefix(); visit_begin() local 138 string prefix = build_level_prefix(); visit_begin() local [all...] |
/third_party/node/deps/npm/node_modules/console-control-strings/ |
H A D | index.js | 5 var prefix = '\x1b[' 8 return prefix + (num || '') + 'A' 12 return prefix + (num || '') + 'B' 16 return prefix + (num || '') + 'C' 20 return prefix + (num || '') + 'D' 24 return prefix + (num || '') + 'E' 28 return prefix + (num || '') + 'F' 33 return prefix + num + 'G' 37 return prefix + 'J' 41 return prefix [all...] |
/third_party/python/Lib/lib2to3/fixes/ |
H A D | fix_idioms.py | 103 x.prefix = "" 104 T.prefix = " " 107 test.prefix = " " 109 test.prefix = node.prefix 114 one.replace(Name("True", prefix=one.prefix)) 123 list_call.replace(Name("sorted", prefix=list_call.prefix)) 126 new.prefix [all...] |
H A D | fix_ws_comma.py | 29 prefix = child.prefix 30 if prefix.isspace() and "\n" not in prefix: 31 child.prefix = "" 35 prefix = child.prefix 36 if not prefix: 37 child.prefix = " "
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | ConstantAffixModifier.java | 10 * The canonical implementation of {@link Modifier}, containing a prefix and suffix string. 14 // TODO: Avoid making a new instance by default if prefix and suffix are empty 17 private final String prefix; field in ConstantAffixModifier 29 * @param prefix 30 * The prefix string. 39 public ConstantAffixModifier(String prefix, String suffix, Field field, boolean strong) { in ConstantAffixModifier() argument 41 // TODO: Consider returning a null modifier if both prefix and suffix are empty. in ConstantAffixModifier() 42 this.prefix = (prefix == null ? "" : prefix); in ConstantAffixModifier() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
H A D | ConstantAffixModifier.java | 11 * The canonical implementation of {@link Modifier}, containing a prefix and suffix string. 16 // TODO: Avoid making a new instance by default if prefix and suffix are empty 19 private final String prefix; field in ConstantAffixModifier 31 * @param prefix 32 * The prefix string. 41 public ConstantAffixModifier(String prefix, String suffix, Field field, boolean strong) { in ConstantAffixModifier() argument 43 // TODO: Consider returning a null modifier if both prefix and suffix are empty. in ConstantAffixModifier() 44 this.prefix = (prefix == null ? "" : prefix); in ConstantAffixModifier() [all...] |
/third_party/python/Lib/idlelib/ |
H A D | history.py | 10 fetch - Fetch stored statement matching prefix already entered. 19 .prefix - source already entered at prompt; filters history list. 25 self.prefix = None 44 Set prefix and pointer as needed for successive fetches. 51 prefix = self.prefix 52 if pointer is not None and prefix is not None: 55 pointer = prefix = None 57 if pointer is None or prefix is None: 58 prefix [all...] |
/third_party/musl/porting/linux/user/src/hook/ |
H A D | musl_preinit.c | 177 static bool init_malloc_function(void* malloc_shared_library_handler, MallocMallocType* func, const char* prefix) in init_malloc_function() argument 180 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, "malloc"); in init_malloc_function() 188 static bool init_free_function(void* malloc_shared_library_handler, MallocFreeType* func, const char* prefix) in init_free_function() argument 191 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, "free"); in init_free_function() 199 static bool init_mmap_function(void* malloc_shared_library_handler, MallocMmapType* func, const char* prefix) in init_mmap_function() argument 202 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, "mmap"); in init_mmap_function() 210 static bool init_munmap_function(void* malloc_shared_library_handler, MallocMunmapType* func, const char* prefix) in init_munmap_function() argument 213 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, "munmap"); in init_munmap_function() 221 static bool init_memtrace_function(void* malloc_shared_library_handler, MemTrace* func, const char* prefix) in init_memtrace_function() argument 224 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, "memtrac in init_memtrace_function() 232 init_calloc_function(void* malloc_shared_library_handler, MallocCallocType* func, const char* prefix) init_calloc_function() argument 243 init_realloc_function(void* malloc_shared_library_handler, MallocReallocType* func, const char* prefix) init_realloc_function() argument 254 init_malloc_usable_size_function(void* malloc_shared_library_handler, MallocMallocUsableSizeType* func, const char* prefix) init_malloc_usable_size_function() argument 265 init_prctl_function(void* malloc_shared_library_handler, MallocPrctlType* func, const char* prefix) init_prctl_function() argument 276 init_aligned_alloc_function(void* malloc_shared_library_handler, MallocAlignedAllocType* func, const char* prefix) init_aligned_alloc_function() argument 310 init_hook_functions(void* shared_library_handler, struct MallocDispatchType* table, const char* prefix) init_hook_functions() argument 357 init_malloc_hook_shared_library(void* shared_library_handle, const char* shared_lib, const char* prefix, struct MallocDispatchType* dispatch_table) init_malloc_hook_shared_library() argument 394 load_malloc_hook_shared_library(const char* shared_lib, const char* prefix, struct MallocDispatchType* dispatch_table) load_malloc_hook_shared_library() argument 428 finish_install_ohos_malloc_hooks(struct musl_libc_globals* globals, const char* options, const char* prefix, void* shared_library_handle) finish_install_ohos_malloc_hooks() argument 472 install_ohos_malloc_hook(struct musl_libc_globals* globals, const char* shared_lib, const char* prefix) install_ohos_malloc_hook() argument [all...] |
/third_party/musl/src/hook/linux/ |
H A D | musl_preinit.c | 192 static bool init_malloc_function(void* malloc_shared_library_handler, MallocMallocType* func, const char* prefix) in init_malloc_function() argument 195 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, "malloc"); in init_malloc_function() 203 static bool init_free_function(void* malloc_shared_library_handler, MallocFreeType* func, const char* prefix) in init_free_function() argument 206 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, "free"); in init_free_function() 214 static bool init_mmap_function(void* malloc_shared_library_handler, MallocMmapType* func, const char* prefix) in init_mmap_function() argument 217 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, "mmap"); in init_mmap_function() 225 static bool init_munmap_function(void* malloc_shared_library_handler, MallocMunmapType* func, const char* prefix) in init_munmap_function() argument 228 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, "munmap"); in init_munmap_function() 236 static bool init_memtrace_function(void* malloc_shared_library_handler, MemTrace* func, const char* prefix) in init_memtrace_function() argument 239 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, "memtrac in init_memtrace_function() 247 init_calloc_function(void* malloc_shared_library_handler, MallocCallocType* func, const char* prefix) init_calloc_function() argument 258 init_realloc_function(void* malloc_shared_library_handler, MallocReallocType* func, const char* prefix) init_realloc_function() argument 269 init_malloc_usable_size_function(void* malloc_shared_library_handler, MallocMallocUsableSizeType* func, const char* prefix) init_malloc_usable_size_function() argument 280 init_prctl_function(void* malloc_shared_library_handler, MallocPrctlType* func, const char* prefix) init_prctl_function() argument 291 init_aligned_alloc_function(void* malloc_shared_library_handler, MallocAlignedAllocType* func, const char* prefix) init_aligned_alloc_function() argument 324 init_hook_functions(void* shared_library_handler, struct MallocDispatchType* table, const char* prefix) init_hook_functions() argument 371 init_malloc_hook_shared_library(void* shared_library_handle, const char* shared_lib, const char* prefix, struct MallocDispatchType* dispatch_table) init_malloc_hook_shared_library() argument 408 load_malloc_hook_shared_library(const char* shared_lib, const char* prefix, struct MallocDispatchType* dispatch_table) load_malloc_hook_shared_library() argument 442 finish_install_ohos_malloc_hooks(struct musl_libc_globals* globals, const char* options, const char* prefix, void* shared_library_handle) finish_install_ohos_malloc_hooks() argument 486 install_ohos_malloc_hook(struct musl_libc_globals* globals, const char* shared_lib, const char* prefix) install_ohos_malloc_hook() argument [all...] |
/third_party/ltp/testcases/lib/ |
H A D | tst_net_vars.c | 90 static struct in_addr prefix2mask(unsigned int prefix) in prefix2mask() argument 96 if (prefix) in prefix2mask() 97 mask.s_addr = htonl(~((1 << (32 - prefix)) - 1)); in prefix2mask() 143 static char *get_ipv4_netmask(unsigned int prefix) in get_ipv4_netmask() argument 146 struct in_addr mask = prefix2mask(prefix); in get_ipv4_netmask() 148 if (prefix > MAX_IPV4_PREFIX) in get_ipv4_netmask() 161 static char *get_ipv6_netmask(unsigned int prefix) in get_ipv6_netmask() argument 167 if (prefix > MAX_IPV6_PREFIX) in get_ipv6_netmask() 171 for (i = prefix, j = 0; i > 0; i -= 8, j++) { in get_ipv6_netmask() 188 static char *get_ipv4_broadcast(struct in_addr ip, unsigned int prefix) in get_ipv4_broadcast() argument 208 get_ipv4_net16_unused(const struct in_addr *ip, unsigned int prefix) get_ipv4_net16_unused() argument 261 get_ipv6_net32_unused(const struct in6_addr *ip6, unsigned int prefix) get_ipv6_net32_unused() argument 321 get_ipv6_network(const unsigned char *a0, unsigned int prefix) get_ipv6_network() argument 444 check_prefix_range(unsigned int prefix, int is_ipv6, int is_lhost) check_prefix_range() argument 461 get_ipv4_network(int ip, unsigned int prefix) get_ipv4_network() argument 490 round_down_prefix(unsigned int prefix, int is_ipv6) round_down_prefix() argument [all...] |
/third_party/python/Include/cpython/ |
H A D | genobject.h | 14 #define _PyGenObject_HEAD(prefix) \ 17 PyCodeObject *prefix##_code; \ 19 PyObject *prefix##_weakreflist; \ 21 PyObject *prefix##_name; \ 23 PyObject *prefix##_qualname; \ 24 _PyErr_StackItem prefix##_exc_state; \ 25 PyObject *prefix##_origin_or_finalizer; \ 26 char prefix##_hooks_inited; \ 27 char prefix##_closed; \ 28 char prefix##_running_asyn [all...] |
/third_party/skia/third_party/externals/angle2/third_party/logdog/logdog/ |
H A D | streamname.py | 55 def normalize_segment(seg, prefix=None): 62 case, we will prefix it with the "prefix", if one is supplied. Otherwise, 71 if prefix is None: 72 raise ValueError('Cannot normalize empty segment with no prefix.') 73 seg = prefix 79 if prefix is None: 80 raise ValueError('Segment has invalid beginning, and no prefix was ' 82 return prefix + ret 93 def normalize(v, prefix [all...] |
/third_party/curl/tests/ |
H A D | test1275.pl | 70 my ($prefix, $word) = ($1, $2); 72 my $c = length($prefix); 82 my ($prefix, $word) = ($1, $2); 84 if(($prefix =~ /\.\.\z/) || 85 ($prefix =~ /[0-9]\z/) || 86 ($prefix =~ /e.g\z/) || 87 ($prefix =~ /i.e\z/) || 88 ($prefix =~ /E.g\z/) || 89 ($prefix =~ /etc\z/) || 94 my $c = length($prefix) [all...] |
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
H A D | Trie.java | 15 * Trie constructed by adding "spans" of data representing prefix 18 * <p>When a prefix needs to be added to a Trie, a new span is created to 20 * the current prefix data is committed to the underlying Trie as its key. 26 * (prefix, subValues) -> trie.root().with(prefix, subSpan -> process(subSpan, subValues)); 34 * <p>Since spans share a common buffer for prefix data, it is important 51 // The index *after* the last prefix was added. 59 // An extended span with the given prefix included. 60 private Span(int index, String prefix) { in Span() argument 62 checkState(!prefix in Span() 86 with(String prefix, Consumer<Span> withFn) with() argument [all...] |