MCPcopy Create free account

hub / github.com/NICUP14/MiniLang / functions

Functions512 in github.com/NICUP14/MiniLang

↓ 4 callersMethoddeclare
(self, full_name: str, var_type: VariableType, elem_ckind: VariableCompKind = default_ckind, elem_cnt: int = 0
src/Parser.py:2474
↓ 4 callersFunctionfull_name_of_fun
(name: str, force_global: bool = False, exhaustive_match: bool = True)
src/Def.py:513
↓ 4 callersMethodfun_declaration
(self, is_extern: bool = False, in_generic: bool = False, is_sig: bool = False)
src/Parser.py:1819
↓ 4 callersFunctiongc_hash
skel/include/gc.c:195
↓ 4 callersFunctiongc_hash
tests/aoc-2022/day-2/include/gc.c:195
↓ 4 callersFunctiongc_hash
tests/aoc-2022/day-1/include/gc.c:195
↓ 4 callersFunctionlabel
()
src/Gen.py:40
↓ 4 callersMethodload
(self)
src/Def.py:364
↓ 4 callersMethodmerge_fun_call
(self, node: Node)
src/Parser.py:466
↓ 4 callersFunctionnext_prime
skel/include/gc.c:67
↓ 4 callersFunctionnext_prime
tests/aoc-2022/day-2/include/gc.c:67
↓ 4 callersFunctionnext_prime
tests/aoc-2022/day-1/include/gc.c:67
↓ 4 callersMethodparse
(self, source: str = '')
src/Parser.py:185
↓ 4 callersFunctionprint_warning
(loc: str, msg: str, parser=None, node=None)
src/Def.py:414
↓ 4 callersMethodstatement
(self, add_predef: bool = True)
src/Parser.py:1236
↓ 4 callersFunctiontree_str
(node: Node, parent: Node = None, cnt: int = 0)
src/GenStr.py:44
↓ 3 callersMethod_fun_call
(self, fun_name: str, node_stack: List[Node], check_len: bool = True, is_sig: bool = False)
src/Parser.py:706
↓ 3 callersMethoddeclaration
(self, is_struct: bool = False)
src/Parser.py:2591
↓ 3 callersFunctionfun_call_tree_str
(node: Node, func)
src/backend/Walker.py:18
↓ 3 callersFunctiongc_allocation_delete
* Delete an allocation object. * * Deletes the allocation object pointed to by `a`, but does *not* * free the memory pointed to by `a->ptr`. * *
skel/include/gc.c:117
↓ 3 callersFunctiongc_allocation_delete
* Delete an allocation object. * * Deletes the allocation object pointed to by `a`, but does *not* * free the memory pointed to by `a->ptr`. * *
tests/aoc-2022/day-2/include/gc.c:117
↓ 3 callersFunctiongc_allocation_delete
* Delete an allocation object. * * Deletes the allocation object pointed to by `a`, but does *not* * free the memory pointed to by `a->ptr`. * *
tests/aoc-2022/day-1/include/gc.c:117
↓ 3 callersFunctiongc_allocation_map_put
skel/include/gc.c:258
↓ 3 callersFunctiongc_allocation_map_put
tests/aoc-2022/day-2/include/gc.c:258
↓ 3 callersFunctiongc_allocation_map_put
tests/aoc-2022/day-1/include/gc.c:258
↓ 3 callersFunctiongc_allocation_map_remove
skel/include/gc.c:302
↓ 3 callersFunctiongc_allocation_map_remove
tests/aoc-2022/day-2/include/gc.c:302
↓ 3 callersFunctiongc_allocation_map_remove
tests/aoc-2022/day-1/include/gc.c:302
↓ 3 callersFunctiongc_allocation_map_resize_to_fit
skel/include/gc.c:227
↓ 3 callersFunctiongc_allocation_map_resize_to_fit
tests/aoc-2022/day-2/include/gc.c:227
↓ 3 callersFunctiongc_allocation_map_resize_to_fit
tests/aoc-2022/day-1/include/gc.c:227
↓ 3 callersFunctiongen_write_var
(opd: Operand)
src/Gen.py:243
↓ 3 callersMethodinject_cond
(self, node: Node)
src/Parser.py:1425
↓ 3 callersFunctionis_generic
(sig: FunctionSignature)
src/Def.py:1321
↓ 3 callersFunctionrev_type_of_ident
(name: str)
src/Def.py:607
↓ 3 callersFunctionsdsReqType
skel/include/sds.c:60
↓ 3 callersFunctionsdsReqType
tests/aoc-2022/day-2/include/sds.c:60
↓ 3 callersFunctionsdsReqType
tests/aoc-2022/day-1/include/sds.c:60
↓ 3 callersFunctionsdscat
Append the specified null termianted C string to the sds string 's'. * * After the call, the passed sds string is no longer valid and all the * ref
skel/include/sds.c:413
↓ 3 callersFunctionsdscat
Append the specified null termianted C string to the sds string 's'. * * After the call, the passed sds string is no longer valid and all the * ref
tests/aoc-2022/day-2/include/sds.c:413
↓ 3 callersFunctionsdscat
Append the specified null termianted C string to the sds string 's'. * * After the call, the passed sds string is no longer valid and all the * ref
tests/aoc-2022/day-1/include/sds.c:413
↓ 3 callersFunctionsdscmp
Compare two sds strings s1 and s2 with memcmp(). * * Return value: * * positive if s1 > s2. * negative if s1 < s2. * 0 if s1 and s2
skel/include/sds.c:807
↓ 3 callersFunctionsdscmp
Compare two sds strings s1 and s2 with memcmp(). * * Return value: * * positive if s1 > s2. * negative if s1 < s2. * 0 if s1 and s2
tests/aoc-2022/day-2/include/sds.c:807
↓ 3 callersFunctionsdscmp
Compare two sds strings s1 and s2 with memcmp(). * * Return value: * * positive if s1 > s2. * negative if s1 < s2. * 0 if s1 and s2
tests/aoc-2022/day-1/include/sds.c:807
↓ 3 callersFunctionsdstrim
Remove the part of the string from left and from right composed just of * contiguous characters found in 'cset', that is a null terminated C string.
skel/include/sds.c:725
↓ 3 callersFunctionsdstrim
Remove the part of the string from left and from right composed just of * contiguous characters found in 'cset', that is a null terminated C string.
tests/aoc-2022/day-2/include/sds.c:725
↓ 3 callersFunctionsdstrim
Remove the part of the string from left and from right composed just of * contiguous characters found in 'cset', that is a null terminated C string.
tests/aoc-2022/day-1/include/sds.c:725
↓ 3 callersMethodstruct_elem_declaration
(self, names: List[str], og_struct: Structure)
src/Parser.py:2441
↓ 3 callersFunctiontype_of_op
(kind: NodeKind, prev_type: Optional[VariableType] = None)
src/Def.py:825
↓ 2 callersMethod_gen_fun_call
(self, sig: FunctionSignature)
src/Parser.py:568
↓ 2 callersMethod_infer_gen_types
(self, sig: FunctionSignature, node: Node)
src/Parser.py:549
↓ 2 callersFunction_rev_type_of
(var_type: VariableType)
src/Def.py:950
↓ 2 callersFunction_sig_args_compat
(sig: FunctionSignature, sig2: FunctionSignature)
src/Def.py:937
↓ 2 callersFunction_sig_compat
(fun: Function, name: str)
src/Def.py:949
↓ 2 callersFunctionallowed_op
(ckind: VariableCompKind)
src/Def.py:982
↓ 2 callersFunctionarg_cnt
(node: Node)
src/Def.py:1272
↓ 2 callersFunctionc_rev_type_of_ident
(name: str)
src/backend/c/CDef.py:73
↓ 2 callersFunctioncmp_modf_of
(kind: NodeKind)
src/Def.py:1451
↓ 2 callersFunctioncompute_signature
(name: str, arg_types: List[VariableType])
src/Def.py:1406
↓ 2 callersMethodexpand_macro
(self, macro: Macro, node: Optional[Node])
src/Parser.py:495
↓ 2 callersFunctionfind_signature
(fun: Function, node: Node, use_gen: bool = True)
src/Def.py:1361
↓ 2 callersFunctiongc_allocate
skel/include/gc.c:347
↓ 2 callersFunctiongc_allocate
tests/aoc-2022/day-2/include/gc.c:347
↓ 2 callersFunctiongc_allocate
tests/aoc-2022/day-1/include/gc.c:347
↓ 2 callersFunctiongc_allocation_map_resize
skel/include/gc.c:200
↓ 2 callersFunctiongc_allocation_map_resize
tests/aoc-2022/day-2/include/gc.c:200
↓ 2 callersFunctiongc_allocation_map_resize
tests/aoc-2022/day-1/include/gc.c:200
↓ 2 callersFunctiongc_make_root
skel/include/gc.c:381
↓ 2 callersFunctiongc_make_root
tests/aoc-2022/day-2/include/gc.c:381
↓ 2 callersFunctiongc_make_root
tests/aoc-2022/day-1/include/gc.c:381
↓ 2 callersFunctiongc_malloc
skel/include/gc.c:389
↓ 2 callersFunctiongc_malloc
tests/aoc-2022/day-2/include/gc.c:389
↓ 2 callersFunctiongc_malloc
tests/aoc-2022/day-1/include/gc.c:389
↓ 2 callersFunctiongc_malloc_ext
skel/include/gc.c:407
↓ 2 callersFunctiongc_malloc_ext
tests/aoc-2022/day-2/include/gc.c:407
↓ 2 callersFunctiongc_malloc_ext
tests/aoc-2022/day-1/include/gc.c:407
↓ 2 callersFunctiongc_mark_alloc
skel/include/gc.c:505
↓ 2 callersFunctiongc_mark_alloc
tests/aoc-2022/day-2/include/gc.c:505
↓ 2 callersFunctiongc_mark_alloc
tests/aoc-2022/day-1/include/gc.c:505
↓ 2 callersFunctiongc_mcalloc
skel/include/gc.c:336
↓ 2 callersFunctiongc_mcalloc
tests/aoc-2022/day-2/include/gc.c:336
↓ 2 callersFunctiongc_mcalloc
tests/aoc-2022/day-1/include/gc.c:336
↓ 2 callersFunctiongc_run
skel/include/gc.c:625
↓ 2 callersFunctiongc_run
tests/aoc-2022/day-2/include/gc.c:625
↓ 2 callersFunctiongc_run
tests/aoc-2022/day-1/include/gc.c:625
↓ 2 callersFunctiongc_sweep
skel/include/gc.c:565
↓ 2 callersFunctiongc_sweep
tests/aoc-2022/day-2/include/gc.c:565
↓ 2 callersFunctiongc_sweep
tests/aoc-2022/day-1/include/gc.c:565
↓ 2 callersFunctiongen_fun_postamble
()
src/Gen.py:550
↓ 2 callersFunctiongen_reg_swap
(opd1: Operand, opd2: Operand)
src/Gen.py:52
↓ 2 callersFunctiongen_write_ref
(left_opd: Operand, right_opd: Operand, is_acc: bool = False)
src/Gen.py:267
↓ 2 callersFunctionget_counter
()
src/Def.py:1466
↓ 2 callersFunctionhas_indent
(kind: NodeKind)
src/GenStr.py:11
↓ 2 callersFunctionhas_indent
(kind: NodeKind)
src/backend/Walker.py:7
↓ 2 callersFunctionhas_semicolon
(kind: NodeKind)
src/backend/c/CDef.py:148
↓ 2 callersFunctionhex_digit_to_int
Helper function for sdssplitargs() that converts a hex digit into an * integer from 0 to 15 */
skel/include/sds.c:932
↓ 2 callersFunctionhex_digit_to_int
Helper function for sdssplitargs() that converts a hex digit into an * integer from 0 to 15 */
tests/aoc-2022/day-2/include/sds.c:932
↓ 2 callersFunctionhex_digit_to_int
Helper function for sdssplitargs() that converts a hex digit into an * integer from 0 to 15 */
tests/aoc-2022/day-1/include/sds.c:932
↓ 2 callersMethodinject_copy
(self, fun_name: str, node: Node)
src/Parser.py:602
↓ 2 callersMethodinject_destr
(self, full_name: str, sig_name: str, full_arg_names: List[str], arg_types: List[VariableType])
src/Parser.py:1776
← previousnext →101–200 of 512, ranked by callers