/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/analysisd/format/ |
H A D | to_json.c | 134 if (lf->md5_before && lf->md5_after && strcmp(lf->md5_before, lf->md5_after) != 0 ) { in Eventinfo_to_jsonstr() 138 if(lf->sha1_before && lf->sha1_after && strcmp(lf->sha1_before, lf->sha1_after) != 0) { in Eventinfo_to_jsonstr() 142 if(lf->owner_before && lf->owner_after && strcmp(lf->owner_before, lf->owner_after) != 0) { in Eventinfo_to_jsonstr() 146 … if(lf->gowner_before && lf->gowner_after && strcmp(lf->gowner_before, lf->gowner_after) != 0) { in Eventinfo_to_jsonstr() 150 if(lf->perm_before && lf->perm_after && (lf->perm_before != lf->perm_after)) { in Eventinfo_to_jsonstr() 274 if (lf->md5_before && lf->md5_after && (strcmp(lf->md5_before, lf->md5_after) != 0)) { in Archiveinfo_to_jsonstr() 278 if (lf->sha1_before && lf->sha1_after && !(strcmp(lf->sha1_before, lf->sha1_after) != 0)) { in Archiveinfo_to_jsonstr() 282 … if (lf->owner_before && lf->owner_after && !(strcmp(lf->owner_before, lf->owner_after) != 0)) { in Archiveinfo_to_jsonstr() 286 …if (lf->gowner_before && lf->gowner_after && !(strcmp(lf->gowner_before, lf->gowner_after) != 0)) { in Archiveinfo_to_jsonstr() 290 if (lf->perm_before && lf->perm_after && lf->perm_before != lf->perm_after) { in Archiveinfo_to_jsonstr() [all …]
|
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/analysisd/format/ |
H A D | to_json.c | 134 if (lf->md5_before && lf->md5_after && strcmp(lf->md5_before, lf->md5_after) != 0 ) { in Eventinfo_to_jsonstr() 138 if(lf->sha1_before && lf->sha1_after && strcmp(lf->sha1_before, lf->sha1_after) != 0) { in Eventinfo_to_jsonstr() 142 if(lf->owner_before && lf->owner_after && strcmp(lf->owner_before, lf->owner_after) != 0) { in Eventinfo_to_jsonstr() 146 … if(lf->gowner_before && lf->gowner_after && strcmp(lf->gowner_before, lf->gowner_after) != 0) { in Eventinfo_to_jsonstr() 150 if(lf->perm_before && lf->perm_after && (lf->perm_before != lf->perm_after)) { in Eventinfo_to_jsonstr() 274 if (lf->md5_before && lf->md5_after && (strcmp(lf->md5_before, lf->md5_after) != 0)) { in Archiveinfo_to_jsonstr() 278 if (lf->sha1_before && lf->sha1_after && !(strcmp(lf->sha1_before, lf->sha1_after) != 0)) { in Archiveinfo_to_jsonstr() 282 … if (lf->owner_before && lf->owner_after && !(strcmp(lf->owner_before, lf->owner_after) != 0)) { in Archiveinfo_to_jsonstr() 286 …if (lf->gowner_before && lf->gowner_after && !(strcmp(lf->gowner_before, lf->gowner_after) != 0)) { in Archiveinfo_to_jsonstr() 290 if (lf->perm_before && lf->perm_after && lf->perm_before != lf->perm_after) { in Archiveinfo_to_jsonstr() [all …]
|
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/analysisd/format/ |
H A D | to_json.c | 134 if (lf->md5_before && lf->md5_after && strcmp(lf->md5_before, lf->md5_after) != 0 ) { in Eventinfo_to_jsonstr() 138 if(lf->sha1_before && lf->sha1_after && strcmp(lf->sha1_before, lf->sha1_after) != 0) { in Eventinfo_to_jsonstr() 142 if(lf->owner_before && lf->owner_after && strcmp(lf->owner_before, lf->owner_after) != 0) { in Eventinfo_to_jsonstr() 146 … if(lf->gowner_before && lf->gowner_after && strcmp(lf->gowner_before, lf->gowner_after) != 0) { in Eventinfo_to_jsonstr() 150 if(lf->perm_before && lf->perm_after && (lf->perm_before != lf->perm_after)) { in Eventinfo_to_jsonstr() 274 if (lf->md5_before && lf->md5_after && (strcmp(lf->md5_before, lf->md5_after) != 0)) { in Archiveinfo_to_jsonstr() 278 if (lf->sha1_before && lf->sha1_after && !(strcmp(lf->sha1_before, lf->sha1_after) != 0)) { in Archiveinfo_to_jsonstr() 282 … if (lf->owner_before && lf->owner_after && !(strcmp(lf->owner_before, lf->owner_after) != 0)) { in Archiveinfo_to_jsonstr() 286 …if (lf->gowner_before && lf->gowner_after && !(strcmp(lf->gowner_before, lf->gowner_after) != 0)) { in Archiveinfo_to_jsonstr() 290 if (lf->perm_before && lf->perm_after && lf->perm_before != lf->perm_after) { in Archiveinfo_to_jsonstr() [all …]
|
/dports/net-mgmt/nagios-check_bacula11/bacula-11.0.5/src/lib/ |
H A D | lex.c | 38 char *ch = lf->line+lf->col_no; in lex_check_eol() 313 lf->ch = (uint8_t)lf->line[lf->col_no]; in lex_get_char() 356 lf->fname, lf->line_no, lf->begin_line_no); in add_str() 359 lf->str[lf->str_len] = 0; in add_str() 715 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 743 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 792 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 799 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 811 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 856 lf->pint64_val = scan_pint64(lf, lf->str); in lex_get_token() [all …]
|
/dports/net-mgmt/nagios-check_bacula9/bacula-9.6.7/src/lib/ |
H A D | lex.c | 38 char *ch = lf->line+lf->col_no; in lex_check_eol() 312 lf->ch = (uint8_t)lf->line[lf->col_no]; in lex_get_char() 355 lf->fname, lf->line_no, lf->begin_line_no); in add_str() 358 lf->str[lf->str_len] = 0; in add_str() 714 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 742 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 791 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 798 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 810 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 855 lf->pint64_val = scan_pint64(lf, lf->str); in lex_get_token() [all …]
|
/dports/sysutils/bacula11-client-static/bacula-11.0.5/src/lib/ |
H A D | lex.c | 38 char *ch = lf->line+lf->col_no; in lex_check_eol() 313 lf->ch = (uint8_t)lf->line[lf->col_no]; in lex_get_char() 356 lf->fname, lf->line_no, lf->begin_line_no); in add_str() 359 lf->str[lf->str_len] = 0; in add_str() 715 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 743 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 792 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 799 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 811 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 856 lf->pint64_val = scan_pint64(lf, lf->str); in lex_get_token() [all …]
|
/dports/sysutils/bacula9-client/bacula-9.6.7/src/lib/ |
H A D | lex.c | 38 char *ch = lf->line+lf->col_no; in lex_check_eol() 312 lf->ch = (uint8_t)lf->line[lf->col_no]; in lex_get_char() 355 lf->fname, lf->line_no, lf->begin_line_no); in add_str() 358 lf->str[lf->str_len] = 0; in add_str() 714 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 742 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 791 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 798 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 810 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 855 lf->pint64_val = scan_pint64(lf, lf->str); in lex_get_token() [all …]
|
/dports/sysutils/bacula9-client-static/bacula-9.6.7/src/lib/ |
H A D | lex.c | 38 char *ch = lf->line+lf->col_no; in lex_check_eol() 312 lf->ch = (uint8_t)lf->line[lf->col_no]; in lex_get_char() 355 lf->fname, lf->line_no, lf->begin_line_no); in add_str() 358 lf->str[lf->str_len] = 0; in add_str() 714 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 742 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 791 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 798 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 810 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 855 lf->pint64_val = scan_pint64(lf, lf->str); in lex_get_token() [all …]
|
/dports/sysutils/bacula11-server/bacula-11.0.5/src/lib/ |
H A D | lex.c | 38 char *ch = lf->line+lf->col_no; in lex_check_eol() 313 lf->ch = (uint8_t)lf->line[lf->col_no]; in lex_get_char() 356 lf->fname, lf->line_no, lf->begin_line_no); in add_str() 359 lf->str[lf->str_len] = 0; in add_str() 715 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 743 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 792 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 799 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 811 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 856 lf->pint64_val = scan_pint64(lf, lf->str); in lex_get_token() [all …]
|
/dports/sysutils/bacula9-server/bacula-9.6.7/src/lib/ |
H A D | lex.c | 38 char *ch = lf->line+lf->col_no; in lex_check_eol() 312 lf->ch = (uint8_t)lf->line[lf->col_no]; in lex_get_char() 355 lf->fname, lf->line_no, lf->begin_line_no); in add_str() 358 lf->str[lf->str_len] = 0; in add_str() 714 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 742 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 791 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 798 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 810 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 855 lf->pint64_val = scan_pint64(lf, lf->str); in lex_get_token() [all …]
|
/dports/sysutils/bacula11-client/bacula-11.0.5/src/lib/ |
H A D | lex.c | 38 char *ch = lf->line+lf->col_no; in lex_check_eol() 313 lf->ch = (uint8_t)lf->line[lf->col_no]; in lex_get_char() 356 lf->fname, lf->line_no, lf->begin_line_no); in add_str() 359 lf->str[lf->str_len] = 0; in add_str() 715 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 743 lf = lex_open_file(lf, lf->str, lf->scan_error); in lex_get_token() 792 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 799 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 811 lf->pint32_val = scan_pint(lf, lf->str); in lex_get_token() 856 lf->pint64_val = scan_pint64(lf, lf->str); in lex_get_token() [all …]
|
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/analysisd/alerts/ |
H A D | log.c | 74 lf->hostname != lf->location ? lf->hostname : "", in OS_Store() 87 if (lf->srcip && !lf->srcgeoip) { in OS_LogOutput() 90 if (lf->dstip && !lf->dstgeoip) { in OS_LogOutput() 108 lf->hostname != lf->location ? lf->hostname : "", in OS_LogOutput() 116 lf->srcip == NULL ? "" : lf->srcip, in OS_LogOutput() 132 lf->dstip == NULL ? "" : lf->dstip, in OS_LogOutput() 172 if (lf->srcip && !lf->srcgeoip) { in OS_Log() 175 if (lf->dstip && !lf->dstgeoip) { in OS_Log() 194 lf->hostname != lf->location ? lf->hostname : "", in OS_Log() 384 if (!lf->action || !lf->srcip || !lf->dstip || !lf->srcport || in FW_Log() [all …]
|
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/analysisd/alerts/ |
H A D | log.c | 74 lf->hostname != lf->location ? lf->hostname : "", in OS_Store() 87 if (lf->srcip && !lf->srcgeoip) { in OS_LogOutput() 90 if (lf->dstip && !lf->dstgeoip) { in OS_LogOutput() 108 lf->hostname != lf->location ? lf->hostname : "", in OS_LogOutput() 116 lf->srcip == NULL ? "" : lf->srcip, in OS_LogOutput() 132 lf->dstip == NULL ? "" : lf->dstip, in OS_LogOutput() 172 if (lf->srcip && !lf->srcgeoip) { in OS_Log() 175 if (lf->dstip && !lf->dstgeoip) { in OS_Log() 194 lf->hostname != lf->location ? lf->hostname : "", in OS_Log() 384 if (!lf->action || !lf->srcip || !lf->dstip || !lf->srcport || in FW_Log() [all …]
|
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/analysisd/alerts/ |
H A D | log.c | 74 lf->hostname != lf->location ? lf->hostname : "", in OS_Store() 87 if (lf->srcip && !lf->srcgeoip) { in OS_LogOutput() 90 if (lf->dstip && !lf->dstgeoip) { in OS_LogOutput() 108 lf->hostname != lf->location ? lf->hostname : "", in OS_LogOutput() 116 lf->srcip == NULL ? "" : lf->srcip, in OS_LogOutput() 132 lf->dstip == NULL ? "" : lf->dstip, in OS_LogOutput() 172 if (lf->srcip && !lf->srcgeoip) { in OS_Log() 175 if (lf->dstip && !lf->dstgeoip) { in OS_Log() 194 lf->hostname != lf->location ? lf->hostname : "", in OS_Log() 384 if (!lf->action || !lf->srcip || !lf->dstip || !lf->srcport || in FW_Log() [all …]
|
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/analysisd/ |
H A D | eventinfo.c | 27 Eventinfo *lf; in Search_LastSids() local 192 Eventinfo *lf; in Search_LastGroups() local 360 Eventinfo *lf; in Search_LastEvents() local 514 lf->id = NULL; in Zero_Eventinfo() 528 lf->time = 0; in Zero_Eventinfo() 531 lf->year = 0; in Zero_Eventinfo() 534 lf->day = 0; in Zero_Eventinfo() 560 if (!lf) { in Free_Eventinfo() 611 if (lf->id) { in Free_Eventinfo() 687 free(lf); in Free_Eventinfo() [all …]
|
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/analysisd/ |
H A D | eventinfo.c | 27 Eventinfo *lf; in Search_LastSids() local 192 Eventinfo *lf; in Search_LastGroups() local 360 Eventinfo *lf; in Search_LastEvents() local 514 lf->id = NULL; in Zero_Eventinfo() 528 lf->time = 0; in Zero_Eventinfo() 531 lf->year = 0; in Zero_Eventinfo() 534 lf->day = 0; in Zero_Eventinfo() 560 if (!lf) { in Free_Eventinfo() 611 if (lf->id) { in Free_Eventinfo() 687 free(lf); in Free_Eventinfo() [all …]
|
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/analysisd/ |
H A D | eventinfo.c | 27 Eventinfo *lf; in Search_LastSids() local 192 Eventinfo *lf; in Search_LastGroups() local 360 Eventinfo *lf; in Search_LastEvents() local 514 lf->id = NULL; in Zero_Eventinfo() 528 lf->time = 0; in Zero_Eventinfo() 531 lf->year = 0; in Zero_Eventinfo() 534 lf->day = 0; in Zero_Eventinfo() 560 if (!lf) { in Free_Eventinfo() 611 if (lf->id) { in Free_Eventinfo() 687 free(lf); in Free_Eventinfo() [all …]
|
/dports/sysutils/bareos-client/bareos-Release-20.0.3/core/src/lib/ |
H A D | lex.cc | 377 if (!lf->fd || bfgets(lf->line, lf->fd) == NULL) { in LexGetChar() 389 lf->ch = (uint8_t)lf->line[lf->col_no]; in LexGetChar() 426 lf->str[lf->str_len++] = ch; in add_str() 427 lf->str[lf->str_len] = 0; in add_str() 860 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 889 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 945 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 952 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 964 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 1027 lf->u.pint64_val = scan_pint64(lf, lf->str); in LexGetToken() [all …]
|
/dports/sysutils/bareos-traymonitor/bareos-Release-20.0.3/core/src/lib/ |
H A D | lex.cc | 377 if (!lf->fd || bfgets(lf->line, lf->fd) == NULL) { in LexGetChar() 389 lf->ch = (uint8_t)lf->line[lf->col_no]; in LexGetChar() 426 lf->str[lf->str_len++] = ch; in add_str() 427 lf->str[lf->str_len] = 0; in add_str() 860 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 889 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 945 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 952 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 964 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 1027 lf->u.pint64_val = scan_pint64(lf, lf->str); in LexGetToken() [all …]
|
/dports/sysutils/bareos-server/bareos-Release-20.0.3/core/src/lib/ |
H A D | lex.cc | 377 if (!lf->fd || bfgets(lf->line, lf->fd) == NULL) { in LexGetChar() 389 lf->ch = (uint8_t)lf->line[lf->col_no]; in LexGetChar() 426 lf->str[lf->str_len++] = ch; in add_str() 427 lf->str[lf->str_len] = 0; in add_str() 860 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 889 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 945 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 952 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 964 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 1027 lf->u.pint64_val = scan_pint64(lf, lf->str); in LexGetToken() [all …]
|
/dports/www/bareos-webui/bareos-Release-20.0.3/core/src/lib/ |
H A D | lex.cc | 377 if (!lf->fd || bfgets(lf->line, lf->fd) == NULL) { in LexGetChar() 389 lf->ch = (uint8_t)lf->line[lf->col_no]; in LexGetChar() 426 lf->str[lf->str_len++] = ch; in add_str() 427 lf->str[lf->str_len] = 0; in add_str() 860 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 889 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 945 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 952 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 964 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 1027 lf->u.pint64_val = scan_pint64(lf, lf->str); in LexGetToken() [all …]
|
/dports/sysutils/bareos19-traymonitor/bareos-Release-19.2.11/core/src/lib/ |
H A D | lex.cc | 380 if (!lf->fd || bfgets(lf->line, lf->fd) == NULL) { in LexGetChar() 392 lf->ch = (uint8_t)lf->line[lf->col_no]; in LexGetChar() 426 lf->str[lf->str_len++] = ch; in add_str() 427 lf->str[lf->str_len] = 0; in add_str() 804 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 833 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 889 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 896 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 908 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 971 lf->u.pint64_val = scan_pint64(lf, lf->str); in LexGetToken() [all …]
|
/dports/sysutils/bareos18-client/bareos-Release-18.2.12/core/src/lib/ |
H A D | lex.cc | 382 if (!lf->fd || bfgets(lf->line, lf->fd) == NULL) { in LexGetChar() 396 lf->ch = (uint8_t)lf->line[lf->col_no]; in LexGetChar() 430 lf->str[lf->str_len++] = ch; in add_str() 431 lf->str[lf->str_len] = 0; in add_str() 784 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 812 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 867 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 874 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 886 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 949 lf->u.pint64_val = scan_pint64(lf, lf->str); in LexGetToken() [all …]
|
/dports/sysutils/bareos19-client/bareos-Release-19.2.11/core/src/lib/ |
H A D | lex.cc | 380 if (!lf->fd || bfgets(lf->line, lf->fd) == NULL) { in LexGetChar() 392 lf->ch = (uint8_t)lf->line[lf->col_no]; in LexGetChar() 426 lf->str[lf->str_len++] = ch; in add_str() 427 lf->str[lf->str_len] = 0; in add_str() 804 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 833 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 889 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 896 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 908 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 971 lf->u.pint64_val = scan_pint64(lf, lf->str); in LexGetToken() [all …]
|
/dports/sysutils/bareos18-traymonitor/bareos-Release-18.2.12/core/src/lib/ |
H A D | lex.cc | 382 if (!lf->fd || bfgets(lf->line, lf->fd) == NULL) { in LexGetChar() 396 lf->ch = (uint8_t)lf->line[lf->col_no]; in LexGetChar() 430 lf->str[lf->str_len++] = ch; in add_str() 431 lf->str[lf->str_len] = 0; in add_str() 784 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 812 lf = lex_open_file(lf, lf->str, lf->ScanError, lf->scan_warning); in LexGetToken() 867 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 874 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 886 lf->u.pint32_val = scan_pint(lf, lf->str); in LexGetToken() 949 lf->u.pint64_val = scan_pint64(lf, lf->str); in LexGetToken() [all …]
|